Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ant and Sun Tutorial  RSS feed

 
ayman Ab
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I downloaded the new sun J2EE tutorial ,and it requires the use of ANT from tomcat to build j2ee application
i did set the ANT_HOME to the ant destination but when i run the ant program it says either bad command or ANT_HOME is not set or can't find ant
i am using Windows me
Thanks
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sue ANT_HOME points to the directory containing the Ant package - not the lib directory.
In other words, you should see ant.jar in the listing when you type the command "DIR %ANT_HOME%\lib"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!