jon 01/07/03 16:38:28
Modified: build build.properties build.xml
Log:
rebuild the om stuff only if the .xml file changes
this is the "right" way to do it...
Revision Changes Path
1.7 +1 -0 jakarta-turbine/build/build.properties
Index: build.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine/build/build.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.properties 2001/07/03 23:22:40 1.6
+++ build.properties 2001/07/03 23:38:27 1.7
@@ -11,6 +11,7 @@
project = turbine
build.dir = ../bin
src.dir = ../src
+conf.dir = ../conf
javadoc.destdir = ../docs/apidocs
jakarta.site2 = ../../jakarta-site2
docs.src = ../xdocs
1.18 +4 -2 jakarta-turbine/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine/build/build.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- build.xml 2001/07/02 03:33:10 1.17
+++ build.xml 2001/07/03 23:38:27 1.18
@@ -336,9 +336,11 @@
<!-- ================================================================== -->
<!-- Create the Turbine SQL for all the supported DBs. -->
<!-- ================================================================== -->
-
<target name="check-om">
- <available property="omGenerated" file="${omStatusFile}"/>
+ <uptodate property="omGenerated"
+ targetfile="${omStatusFile}">
+ <srcfiles dir="${conf.dir}/master" includes="turbine-schema.xml"/>
+ </uptodate>
</target>
<target name="turbine-om"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]