Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't access Eclipse ant plugin from command line.

 
Ste Davies
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have just installed the latest Eclipse and I need to set my environment variables so that 'ant' is recognized from the command line. As there is no bin folder or ant.bat in the Eclipse ant plugin, I've tried setting the ANT_HOME and PATH environmental variables to the lib and etc folders, but typing 'ant' into the command line returns: 'ant is not recognized'. Thanks for any help.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need ANT_HOME/bin in your PATH as well. You might have more luck installing Ant from scratch for the command line. Or at least following the instructions for doing so.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic