jfclere 2003/02/27 05:48:54
Modified: daemon build.xml
Log:
Allow the build to be compatible with RPM systems like jpackage
(www.jpackage.org).
Submitted by Henri Gomez ([EMAIL PROTECTED]).
Revision Changes Path
1.5 +9 -3 jakarta-commons-sandbox/daemon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/daemon/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.xml 11 Jul 2002 21:37:40 -0000 1.4
+++ build.xml 27 Feb 2003 13:48:53 -0000 1.5
@@ -63,6 +63,12 @@
<!-- The base directory for unit test sources -->
<property name="test.home" value="src/test"/>
+ <!-- The ant dir (usefull for non standard layout) -->
+ <property name="ant.lib" value="${ant.home}/lib"/>
+
+ <!-- The pattern to be used to grab ant jars (usefull for non standard layout)
-->
+ <property name="ant.jars.pattern" value="*.jar"/>
+
<!-- ========== Compiler Defaults ========================================= -->
@@ -191,7 +197,7 @@
windowtitle="${component.title} (Version ${component.version})"
bottom="Copyright (c) 2001-2002 - Apache Software Foundation">
<classpath refid="compile.classpath"/>
- <classpath location="${ant.home}/lib/ant.jar"/>
+ <classpath location="${ant.lib}/ant.jar"/>
</javadoc>
</target>
@@ -225,7 +231,7 @@
tofile="commons-${component.name}.jar"/>
<!-- Bundle Ant jars to support launcher classes and sample scripts -->
<copy todir="${dist.home}/lib" filtering="off">
- <fileset dir="${ant.home}/lib" includes="*.jar"/>
+ <fileset dir="${ant.lib}" includes="${ant.jars.pattern}"/>
</copy>
<fixcrlf srcdir="${ant.home}/bin"
includes="antRun.bat"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]