[jboss-cvs] JBossAS SVN: r110453 - 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
Wed Jan 26 11:51:25 EST 2011


Author: ataylor
Date: 2011-01-26 11:51:25 -0500 (Wed, 26 Jan 2011)
New Revision: 110453

Modified:
   branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml
Log:
updated HornetQ script

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-26 15:32:43 UTC (rev 110452)
+++ branches/JBPAPP_5_1_0_Final_HornetQ_2_2/hornetq-int/src/etc/build.xml	2011-01-26 16:51:25 UTC (rev 110453)
@@ -57,8 +57,20 @@
       <replace dir="${jboss_home}" token="guest=guest" value="#guest=guest">
          <include name="server/production*/conf/props/hornetq-*.properties"/>
       </replace>
+
+      <available file="${lib.dir}/hornetq-jopr-plugin.jar" property="PLUGIN_EXISTS"/>
+
+      <antcall target="copy-jopr-plugin"/>
    </target>
 
+   <target name="copy-jopr-plugin" if="PLUGIN_EXISTS">
+      <!-- this can be removed once the admin console is handled better-->
+       <copy todir="${jboss_home}/server/all/deploy/admin-console.war/plugins/" file="${lib.dir}/hornetq-jopr-plugin.jar" overwrite="true"/>
+       <copy todir="${jboss_home}/server/web/deploy/admin-console.war/plugins/" file="${lib.dir}/hornetq-jopr-plugin.jar" overwrite="true"/>
+       <copy todir="${jboss_home}/server/default/deploy/admin-console.war/plugins/" file="${lib.dir}/hornetq-jopr-plugin.jar" overwrite="true"/>
+       <copy todir="${jboss_home}/server/production/deploy/admin-console.war/plugins/" file="${lib.dir}/hornetq-jopr-plugin.jar" overwrite="true"/>
+   </target>
+
    <target name="removeCommon">
       <echo>Removing Common JBoss Messaging Components</echo>
       <delete file="${jboss_home}/common/lib/jboss-messaging.jar"/>
@@ -128,7 +140,7 @@
       <copy todir="${jboss_home}/server/${config}/deployers/jbossws.deployer" file="${lib.dir}/jbossws-hornetq.jar" overwrite="true"/>
       <antcall target="createBackup"></antcall>
    </target>
-   
+
    <target name="createBackup" if="backup">
       <property name="backup.config" value="${config}${backup.suffix}"/>
       <echo>Create HornetQ dedicated backup profile for ${config}</echo>



More information about the jboss-cvs-commits mailing list