Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.
augbog edited this page Jul 16, 2013 · 8 revisions

Welcome to the gwt-d3 wiki!

How to Set Up on Eclipse

  1. Fork/Clone Local Repository to PC

  2. Log into Eclipse make sure you have the Maven Plugin installed

  1. Once installed, go to File > Import > Maven > Existing Maven Projects

  2. Navigate to root of local repository gwt-d3

  3. Begin to import (it should start going through the POM.xml and may take a minute or two)

How to run Demo

  1. After the projects have been successfully imported, you should have three folders in your Project Explorer: gwt-d3-api, gwt-d3-demo, gwt-d3-ui

  2. Right-click on gwt-d3-demo, go to Properties > Google > App Engine and check "Use Google App Engine" with default SDK selected. Do the same for Web Toolkit and check "Use Web Toolkit" but leave the specific SDK selected (it should be populated with something like \m2\repository\com\gwt - 2.51)

  3. Right above Web Toolkit, go to Web Application and check "This project has a WAR directory" and navigate your way to src/main/webapp. "webapp" is the WAR directory you want to select.

  4. Finally, go back to your project explorer and go to gwt-d3-demo > src > main > webapp. In there should be a D3Demo.html. Right-click it and to go Run As > Web Application. Make sure Development Mode is turned on and wait for it to load. A link will appear that looks something like this: http://127.0.0.1:8888/D3Demo.html?gwt.codesvr=127.0.0.1:9997. Right click the link and hit Open. After a few moments, it should load with the demos.

NOTE: This demo can also be viewed at http://gwt-d3.appspot.com/

Clone this wiki locally