[jboss-cvs] JBossAS SVN: r110428 - branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jan 21 17:44:28 EST 2011


Author: pferraro
Date: 2011-01-21 17:44:26 -0500 (Fri, 21 Jan 2011)
New Revision: 110428

Modified:
   branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml
Log:
JBPAPP-5770 Apply guest user disable to both production and production-backup profiles.

Modified: branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml
===================================================================
--- branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml	2011-01-21 20:57:42 UTC (rev 110427)
+++ branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml	2011-01-21 22:44:26 UTC (rev 110428)
@@ -53,9 +53,12 @@
          <param name="CONFIG_TYPE" value="clustered"/>
       </antcall>
 
-   	   <!--we need to disable guest security for production-->
-   	   <replace file="${jboss_home}/server/production/conf/props/hornetq-users.properties" token="guest=guest" value="#guest=guest"/>
-   	   <replace file="${jboss_home}/server/production/conf/props/hornetq-roles.properties" token="guest=guest" value="#guest=guest"/> 
+      <!-- we need to disable guest security for production-based profiles -->
+      <replace token="guest=guest" value="#guest=guest">
+         <fileset dir="${jboss_home}">
+            <include name="server/production*/conf/props/hornetq-*.properties"/>
+         </fileset>
+      </replace>
    </target>
 
    <target name="removeCommon">
@@ -125,7 +128,7 @@
       <copy todir="${jboss_home}/server/${config}/deploy/jms-ra.rar/" file="${lib.dir}/hornetq-ra.jar" overwrite="true"/>
       <copy todir="${jboss_home}/server/${config}/deploy/jms-ra.rar/META-INF" file="${resources.dir}/ra.xml" overwrite="true"/>
       <copy todir="${jboss_home}/server/${config}/deployers/jbossws.deployer" file="${lib.dir}/jbossws-hornetq.jar" overwrite="true"/>
-   	  <antcall target="createBackup"></antcall>
+      <antcall target="createBackup"></antcall>
    </target>
    
    <target name="createBackup" if="backup">



More information about the jboss-cvs-commits mailing list