-----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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to