wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes ant command, java command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "ant command, java command" Watch "ant command, java command" New topic
Author

ant command, java command

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
A novice at using Ant, I am attempting to use the "ant" command, and instead am getting a list of java options one would get when using the "java" command with no options. In other words, when I enter "ant" and return, the result is the same as if I enter "java" and return. Any idea what might be causing this apparent mixup between ant and java? I have tried quite a few different things, and am stumped. I even moved the build.xml file etc into the apache\bin directory, and am getting the same result. Your help is much appreciated.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Soon after posting my message yesterday, I discovered that ant.bat was inserting a "\" in one of the filepaths that I was not expecting; this conflicted with one of my filepaths in an environment variable I created, so the filepath ant used had a "\\".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant command, java command
 
Similar Threads
ant command, java command
Tools.jar does not exist.Also where to create the build.xml file?
problem with ant scp and sshexec tasks
how to execute ejb3.0
weblogic.jspc thru command line(not thru ANT)