Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Diana Steffen <[EMAIL PROTECTED]> wrote: > > /etc/ant.conf says > ANT_HOME=/usr/share/ant This is the location of Ant that comes with FC3 distibution... > > rpm -qa | grep ant. > > ant-1.6.2-3jpp ... and this is the rpm package it came from. And it is made by jpackage.org AFAIK. > > Now

Re: problem with ant under linux

2005-06-27 Thread Peter Reilly
Ivan Ivanov wrote: --- Peter Reilly <[EMAIL PROTECTED]> wrote: The java stuff in Ivan's comment is correct. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. It did not occur to me there is another ant version. I then s

Re: problem with ant under linux

2005-06-27 Thread Diana Steffen
The java stuff in Ivan's comment is correct. I changed $PATH like Ivan suggested, but I get the same error. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. /etc/ant.conf says ANT_HOME=/usr/share/ant ant --noconfig -versi

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > The java stuff in Ivan's comment is correct. > However, the ant needs a little work! > The -cp not been reconized is due to an > older version of ant being installed. It did not occur to me there is another ant version. I then suppose that it is the

Re: problem with ant under linux

2005-06-27 Thread Peter Reilly
The java stuff in Ivan's comment is correct. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. This can be seen by looking at the file /etc/ant.conf It (re)sets the ANT_HOME env variable. To test this please do ant --noconfig -ver

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Diana Steffen <[EMAIL PROTECTED]> wrote: > Hi Ivan, > > > What linux distribution are you using? > > Fedora Core 3. I really thought it was FC3. > > Can you check the value of JAVA_HOME (echo > $JAVA_HOME) > > /usr/java/jdk This is where you have installed your own jdk. > > > and the

Re: problem with ant under linux

2005-06-27 Thread Diana Steffen
Hi Ivan, > What linux distribution are you using? Fedora Core 3. Some distributions come with preinstalled JDKs. Some like Fedora Core 3 come with GCJ (GNU compiler for java) and GCJ executables have the same names as Sun JDK. Can you check the value of JAVA_HOME (echo $JAVA_HOME) /usr/java

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
Diana, What linux distribution are you using? Some distributions come with preinstalled JDKs. Some like Fedora Core 3 come with GCJ (GNU compiler for java) and GCJ executables have the same names as Sun JDK. Can you check the value of JAVA_HOME (echo $JAVA_HOME) and the location of java executable