Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant command, java command

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 "\\".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic