Author: billbarker
Date: Fri Mar 12 03:52:01 2010
New Revision: 922136
URL: http://svn.apache.org/viewvc?rev=922136&view=rev
Log:
Re-work the script to make it more Gump friendly
No functional change for normal builds, but allows skipping a taskdef that Gump
doesn't want or need when running tests.
Modified:
tomcat/trunk/build.xml
Modified: tomcat/trunk/build.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=922136&r1=922135&r2=922136&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Fri Mar 12 03:52:01 2010
@@ -716,6 +716,16 @@
</javac>
<!-- Add sources for examples -->
+ <antcall target="examples-sources" />
+
+ <copy file="${tomcat-dbcp.jar}" todir="${tomcat.build}/lib"
+ failonerror="false"/>
+ <copy file="${jasper-jdt.jar}" todir="${tomcat.build}/lib" />
+
+ </target>
+
+ <target name="examples-sources" description="Create examples sources"
+ unless="examples.sources.skip" >
<taskdef name="txt2html"
classname="org.apache.tomcat.buildutil.Txt2Html"
classpath="${tomcat.classes}" />
@@ -799,13 +809,7 @@
<exclude name="source.jsp"/>
</fileset>
</txt2html>
-
- <copy file="${tomcat-dbcp.jar}" todir="${tomcat.build}/lib"
- failonerror="false"/>
- <copy file="${jasper-jdt.jar}" todir="${tomcat.build}/lib" />
-
</target>
-
<target name="embed" description="Create experimental embedded jars"
depends="build-manifests,compile" >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]