cziegeler 2002/06/03 02:14:01
Modified: . build.xml
Log:
Adding jars from lib/local to webapp
Revision Changes Path
1.223 +24 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -r1.222 -r1.223
--- build.xml 3 Jun 2002 06:16:50 -0000 1.222
+++ build.xml 3 Jun 2002 09:14:01 -0000 1.223
@@ -123,6 +123,9 @@
<!-- Indentify Classpath -->
<!-- =================================================================== -->
<path id="classpath">
+ <fileset dir="./lib/local">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>
@@ -132,6 +135,9 @@
</path>
<path id="anttasks.classpath">
+ <fileset dir="./lib/local">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>
@@ -144,6 +150,9 @@
</path>
<path id="scratchpad.classpath">
+ <fileset dir="./lib/local">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>
@@ -1178,6 +1187,9 @@
<fileset dir="lib/optional">
<include name="**/*.jar"/>
</fileset>
+ <fileset dir="lib/local">
+ <include name="**/*.jar"/>
+ </fileset>
<pathelement location="${build.war}/WEB-INF/classes"/>
<pathelement location="${build.dir}/${name}.jar"/>
<pathelement location="${tools.jar}"/>
@@ -1201,6 +1213,12 @@
<exclude name="servlet*.jar"/>
</fileset>
</copy>
+ <copy todir="${build.war}/WEB-INF/lib">
+ <fileset dir="${lib.dir}/local">
+ <include name="*.jar"/>
+ <exclude name="servlet*.jar"/>
+ </fileset>
+ </copy>
</target>
<target name="prepare-webapp-libs" depends="package, copy-webapp-libs"
if="include.webapp.libs">
@@ -1602,6 +1620,12 @@
</copy>
<copy todir="${dist.bin.dir}/webapp/WEB-INF/lib">
<fileset dir="${lib.dir}/optional">
+ <include name="*.jar"/>
+ <exclude name="servlet*.jar"/>
+ </fileset>
+ </copy>
+ <copy todir="${dist.bin.dir}/webapp/WEB-INF/lib">
+ <fileset dir="${lib.dir}/local">
<include name="*.jar"/>
<exclude name="servlet*.jar"/>
</fileset>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]