You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Clark, Benjamin" <Be...@tdbanknorth.com> on 2005/06/09 16:38:57 UTC
RE: After a successful build of tomcat from build.xml, how do I i
nstall it?
Thanks! That worked. In the end, I opted for the 'ant release' way of
doing it, but I can see that the other way works too.
-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Bill Barker
Sent: Thursday, June 09, 2005 12:36 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: After a successful build of tomcat from build.xml, how do I
install it?
Optionally copy your build.properties file to .../jakarta-tomcat-5. Then in
your .../jakarta-tomcat-5/build.properties file add the property:
tomcat.dist=/path/to/my/tomcat/install/dir
Then from .../jakarta-tomcat-5 do 'ant dist'. This is the closest to 'ant
install' that you can get. The other option (w/o necessarily setting the
property above) is to do 'ant release' from the .../jakarta-tomcat-5
directory. That will create the source and binary release .tar.gz and .zip
files that you could otherwise install just as if you had downloaded them.
In short, the top-level build.xml is just a convenience file. The one with
all the power is the one in jakarta-tomcat-5.
"Clark, Benjamin" <Be...@tdbanknorth.com> wrote in message
news:CBB26F251FD05A4D89F3B9AC345C1075B20A21@me1140mllexch03.bkng.net...
>I am a Tomcat newbie, having been a Perl webguy for the past 5 years.
>
>
>
> Because I like to build that which I use from source, I am trying to get
> Tomcat running on my Linux laptop using a build.xml file from
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/build.xml
> <http://jakarta.apache.org/tomcat/tomcat-5.5-doc/build.xml>
>
>
>
> I created a /home/tomcatd/tomcat_build directory, put the build.xml file
> in
> there, and then created a build.properties file with
> base.path=/home/tomcatd/lib
>
>
>
> $ pwd
>
> /home/tomcatd/tomcat_build
>
> $ ls
>
> build.xml
>
> build.properties
>
> $ ant
>
>
>
> ... blah blah blah - build was successful
>
>
>
> $ ls
>
> build.properties jakarta-servletapi-5
> jakarta-tomcat-connectors
>
> build.xml jakarta-tomcat-5
> jakarta-tomcat-jasper
>
> jakarta-commons jakarta-tomcat-catalina LICENSE
>
>
>
>
>
>
>
> This is all the instructions for 'Building Tomcat' say to do.
>
>
>
> $ cd jakarta-tomcat-5
>
> $ ls
>
> BENCHMARKS.txt compat NOTICE
> RUNNING.txt
>
> Build CVS
> RELEASE-NOTES tomcat.nsi
>
> BUILDING.txt deployer
> RELEASE-PLAN-5.0.txt
>
> build.properties.default KEYS
> RELEASE-PLAN-5.5.txt
>
> build.xml LICENSE resources
>
>
>
> $ cd build
>
> $ ls
>
> bin common docs logs shared tests
> work
>
> classes conf lib server temp
> webapps
>
>
>
>
>
> This is the stuff ( I think ) that comes with the pre-compiled
> distributions.
>
>
>
> It would seem there is one more step akin to a 'make install' that I need
> to
> perform, but I can't seem to find it.
>
>
>
> Does anyone know what I would need to do to actually install the stuff in
> the build directory into another directory from which it could be used?
>
>
>
> Yes, I know I could just copy the stuff out myself, but I would have a
> nagging feeling there might be an 'ant install' step I should have done
> that
> may or may not do more than just copy stuff.
>
>
>
> Thanks.
>
>
>
>
> -----------------------------------------
> Please note that with our change to TD Banknorth, N.A. our e-mail
> addresses
> have changed. Please make note of my new e-mail address. And while our
> name
> has changed, remember this: Everything else has stayed the same.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
-----------------------------------------
Please note that with our change to TD Banknorth, N.A. our e-mail addresses
have changed. Please make note of my new e-mail address. And while our name
has changed, remember this: Everything else has stayed the same.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org