You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@apache.org on 2001/04/29 09:38:39 UTC
cvs commit: jakarta-slide/src/doc installation.xml
remm 01/04/29 00:38:39
Modified: src/doc installation.xml
Log:
- Update the build system to the new style introced in the commons.
- Remove the build scripts (build.bat and build.sh). Use the Ant
command directly (see instructions in the documentation - installation page).
- Use some of the new Ant features.
Revision Changes Path
1.12 +24 -56 jakarta-slide/src/doc/installation.xml
Index: installation.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/doc/installation.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- installation.xml 2001/03/29 19:25:15 1.11
+++ installation.xml 2001/04/29 07:38:38 1.12
@@ -22,83 +22,51 @@
Download and install a version 1.1 or later Java Development Kit
implementation for your operating system platform. Set a "JAVA_HOME"
environment variable to point at the directory where your JDK is
- installed, and add "$JAVA_HOME/bin" to your PATH. Configure the
- CLASSPATH environment variable as well, if required.
+ installed, and add "$JAVA_HOME/bin" to your PATH.
</li>
<li>
- Download and install the Java API for XML Parsing implementation (current
- version number is 1.1) from
- <a href="http://java.sun.com/xml">the Java API for XML site</a>.
- Make sure that the "jaxp.jar" and "parser.jar" files are on your
- classpath.
+ Download and install Ant 1.3 or later. Then define an environment
+ variable named "ANT_HOME" and make it point to the path wher you just
+ installed Ant.
</li>
<li>
- Download and install the Java Transaction API (current version number is
- 1.0.1) from <a href="http://java.sun.com/products/jta/">the JTA site</a>.
- Make sure that the "jta.jar" is in the "lib" directory in the Slide
- source distribution.
+ Download the source distribution of Slide (subpackage "jakarta-slide"),
+ or check it out via anonymous CVS, into a subdirectory named
+ "$JAKARTA_HOME/jakarta-slide".
</li>
<li>
- Make sure the other dependencies listed below are available on your
- system classpath.
+ Download the libraries needed to compile Slide, and either put
+ the appropriate JARs in the "lib" subdirectory of your Ant distribution,
+ or in the "lib" subdirectory of the Slide source distribution.
+ The Slide Ant makefile will attempt to find and copy the JARs required
+ at runtime. If the JARs are not located in their default location, you
+ should create a "build.properties" file based on the
+ "build.properties.sample" file present in the root of the Slide
+ source repository.
</li>
<li>
- Download and install the Ant distribution (subproject "jakarta-ant") into
- a directory named "$JAKARTA_HOME/jakarta-ant". If you have
- downloaded the source distribution, you will need to build the
- executable version by executing the following commands:
+ Build Slide using :
<pre>
- cd $JAKARTA_HOME/jakarta-ant
- ./bootstrap.sh for Unix
- bootstrap for Windows
+ cd $JAKARTA_HOME/jakarta-slide
+ $ANT_HOME/bin/ant.sh for Unix
+ %ANT_HOME%\bin\ant for Windows
</pre>
- This should result in the creation of a file "ant.jar" in the "lib"
- subdirectory.
- </li>
-
- <li>
- Download and install the Servletapi distribution (subproject
- "jakarta-servletapi") into a subdirectory named
- "$JAKARTA_HOME/jakarta-servletapi". If you have downloaded the source
- distribution, you will need to build the executable version by
- executing the following commands:
+ You can delete the generated files in the "build" and "dist"
+ subdirectories by executing the following:
<pre>
- cd $JAKARTA_HOME/jakarta-servletapi
- ./build.sh dist for Unix
- build dist for Windows
- </pre>
- This should result in the creation of a file "servlet.jar" in the "lib"
- subdirectory.
- </li>
-
- <li>
- Download the source distribution of Slide (subpackage "jakarta-slide"),
- or check it out via anonymous CVS, into a subdirectory named
- "$JAKARTA_HOME/jakarta-slide".
- <pre>
- cd $JAKARTA_HOME/jakarta-slide
- ./build.sh for Unix
- build for Windows
+ cd $JAKARTA_HOME/jakarta-slide
+ $ANT_HOME/bin/ant.sh clean for Unix
+ %ANT_HOME%\bin\ant clean for Windows
</pre>
</li>
<li>
A web application which can be used in any Servlet 2.2 compliant can
be found $JAKARTA_HOME/jakarta-slide/dist/webapp/slide.war.
- </li>
-
- <li>
- You can delete the generated files in the "build/slide" and "dist/slide"
- directories by executing the following:
- <pre>
- cd $JAKARTA_HOME/jakarta-slide
- ./build.sh clean for Unix
- build clean for Windows
- </pre>
</li>
</ul>