Ant 1.7: Problem in windows when path to ant contains spaces

2007-02-01 Thread Mads B. Tandrup
Hello I'm not sure if this is the correct place, but here goes: I've updated from Ant 1.6 to 1.7 using the binary distribution at ant.apache.org. But when I try to run the new version it returns an exception before reading my build file: java.lang.ClassNotFoundException: org.apache.tools.ant.M

Re: path to ant

2005-05-21 Thread THUFIR HAWAT
On 5/20/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > Your ant is thus in /usr/share/ant. ... export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/java/jdk1.5.0_02 export PATH=${PATH}:${ANT_HOME}/bin seems to work, I think ant's working (although my build fails). this "does not compute" for me

Re: path to ant

2005-05-20 Thread Peter Reilly
Your ant is thus in /usr/share/ant. It is installed there by jpackage. If you want to use ant 1.6.3 or 1.6.4, you will to 1) wait for jpackage to release a 1.6.3/4 version -or- 2) install the ant from ant.apache.org -and- remove the jpackage version (this can be done by deleting /etc/ant.c

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > "Unix (bash) > > Assume Ant is installed in /usr/local/ant. The following sets up the > environment: > > export ANT_HOME=/usr/local/ant > export JAVA_HOME=/usr/local/jdk-1.2.2 > export PATH=${PATH}:${ANT_HOME}/bin" >

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > cat /etc/ant.conf [EMAIL PROTECTED] ~]$ cat /etc/ant.conf # # ant.conf (Ant 1.6.x) # JPackage Project # # Validate --noconfig setting in case being invoked # from pre Ant 1.6.x environment if [ -z "$no_config" ] ; th

Re: path to ant

2005-05-19 Thread Peter Reilly
cat /etc/ant.conf Peter THUFIR HAWAT wrote: "Unix (bash) Assume Ant is installed in /usr/local/ant. The following sets up the environment: export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/local/jdk-1.2.2 export PATH=${PATH}:${ANT_HOME}/bin"

Re: path to ant

2005-05-18 Thread THUFIR HAWAT
On 5/19/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: ... > type > > which ant > > That might give a clue... > > What platform are you running on? ... [EMAIL PROTECTED] bin]$ which ant /usr/bin/ant [EMAIL PROTECTED] bin]$ cd /usr/bin/ant bash: cd: /usr/bin/ant: Not a directory [EMAIL PR

Re: path to ant

2005-05-18 Thread Mark Lundquist
On May 18, 2005, at 8:17 PM, THUFIR HAWAT wrote: where else could ant be? type which ant That might give a clue... What platform are you running on? —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

path to ant

2005-05-18 Thread THUFIR HAWAT
"Unix (bash) Assume Ant is installed in /usr/local/ant. The following sets up the environment: export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/local/jdk-1.2.2 export PATH=${PATH}:${ANT_HOME}/bin" ant's not not in /usr/local, and install