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" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to