Ant devmode

440 views
Skip to first unread message

Phil8055

unread,
Dec 15, 2009, 6:51:43 PM12/15/09
to Google Web Toolkit
Hello:
I am completely new to the devlopment community and having trouble
getting started. The GWT setup instructions and tutorial.
In step 1, part2 (Testing the default project components) it says to:

Running the development mode code server (not from Eclipse)
webAppCreator creates an ant build file with a target for running the
application in development mode.
From the command line, change to the StockWatcher directory
Execute:
ant devmode

I run it in the command prompt and get this message: "ant" is not
recognized as an internal or external command, operable program or
batch file

Could anyone tell me what I need to do?

Thanks,

Philippe

Thomas Broyer

unread,
Dec 16, 2009, 9:15:52 AM12/16/09
to Google Web Toolkit
Install ant and/or setup your PATH environment variable.

Ant is available from http://ant.apache.org

But if you're a beginner, I'd recommend you use Eclipse with the
Google Plug-in for Eclipse.


N.B.: the Getting Started page [1] says, at the very bottom:
"""If you have not set up your development environment with the Java
SDK, a Java IDE such as Eclipse, and the latest distribution of Google
Web Toolkit, do that before you begin."""
With "before you begin" linking to the Tutorials page's Before You
Begin section [2], which in turn says:
"""If your Java IDE does not include Apache Ant support, you can
download and unzip Ant to easily compile and run GWT applications."""
With "Ant" linking to the above-mentioned http://ant.apache.org

[1] http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html
[2] http://code.google.com/webtoolkit/doc/latest/tutorial/index.html#prerequisites

Dewaz

unread,
Dec 25, 2009, 12:04:22 PM12/25/09
to Google Web Toolkit
I Gutess the Prob is u didn't add System Variables to do so
My Computer >> Properties >> Advanced >> Environment Variables
Create New Variable ANT_HOME directing it tow where you installed
apache ant and add path ;%ANT_HOME%/bin
Reply all
Reply to author
Forward
0 new messages