QnaList > Groups > Tomcat-Users > Sep 2014
faq

Rebuilding Tomcat Servlet Container Only

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?)
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: [email protected]
For additional commands, e-mail: [email protected]

asked Sep 1 2014 at 19:50

Aaron Lewis 's gravatar image



1 Replies for : Rebuilding Tomcat Servlet Container Only
Hash: SHA1
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/
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
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

answered Sep 1 2014 at 20:34

Mark Eggers 's gravatar image


Related discussions

Tagged

Group Tomcat-users

asked Sep 1 2014 at 19:50

active Sep 1 2014 at 20:34

posts:2

users:2

Tomcat-dev

Tomcat-users

©2013 QnaList.com . QnaList is part of ZisaTechnologies LLC.