Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Invoking Ant on Ubuntu terminal : same commands as used on Windows doesnt work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Invoking Ant on Ubuntu terminal : same commands as used on Windows doesnt work" Watch "Invoking Ant on Ubuntu terminal : same commands as used on Windows doesnt work" New topic
Author

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

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

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!!


===>SCJP 1.5(72%)<===
==>SCWCD1.5(76%)<===
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Mar 06, 2001
Posts: 13459

oh, and it is a space, there is no equals '='
Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Thanks, it was the equals sign that was causing the problems....
 
wood burning stoves
 
subject: Invoking Ant on Ubuntu terminal : same commands as used on Windows doesnt work
 
Similar Threads
Ubuntu 11.10, Oneiric Ocelot, is out
Ant adding backslash before colons in database URL
RPM using Ant scripting
Scala Interpreter up-arrow repeat command not working
Netbeans 4.1: How do I set up multiple "run" tasks in 1 project?