ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Installing Ant on Linux Enterprise 3.5
Date Mon, 22 May 2006 18:36:47 GMT
Good. I am suggesting that you uninstall the rpm package that came with
RHEL 3.5 and use the tar.gz available from ant.apache.org. You already
have the tar.gz installed, but you are seeing some unexpected behavior
because the rpm is still installed. Simply uninstall the rpm and your
problems should go away.

-Rob A


> -----Original Message-----
> From: Res Pons [mailto:pons32@hotmail.com] 
> Sent: Monday, May 22, 2006 11:23 AM
> To: user@ant.apache.org
> Subject: RE: Installing Ant on Linux Enterprise 3.5
> 
> Thank you for the quick response.  Just ran the command and 
> now I see the old rpm for ant.  However, I was on Apache/Ant 
> and I do not see an rpm pkg but only a tar.gz.  I'll google 
> to see what I can find.
> 
> ----Original Message Follows----
> From: "Anderson, Rob (Global Trade)" <Rob.Anderson@nike.com>
> Reply-To: "Ant Users List" <user@ant.apache.org>
> To: "Ant Users List" <user@ant.apache.org>
> Subject: RE: Installing Ant on Linux Enterprise 3.5
> Date: Mon, 22 May 2006 11:01:08 -0700
> MIME-Version: 1.0
> Received: from mail.apache.org ([209.237.227.199]) by 
> bay0-mc10-f13.bay0.hotmail.com with Microsoft 
> SMTPSVC(6.0.3790.1830); Mon,
> 22 May 2006 11:01:38 -0700
> Received: (qmail 99281 invoked by uid 500); 22 May 2006 18:01:37 -0000
> Received: (qmail 99270 invoked by uid 99); 22 May 2006 18:01:36 -0000
> Received: from asf.osuosl.org (HELO asf.osuosl.org) 
> (140.211.166.49)    by 
> apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 11:01:36 -0700
> Received: pass (asf.osuosl.org: local policy)
> Received: from [146.197.27.91] (HELO barriere241.nike.com) 
> (146.197.27.91)   
>   by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 
> 11:01:36 -0700
> X-Message-Info: LsUYwwHHNt13bR7hXb8HsBzcfV5j8CfASxB6hQKGzUQ=
> Mailing-List: contact user-help@ant.apache.org; run by ezmlm
> Precedence: bulk
> List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
> List-Help: <mailto:user-help@ant.apache.org>
> List-Post: <mailto:user@ant.apache.org>
> List-Id: "Ant Users List" <user.ant.apache.org>
> Delivered-To: mailing list user@ant.apache.org
> X-ASF-Spam-Status: No, hits=0.3 required=10.0tests=MAILTO_TO_SPAM_ADDR
> X-Spam-Check-By: apache.org
> X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621
> X-MimeOLE: Produced By Microsoft Exchange V6.5
> Content-class: urn:content-classes:message
> X-MS-Has-Attach:
> X-MS-TNEF-Correlator:
> Thread-Topic: Installing Ant on Linux Enterprise 3.5
> Thread-Index: AcZ9yGqbIW5OY7SYREakojZpkU+oiwAAOyvw
> X-OriginalArrivalTime: 22 May 2006 18:01:09.0564 (UTC) 
> FILETIME=[B46DEFC0:01C67DC9]
> X-WSS-ID: 686F23ED1KW672775-01-01
> X-Virus-Checked: Checked by ClamAV on apache.org
> Return-Path: user-return-56298-pons32=hotmail.com@ant.apache.org
> 
> I believe there is an Ant rpm that ships with RHEL 3.5. To 
> find out for sure run:
> 
> rpm -qa | grep -I ant
> 
> Uninstall the rpm. Also searh the list archives for related 
> threads. I know this sort of thing has come up before.
> 
> -Rob Anderson
> 
>  > -----Original Message-----
>  > From: Res Pons [mailto:pons32@hotmail.com]  > Sent: 
> Monday, May 22, 2006 10:51 AM  > To: user@ant.apache.org  > 
> Subject: Installing Ant on Linux Enterprise 3.5  >  > Hi  >  
> > I've always used Ant on Window's environment.  I would like 
>  > to install Ant  > on a linux box and set it up as my build machine.
>  >
>  > I've already installed the latest Subversion, Tomcat 
> 5.5.14,  > and JDK 1.5.06  > and latest Ant.tar.gz from 
> Apache.  I did not do a native  > compile and just  > 
> expanded the binaries into /usr/local.  When I was installing 
>  > the new Ant, I  > saw an abbreviated OLD version installed 
> on the server which had the  > following files in the 
> following places:
>  >
>  > /usr/bin/ant ---- {so I saved a back up copy and replaced  
> > this old version  > with the new installation from  > 
> /usr/local/apache-ant-1.6.5/bin/ant.  Also I  > created a 
> symlink in /usr/local/ant to point to the new  > 
> installation.  So  > now when I execute $type ant, I see the 
> correct version}  >  > AND IN  >  > /usr/share/ant/bin/ there 
> were the following OLD symlinks  >
>  > lrwxrwxrwx    1 root     root           34 Mar 29  2005
>  > activation.jar ->
>  > ../../java/activation-20030319.jar
>  > lrwxrwxrwx    1 root     root           24 Mar 29  2005 ant.jar ->
>  > ../../java/ant-1.5.2.jar
>  > lrwxrwxrwx    1 root     root           33 Mar 29  2005
>  > ant-optional.jar ->
>  > ../../java/ant-optional-1.5.2.jar
>  > lrwxrwxrwx    1 root     root           23 Mar 29  2005 bcel.jar ->
>  > ../../java/bcel-5.0.jar
>  > lrwxrwxrwx    1 root     root           36 Mar 29  2005
>  > commons-logging.jar
>  > -> ../../java/commons-logging-1.0.2.jar
>  > lrwxrwxrwx    1 root     root           33 Mar 29  2005
>  > jakarta-regexp.jar
>  > -> ../../java/jakarta-regexp-1.2.jar
>  > lrwxrwxrwx    1 root     root           29 Mar 29  2005
>  > java_cup.jar ->
>  > ../../java/java_cup-10.11.jar
>  > lrwxrwxrwx    1 root     root           26 Mar 29  2005 
> junit.jar ->
>  > ../../java/junit-3.8.1.jar
>  > lrwxrwxrwx    1 root     root           28 Mar 29  2005 mail.jar ->
>  > ../../java/mail-20031006.jar
>  > lrwxrwxrwx    1 root     root           26 Mar 29  2005 
> xalan.jar ->
>  > ../../java/xalan-2.4.1.jar
>  > lrwxrwxrwx    1 root     root           27 Mar 29  2005 
> xerces.jar ->
>  > ../../java/xerces-2.2.1.jar
>  >
>  > WHAT AM I SUPPOSED TO DO WITH THESE FILES?  SEVER THE 
> LINKS  > OR POINT THEM TO  > THE NEW INSTALLATION?
>  >
>  > Also I added the new paths to my .bash_profile:
>  >
>  > # .bash_profile
>  >
>  > # Get the aliases and functions
>  > if [ -f ~/.bashrc ]; then
>  >         . ~/.bashrc
>  > fi
>  >
>  > # User specific environment and startup programs  >  > 
> PATH=/usr/local/ant/:/usr/local/ant/lib:$PATH:/bin:/usr/bin:$H
>  > OME/bin:/usr/local/tomcat/server/lib:/usr/local/tomcat/bin
>  > #PATH=$PATH:$HOME/bin:/usr/local/apache-tomcat-5.5.16/server/l
>  > ib:/usr/local/apache-tomcat-5.5.16/bin
>  >
>  > export ANT_HOME=/usr/local/apache-ant-1.6.5
>  > export JAVA_HOME=/usr/java/jdk1.5.0_06  > #export 
> PATH=${PATH}:${ANT_HOME}/bin:${ANT_HOME}/lib
>  > export PATH
>  > unset USERNAME
>  >
>  > So now when I type ant, I get the following error msg:
>  >
>  > Exception in thread "main" java.lang.NoClassDefFoundError:
>  > org/apache/tools/ant/launch/Launcher
>  >
>  > I have NO clue as what I'm doing wrong.  Please help!
>  >
>  > Thanks.
>  >
>  > _________________________________________________________________
>  > Is your PC infected? Get a FREE online computer virus scan 
>  > from McAfee(r)  > Security. 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>  >
>  >
>  > 
> ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org  > 
> For additional commands, e-mail: user-help@ant.apache.org  >  >  >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> _________________________________________________________________
> On the road to retirement? Check out MSN Life Events for 
> advice on how to get there! 
> http://lifeevents.msn.com/category.aspx?cid=Retirement
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


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


Mime
View raw message