ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: to build or not to build ANT
Date Wed, 11 Jul 2001 16:42:58 GMT
Sounds like you want to install the binary distribution, not build it from
source. In which case, just pick up jakarta-ant-1.3-bin.zip from:

  http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/

Download it to where you want it to live (eg., /usr/local/ant), then 'cd'
there, and unjar it ('jar xvf jakarta-ant-1.3-bin.zip'). Then just add
/usr/local/ant/jakarta-ant-1.3/bin to your $PATH, set ANT_HOME to
/usr/local/ant/jakarta-ant-1.3 and JAVA_HOME to where the JDK you plan to
use lives, and you should be good to go.

Diane 

--- DDuquaine@stl-inc.com wrote:
>   I am a newbeeeeee
>   I have loaded the source tree to my Linux machine
>   for ANT.  I now want to build ANT so I can use it as
>   a tool to build other things, specifically TDK-2.1 (turbine)
>   
>    I want to end up using the following command 
>        ant build.xml
>    while in the source tree for the TDK-2.1 (Turbine)
>   
> 
> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: Wednesday, July 11, 2001 2:05 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: to build or not to build ANT
> 
> 
> Donald,
> 
> Are you trying to install Ant or build it from source?
> 
> Diane
> 
> --- DDuquaine@stl-inc.com wrote:
> > 
> >   I am using "ANT" to build the Turbine  tdk-2.1.tar.gz 
> >     but I am having difficulties.  
> > 
> > 
> >     OK this is what I have done to build "ANT".......
> > 
> >    * as SU  (super user)
> > 
> >    * downloaded jakarta-ant-1.3-bin.tar.gz (1022189 bytes)   and move
> to
> >          directory /usr/local
> > 
> >     * cd /usr/local (if not already there)
> > 
> >     * gunzip  < jakarta-ant-1.3-bin.tar.gz |tar xvf -  *** explodes
> >                directories only *****
> >          (this makes a directory tree from root 
> > /usr/local/jakarta-ant-1.3)
> > 
> >     * chown -R admindude /usr/local/jakarta-ant-1.3
> > 
> >     * export ANT_HOME=/usr/local/jakarta-ant-1.3 
> >     * export PATH=${PATH}:${ANT_HOME}/bin
> > 
> >     * env ---- shows that the PATH and ANT_HOME variable are set as
> >           indicated.
> > 
> >     * cd /usr/local/jakarta-ant-1.3
> > 
> > ---------------- this is where the problem starts
> > -------------------------------------
> > 
> >     * If you wish to install the build into the current ANT_HOME
> > directory,
> >           you can use: 
> > 
> >               build.sh install    (Unix) **** THIS PRODUCES ERROR
> ******
> > 
> >               I get this error  "bash: build.sh: command not found"
> >               (am I using the wrong shell????  )
> > 
> > 
> > -------   so I tried------------------------------------------
> > 
> > *   Linuxsvr1:/usr/local/jakarta-ant-1.3# sh build.sh install
> >         build.sh: build.sh: No such file or directory
> > 
> > 
> > *  Linuxsvr1:/usr/local/jakarta-ant-1.3# sh build
> >        The build program has been renamed debuild;
> >        please use the new name instead.
> > 
> > 
> > *  Linuxsvr1:/usr/local/jakarta-ant-1.3# debuild install
> >       debuild: fatal error at line 188:
> >       Cannot find debian/rules anywhere!  Are you in the source code
> > tree?
> > 
> > *  Linuxsvr1:/usr/local/jakarta-ant-1.3/bin# debuild install
> >       debuild: fatal error at line 188:
> >       Cannot find debian/rules anywhere!  Are you in the source code
> > tree?
> > 
> > 
> > ******** MY QUESTIONS ARE ************************************
> > I am running a debian verion of Linux and so the "debuild" is 
> > probably an adapted "build". 
> > 
> >     *  Linuxsvr1:/usr/local# apt-get install debuild 
> >             Reading Package Lists... Done
> >             Building Dependency Tree... Done
> >             E: Couldn't find package debuild
> > 
> >      * Linuxsvr1:/usr/local# apt-get install build
> >             Reading Package Lists... Done
> >             Building Dependency Tree... Done
> >             E: Couldn't find package build
> > 
> > 
> > ? is the build command part of my Operating System (Linux) or part
> >            of "ANT"  can I use MAKE instead....????
> > 
> > ? Can you give me any more advice about geting ANT to build
> > correctly....
> >     .... where are the debian rules specified  (see above).
> > 
> > 
> >      Donald Duquaine
> >      STL Tampa West
> >      Analyst / Network Adminstrator
> >      mailto:dduquaine@stl-inc.com
> > 
> > 
> 
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message