dlr 01/12/27 11:39:43
Modified: . build.xml
Log:
Report a missing DVSL JAR file.
Revision Changes Path
1.38 +15 -1 jakarta-turbine-fulcrum/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/build.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -u -r1.37 -r1.38
--- build.xml 2001/12/17 16:32:41 1.37
+++ build.xml 2001/12/27 19:39:43 1.38
@@ -44,6 +44,7 @@
<echo message="bsf.jar = ${bsf.jar}"/>
<echo message="commons-collections.jar = ${commons-collections.jar}"/>
<echo message="commons-util.jar = ${commons-util.jar}"/>
+ <echo message="dvsl.jar = ${dvsl.jar}"/>
<echo message="jaf.jar = ${jaf.jar}"/>
<echo message="javamail.jar = ${javamail.jar}"/>
<echo message="jdbc.jar = ${jdbc.jar}"/>
@@ -174,6 +175,12 @@
property="regexp.present"
classpathref="classpath"
/>
+
+ <available
+ classname="org.apache.tools.dvsl.DVSL"
+ property="dvsl.present"
+ classpathref="classpath"
+ />
</target>
<!-- ================================================================== -->
@@ -272,6 +279,13 @@
</antcall>
</target>
+ <target name="check.dvsl" unless="dvsl.present">
+ <antcall target="property-warning">
+ <param name="name" value="dvsl.jar"/>
+ <param name="value" value="${dvsl.jar}"/>
+ </antcall>
+ </target>
+
<!--
This is commented out because the inclusion of the .jar file is
conditional depending on whether or not it is in your path. This
@@ -329,7 +343,7 @@
check.velocity,check.log4j,check.torque,check.bsf,
check.servlet,check.javamail,check.jaf,check.xerces,check.xalan,
check.xmlrpc,check.commons-collections,check.commons-util,
- check.regexp,
+ check.regexp,check.dvsl,
include-email,om">
<!-- We have some static files that should overwrite
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>