tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Lewis <the.warl0ck.1...@gmail.com>
Subject [RESOLVED] Re: Rebuilding tomcat servlet container only
Date Tue, 02 Sep 2014 04:48:47 GMT
Thanks Mark, just solved the problem.

I mis-read the documentation..

On Tue, Sep 2, 2014 at 11:34 AM, Mark Eggers
<its_toasted@yahoo.com.invalid> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 9/1/2014 7:50 PM, Aaron Lewis wrote:
>> Hi,
>>
>> I'm following the BUILDING.txt in tomcat sources,
>>
>> (5) Building the servlet and jsp API documentation
>>
>> cd ${tomcat.source} ant -f dist.xml dist-javadoc
>>
>> But after that I didn't find any jar files in the 'output' folder
>>
>> Am I missing something? I only wanted "lib/servlet-api.jar", I
>> don't need to compile any other jars (Were the others needed?)
>>
>
> As the line says, that only builds the documentation (and apparently
> copies over the source). The javadoc ends up in
> ${tomcat.src}/output/dist/webapps/docs/api. The source ends up in
> ${tomcat.src}/output/dist/src.
>
> To get the JAR files:
>
> 1. Install JDK 1.5 (see caveats as to building with later versions)
> 2. Set JAVA_HOME to point to the JDK 1.5 installation
> 3. Make sure JAVA_HOME/bin is in your path
> 4. Install Ant (I used 1.8.4 for my test)
> 5. Edit build.properties appropriately
> 6. run 'ant download' to get all of the dependencies
> 7. run 'ant' to build Tomcat
> 8. look in ${tomcat.src}/output/build/lib for the JAR files
>
> The build took about 10 seconds on my i5 laptop running Fedora 20 x64
> with 8 GB of memory.
>
> Dunno if I'm missing something here . . .
> /mde/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.13 (MingW32)
>
> iQEcBAEBAgAGBQJUBTq/AAoJEEFGbsYNeTwtu5kH/iVEpgbqryKyHXk+t4XokApQ
> CR8MGEjV2r1cys4tM3jn44M1orzzWbbjT26BuyOmxaropY50FEuMrHm3CZhBt9LV
> /1d9KI0OBFdXouto4mcm0ZSJn77W5mo13LO5qoYCoy6DPFx+6diQDemTGnJuttwN
> Qz/7v6Z/DYnQEgJkthdAY/GVTY144JSP9VewMT+O42TcbH/raMVXumNiCormq8AY
> TDX5wHYZPzjlrM1zj8KuiGFJoiSV3xBTgAhYMSPI6hxn1BgD/WrobuJRXs86I3iC
> OPl4a1bOPTvM7TozK+abXgOFw4vPxIErtlHnt/P0p9M9e2I+ZJCdfGVB7qlQPkk=
> =arbP
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>



-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message