Re: Problems while Installing Ant in fedora 9

2010-03-19 Thread Ankuj Gupta
Hi!! Even after changing the path to export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH I am getting the following error when I try to install ant using runant.pl But I received following error. java -classpath /usr/local/ant/lib/ant-launcher.jar -Dant.home=/usr/local/ant org.apache.tools.ant.laun

Re: Problems while Installing Ant in fedora 9

2010-03-19 Thread Scot P. Floess
I note from your PATH - you aren't adding $JAVA_HOME/bin to it... For example, export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/java/jdk1.6.0_18 export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH Note: the PATH statement includes both $JAVA_HOME/bin -and- $ANT_HOME/bin Might that be your prob

RE: Can I edit web.xml from an ANT script

2010-03-19 Thread Martin Gainty
Rob- take a look at ant's quite powerful and capable exec task just supply command line args Nota Bene: for windows you might have to precede the launch capability with cmd.exe /C "FullPathToYourTextEditor.exe" YMMV, Martin Gainty __ Verzicht und V

Problems while Installing Ant in fedora 9

2010-03-19 Thread Ankuj Gupta
Hi!!! I was trying to install Ant in Fedora 9 . I had set the following environment variables export ANT_HOME=/usr/local/ant # export JAVA_HOME=/usr/java/jdk1.6.0_18/ # export PATH=${PATH}:${ANT_HOME}/bin # runant.pl But I received following error. java -classpath /usr/local/ant/lib/ant-launcher.

RE: 1.8.0 Bug? Target passed to ant sub-tasks

2010-03-19 Thread Taylor, Martin
That fixes it! Thanks very much, Martin > -Original Message- > From: Antoine Levy Lambert [mailto:anto...@gmx.de] > Sent: Friday, March 19, 2010 12:25 PM > To: Ant Users List > Subject: Re: 1.8.0 Bug? Target passed to ant sub-tasks > > Hello Martin, > > this is a bug in ant.bat. It ha

Re: 1.8.0 Bug? Target passed to ant sub-tasks

2010-03-19 Thread Antoine Levy Lambert
Hello Martin, this is a bug in ant.bat. It has been fixed in svn. * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage Bugzilla Report 48876 Insert this set ANT_CMD_LINE_ARGS= in your line 62 of ant.bat and you should be fine. Regards, Antoine Taylor, Martin wrote: I just upgr

1.8.0 Bug? Target passed to ant sub-tasks

2010-03-19 Thread Taylor, Martin
I just upgraded from Ant 1.7.0 to Ant 1.8.0 and now many of my Ant builds are broken. I have a large build.xml file for my entire project, which has a mixture of Java and Python components, that can be built on PC or Mac. When I run the top level ant command it looks like this: ant makepc