jvanzyl 01/09/27 08:42:38
Modified: src/tdk build.xml
src/tdk/apps/2 build.xml
Log:
- the initial TRP generated is now a template so that the production
TRP can be regenerated repeatedly if desired with different values.
this will easily allow a project developer to work with mysql and than
run a target which changes the values in the TRP to be those of an app
that is self-contained and works with hypersonic. this will also allow
easier customization for end users. a webform can collect the values
and the target can be run to satisfy the requirements of the end user's
platform.
Revision Changes Path
1.21 +1 -0 jakarta-turbine-tdk/src/tdk/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-tdk/src/tdk/build.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- build.xml 2001/09/24 18:44:15 1.20
+++ build.xml 2001/09/27 15:42:38 1.21
@@ -323,6 +323,7 @@
<property name="conf.home"
value="${ancillary.dir}/${tdk.turbineVersion}/src/conf"/>
<property name="master.home"
value="${ancillary.dir}/${tdk.turbineVersion}/src/conf/master"/>
<property name="target.dir" value="${abs.conf.dir}"/>
+ <property name="copy" value="${abs.conf.dir}/TurbineResources.template"/>
<property name="turbine.log" value="/logs/turbine.log"/>
<property name="database.name" value="${tdk.project}"/>
<property name="module.packages"
value="${target.package}.modules,${flux.modules}"/>
1.25 +3 -7 jakarta-turbine-tdk/src/tdk/apps/2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-tdk/src/tdk/apps/2/build.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- build.xml 2001/09/27 06:16:16 1.24
+++ build.xml 2001/09/27 15:42:38 1.25
@@ -557,14 +557,10 @@
<filter token="DATABASE_ADAPTOR" value="${database.adaptor}"/>
<copy
- file="${conf.dir}/TurbineResources.properties"
- tofile="${conf.dir}/tmp"
+ file="${conf.dir}/TurbineResources.template"
+ tofile="${conf.dir}/TurbineResource.properties"
+ overwrite="yes"
filtering="yes"
- />
-
- <move
- file="${conf.dir}/tmp"
- tofile="${conf.dir}/TurbineResources.properties"
/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]