[jboss-cvs] JBossAS SVN: r83124 - projects/aop/trunk/asintegration-core/src/etc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 20 21:48:07 EST 2009


Author: flavia.rainone at jboss.com
Date: 2009-01-20 21:48:06 -0500 (Tue, 20 Jan 2009)
New Revision: 83124

Modified:
   projects/aop/trunk/asintegration-core/src/etc/jboss-50-install-jboss-aop-jdk50-build.xml
Log:
[JBAOP-694] Changed the jboss-50 install script so that now the deployers backups are put outside of deployers dir.

Modified: projects/aop/trunk/asintegration-core/src/etc/jboss-50-install-jboss-aop-jdk50-build.xml
===================================================================
--- projects/aop/trunk/asintegration-core/src/etc/jboss-50-install-jboss-aop-jdk50-build.xml	2009-01-21 02:17:00 UTC (rev 83123)
+++ projects/aop/trunk/asintegration-core/src/etc/jboss-50-install-jboss-aop-jdk50-build.xml	2009-01-21 02:48:06 UTC (rev 83124)
@@ -12,6 +12,7 @@
       <property name="jboss.config.dir" value="${jboss.home}/server/${jboss.config}"/>
       <property name="jboss.bin.dir" value="${jboss.home}/bin"/>
       <property name="jboss.client.dir" value="${jboss.home}/client"/>
+      <property name="jboss.backup.dir" value="${jboss.config.dir}/backup"/>
 
       <available file="${jboss.home}" property="jboss.exists" type="dir"/>
       <fail unless="jboss.exists" message="${jboss.home} does not exist. Modify 'jboss.home' in jboss.properties to be a valid root of a jboss installation"/>
@@ -70,13 +71,11 @@
    </target>
 
    <target name="backup.deployer" depends="init" unless="old.deployer.exists">
-      <property name="old.deployer" value="${aspect.deployer}-${tstamp}.bak"/>
+      <mkdir dir="${jboss.backup.dir}"/>
       <echo>Backing up existing aop deployer to ${old.deployer}</echo>
-      <copy todir="${old.deployer}">
+      <copy todir="${jboss.backup.dir}/jboss-aop-jboss5.deployer-${tstamp}.bak">
          <fileset dir="${aspect.deployer}"/>
       </copy>
-      <move file="${old.deployer}/META-INF/jboss-aspect-library-jboss-beans.xml" 
-         tofile="${old.deployer}/META-INF/jboss-aspect-library-jboss-beans.xml.bak"/>
    </target>
 
    <target name="backup.client.lib" if="backup.jbossaop-client">




More information about the jboss-cvs-commits mailing list