[jbpm-commits] JBoss JBPM SVN: r4163 - in jbpm4/branches/tbaeyens: modules/distro/src/main/resources/config-tool and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Mar 6 03:29:20 EST 2009


Author: tom.baeyens at jboss.com
Date: 2009-03-06 03:29:20 -0500 (Fri, 06 Mar 2009)
New Revision: 4163

Modified:
   jbpm4/branches/tbaeyens/build.xml
   jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/build.xml
Log:
work

Modified: jbpm4/branches/tbaeyens/build.xml
===================================================================
--- jbpm4/branches/tbaeyens/build.xml	2009-03-06 08:21:50 UTC (rev 4162)
+++ jbpm4/branches/tbaeyens/build.xml	2009-03-06 08:29:20 UTC (rev 4163)
@@ -132,8 +132,8 @@
 
   <target name="update.configurations" description="update the pvm and jpdl test resources by running the config tool">
     <ant antfile="modules/distro/src/main/resources/config-tool/build.xml" target="create.configuration.files" inheritall="false">
-    	<property name="config.files.dir" value="${basedir}/modules/examples/src/main/resources" />
-      <property name="tmp.dir" value="${basedir}/modules/examples/target" />
+    	<property name="config.files.dir" value="${basedir}/modules/examples/src/test/resources" />
+      <property name="tmp.dir" value="${basedir}/modules/examples/target/config-tmp" />
   	</ant>
   	<!--
     config.files.dir=config.files

Modified: jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/build.xml
===================================================================
--- jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/build.xml	2009-03-06 08:21:50 UTC (rev 4162)
+++ jbpm4/branches/tbaeyens/modules/distro/src/main/resources/config-tool/build.xml	2009-03-06 08:29:20 UTC (rev 4163)
@@ -172,21 +172,21 @@
 	  <copy file="identity/jbpm.identity.cfg.xml" todir="${config.files.dir}" overwrite="true" />
   	<mkdir dir="${config.files.dir}/META-INF" />
     <copy file="hibernate/${connection.type}/${database}.xml"
-          tofile="tmp.persistence.properties.xml"/>
-  	<replace file="tmp.persistence.properties.xml"
+          tofile="${tmp.dir}/tmp.persistence.properties.xml"
+          overwrite="true"/>
+  	<replace file="${tmp.dir}/tmp.persistence.properties.xml"
   	         token="&quot;&gt;"
   	         value="&quot; value=&quot;" />
-    <replace file="tmp.persistence.properties.xml"
+    <replace file="${tmp.dir}/tmp.persistence.properties.xml"
              token="&lt;/property&gt;"
              value="&quot; /&gt;" />
     <concat destfile="${config.files.dir}/META-INF/persistence.xml">
       <filelist dir=".">
         <file name="identity/META-INF/part1.persistence.xml" />
-        <file name="tmp.persistence.properties.xml"/>
+        <file name="${tmp.dir}/tmp.persistence.properties.xml"/>
         <file name="identity/META-INF/part2.persistence.xml"/>
       </filelist>
     </concat>
-  	<delete file="tmp.persistence.properties.xml" />
   </target>
 
   <target name="internal.jpdl.hibernate.mapping.files" if="is.jpdl.included">
@@ -205,7 +205,6 @@
   </target>
 
   <target name="internal.prepare">
-    <delete dir="${db.scripts.dir}" />
     <delete dir="${tmp.dir}" />
     <mkdir dir="${config.files.dir}" />
     <mkdir dir="${resolved.dir}" />




More information about the jbpm-commits mailing list