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

Invoking Ant on Ubuntu terminal : same commands as used on Windows doesnt work

 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I just installed ubuntu 10.10 and am setting up my dev environment, but I'm having trouble with Ant...
I usually had a bunch of bat files on my desktop that I use to start different configurations of jboss as well as another bunch to build different projects.
The .bat files usually invoked Ant like:



But now doing the same thing in Ubuntu's terminal, ant gives me the following error:



And a similar error for any type of parameter that I try invoke it with ie. -v OR -logfile

Please help !! I'd like to set up my env quickly!!

 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is the xxx.properties file always in the current directory?
The standard way to do things like this is to provide a default behaviour in the ~/.bashrc file as an alias
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh, and it is a space, there is no equals '='
 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, it was the equals sign that was causing the problems....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic