gwtd3 / gwt-d3

A GWT wrapper library around the d3.js library
Other
131 stars 53 forks source link

Documentation for non-Maven users #82

Closed anthonime closed 10 years ago

anthonime commented 11 years ago

Write documentation on how to create a project using gwt-d3 for non-maven users.

amadofakhry commented 11 years ago

Steps for creating a project using gwt-d3 for non-maven users: 1- Create a new gwt web application project, using eclipse 2- add the gwt-d3 jar to the war/WEB-INF/lib 3- add the gwt-d3 jar to the java build path: project - properties - java build path - libraries - add jar - select gwt-d3 jar and apply. 4- Add d3.js under war/js 5- Add a script to add the js in the head of the html file of the gwt project:

PS: Until now It is still obligatory for me to add the gwt-bootstrap.jar to the jars to prevent issue#80

anthonime commented 11 years ago

Which gwt-d3 jar are you using ?

The only valid jars you need : gwt-d3-api.jar gwt-d3-js.jar.

and you must get them from : http://search.maven.org/#search%7Cga%7C1%7Cgwt-d3

which are the official repo for the artifacts.

2013/10/1 amadofakhry notifications@github.com

Steps for creating a project using gwt-d3 for non-maven users: 1- Create a new gwt web application project, using eclipse 2- add the gwt-d3 jar to the war/WEB-INF/lib 3- add the gwt-d3 jar to the java build path: project - properties - java build path - libraries - add jar - select gwt-d3 jar and apply. 4- Add d3.js under war/js 5- Add a script to add the js in the head of the html file of the gwt project:

PS: Until now It is still obligatory for me to add the gwt-bootstrap.jar to the jars to prevent issue#80

— Reply to this email directly or view it on GitHubhttps://github.com/gwtd3/gwt-d3/issues/82#issuecomment-25443987 .

Anthoni Schiochet +33 (0)6 51 81 11 87

amadofakhry commented 11 years ago

I was using only the gwt-d3-api.jar I wasn't using the gwt-d3-js.jar after adding to the gwt-d3-js.jar, the com.github.gwtd3.js.PrettyJavascriptSource error I was having is gone. Thank you.