Link to home
Start Free TrialLog in
Avatar of Lucinda08
Lucinda08Flag for United States of America

asked on

Configure project in eclipse

Hi
I try to configure project in eclipse. I followed this manual:
http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted
but I don't know how to this step:

$ applicationCreator -eclipse SimpleMaps -out SimpleMaps \
                 -addToClassPath /usr/local/gwt-maps/gwt-maps.jar \
                 -addModule com.google.gwt.maps.GoogleMaps \
                 com.example.google.gwt.mapstutorial.client.SimpleMaps
Is there any way to this in eclipse rather than in command line?

Avatar of Mick Barry
Mick Barry
Flag of Australia image

no it has to be done from command line

Avatar of Lucinda08

ASKER

But when I copy this to the command line I got error that command line is not recognized or it is incorrect.
Is the SimpleMaps name of the project?
do you have gwt installed?
make sure the gwt's bin directory is in your path

Yes, I installed this plugin: http://code.google.com/appengine/docs/java/tools/eclipse.html#Installing_the_Google_Plugin_for_Eclipse

and it suppose to have GWT.  Then I created application in eclipse according this: http://code.google.com/webtoolkit/gettingstarted.html#NewEclipse.

Now I am trying to create a new GWT Project. I downloaded the Google Maps Library for GWT.

I also make following steps:
 $ projectCreator -eclipse SimpleMaps -out SimpleMaps \
     -addToClassPath /usr/local/gwt-maps/gwt-maps.jar
in eclipse like this: Properties->Java Build Path-> Add External Jar. Is it a correct way? I don't really understand what those commends doing.  Are they creating project? I thought that I have to  create project before I use them.
I'd suggest not using the plugin if you want to follow the instruction as they are not written for using the plugin.

Yes that command creates your project


Is there any way to do this with the plugin?
the maps getting started appears a little bit out of date
if you're using the plugin then it looks like you can skip those steps and create your app using the plugin.
The instructions may be a little tricky to follow though as they do not match how you are using it


But this code :$ applicationCreator -eclipse SimpleMaps -out SimpleMaps \
                 -addToClassPath /usr/local/gwt-maps/gwt-maps.jar \
                 -addModule com.google.gwt.maps.GoogleMaps \
                 com.example.google.gwt.mapstutorial.client.SimpleMaps

also create some xml that I will need in text stage. So What I supose to do ?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial