cziegeler 2002/07/05 00:48:25
Modified: . build.xml
src/documentation/xdocs/installing index.xml
Log:
Fixed build script and added exlude.webapp.javadocs
Revision Changes Path
1.241 +8 -2 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -r1.240 -r1.241
--- build.xml 4 Jul 2002 08:24:57 -0000 1.240
+++ build.xml 5 Jul 2002 07:48:25 -0000 1.241
@@ -1271,13 +1271,19 @@
<fileset dir="${build.war}">
<exclude name="samples/**" if="exclude.webapp.samples"/>
<exclude name="documentation/**" if="exclude.webapp.documentation"/>
+ <exclude name="apidocs/**" if="exclude.webapp.javadocs"/>
</fileset>
</jar>
<jar jarfile="${build.dir}/${name}-webapp-samples.jar">
- <fileset dir="${build.war}/samples"/>
+ <fileset dir="${build.war}">
+ <include name="samples/**"/>
+ </fileset>
</jar>
<jar jarfile="${build.dir}/${name}-webapp-docs.jar">
- <fileset dir="${build.war}/documentation"/>
+ <fileset dir="${build.war}">
+ <include name="documentation/**"/>
+ <include name="apidocs/**"/>
+ </fileset>
</jar>
</target>
1.28 +5 -2 xml-cocoon2/src/documentation/xdocs/installing/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/installing/index.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- index.xml 4 Jul 2002 11:12:56 -0000 1.27
+++ index.xml 5 Jul 2002 07:48:25 -0000 1.28
@@ -552,13 +552,16 @@
<ul>
<li>exclude.webapp.samples : to exclude the samples</li>
<li>exclude.webapp.documentation : to exclude the
documentation</li>
+ <li>exclude.webapp.javadocs : to exclude the java docs</li>
</ul>
<p>So, if you first remove all libraries from the
<code>./lib/local</code>
and the <code>./lib/optional</code> directory except the
<code>servlet.jar</code>
and then type:</p>
<source>
-[unix] ./build.sh -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes
-Dexclude.webapp.documenation=yes webapp
-[win32] .\build.bat -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes
-Dexclude.webapp.documenation=yes webapp</source>
+[unix] ./build.sh -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes
+ -Dexclude.webapp.documenation=yes
-Dexclude.webapp.javadocs=yes webapp
+[win32] .\build.bat -Dinclude.webapp.libs=yes -Dexclude.webapp.samples=yes
+ -Dexclude.webapp.documenation=yes
-Dexclude.webapp.javadocs=yes webapp</source>
<p>you get a minimal Cocoon web application without any samples or
documentation.
But remember to make a <code>build clean</code> beforehand.</p>
</s4>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]