cziegeler 01/09/21 02:08:33
Modified: . build.xml
Log:
Fixed binary dist: javac.jar is not distributed
Revision Changes Path
1.65 +6 -2 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- build.xml 2001/09/19 19:37:55 1.64
+++ build.xml 2001/09/21 09:08:33 1.65
@@ -755,7 +755,7 @@
</target>
<!-- =================================================================== -->
- <!-- Copies the tools.jar to jaavc.jar in web-inf/lib -->
+ <!-- Copies the tools.jar to javac.jar in web-inf/lib -->
<!-- =================================================================== -->
<target name="prepare-tools-lib" depends="package" if="tools.jar.present">
<!-- NOTE: java.home is normally set by the JVM to the /jre directory -->
@@ -1075,8 +1075,12 @@
</copy>
<copy todir="${dist.dir}/webapp">
- <fileset dir="${build.war}"/>
+ <fileset dir="${build.war}">
+ <!-- Do not copy the tools.jar (which is renamed to javac.jar) -->
+ <exclude name="**/javac.jar"/>
+ </fileset>
</copy>
+
<!-- Fix for web.xml, cocoon.xconf and sitemap.xmap -->
<copy file="${webapp.dir}/cocoon.xconf"
tofile="${dist.dir}/webapp/cocoon.xconf" filtering="off" overwrite="yes"/>
<copy file="${webapp.dir}/sitemap.xmap"
tofile="${dist.dir}/webapp/sitemap.xmap" filtering="off" overwrite="yes"/>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]