[jboss-cvs] JBossAS SVN: r109559 - branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 30 10:57:37 EST 2010


Author: rachmatowicz at jboss.com
Date: 2010-11-30 10:57:37 -0500 (Tue, 30 Nov 2010)
New Revision: 109559

Modified:
   branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.xml
Log:
Make datagrid installer idempotent (JBPAPP-5485)

Modified: branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.xml
===================================================================
--- branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.xml	2010-11-30 15:53:40 UTC (rev 109558)
+++ branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.xml	2010-11-30 15:57:37 UTC (rev 109559)
@@ -10,6 +10,9 @@
         <property name="datagrid.deployers" value="${server.datagrid}/deployers"/>
         <property name="datagrid.lib" value="${server.datagrid}/lib"/>
 
+    	<!-- delete any existing datagrid directory -->
+    	<delete dir="${server.datagrid}"/>
+    	
         <mkdir dir="${server.datagrid}"/>
         <mkdir dir="${datagrid.deploy}"/>
         <mkdir dir="${datagrid.conf}"/>



More information about the jboss-cvs-commits mailing list