rleland 2003/06/11 10:50:36
Modified: . build.xml
Log:
Fix main struts build file so
the legacy libraries are also built when a
'ant dist' command is issued,
and cleaned up when a
'ant clean' command is issued.
Revision Changes Path
1.106 +20 -2 jakarta-struts/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/build.xml,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- build.xml 7 Jun 2003 21:53:28 -0000 1.105
+++ build.xml 11 Jun 2003 17:50:35 -0000 1.106
@@ -395,6 +395,15 @@
</target>
<!--
+ Construct distributable struts legacy support for datasources
+-->
+ <target name="dist.legacy" >
+ <ant antfile="build.xml" dir="contrib/struts-legacy"
+ inheritAll="false" target="dist"/>
+ </target>
+
+
+<!--
Build the contrib modules that are packaged with the binary
-->
<target name="dist.contrib" depends="dist.source" if="jstl.jar">
@@ -418,7 +427,7 @@
Construct complete binary distribution
-->
<target name="dist"
- depends="dist.library,dist.webapps,dist.source,dist.contrib"
+ depends="dist.legacy,dist.library,dist.webapps,dist.source,dist.contrib"
description="Construct binary distribution"/>
<!--
@@ -718,11 +727,20 @@
</copy>
</target>
+
+<!--
+ Clean struts legacy distribution
+-->
+ <target name="clean.legacy" >
+ <ant antfile="build.xml" dir="contrib/struts-legacy"
+ inheritall="false" target="clean"/>
+ </target>
+
<!--
Clean up build and distribution directories
-->
- <target name="clean"
+ <target name="clean" depends="clean.legacy"
description="Clean build and distribution directories">
<delete dir="${build.home}"/>
<delete dir="${dist.home}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]