ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: problem with ant under linux
Date Mon, 27 Jun 2005 18:36:48 GMT


--- Diana Steffen <steffen@clt-st.de> 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 I'm confused, is it now 1.6.2  or 1.6.5
> (--noconfig -version)?
You manually installed 1.6.5 and you have 1.6.2
preinstalled by FC3.

> 
> Should I delete my installation or should I ask the
> root
> to delete older versions?
As you can see it is tricky to control the Ant version
that comes with FC3 and the version that you manually
installed. So I would favor deleting the older
version.  It perhaps can be done with the command
rpm -ev ant-1.6.2-3jpp
but it is not tested and I take no responsibility :))

HTH
Ivan

> 
> Diana
> 
> >>
> >>Peter
> >>
> >>Ivan Ivanov wrote:
> >>
> >>
> >>>--- Diana Steffen <steffen@clt-st.de> 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 location of java executables:
> >>>>>     
> >>>>>
> >>>>
> >>>>/usr/bin/java
> >>>>/usr/bin/javac
> >>>>   
> >>>>
> >>>
> >>>And these are GCJ executable.
> >>>
> >>>Now you can fix that problem by setting PATH
> >>
> >>variable
> >>
> >>>in this way:
> >>>export PATH=$JAVA_HOME\bin:$PATH
> >>>Thus Sun JDK executables will be found before GCJ
> >>>executables are found.
> >>>
> >>>HTH
> >>>Ivan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message