[jboss-cvs] JBossAS SVN: r91080 - branches/JBPAPP_5_0/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 10 10:49:42 EDT 2009


Author: smarlow at redhat.com
Date: 2009-07-10 10:49:42 -0400 (Fri, 10 Jul 2009)
New Revision: 91080

Modified:
   branches/JBPAPP_5_0/build/build.xml
Log:
JBPAPP-2246 add MBeanServerBuilderImpl + LazyMBeanServer to run.jar

Modified: branches/JBPAPP_5_0/build/build.xml
===================================================================
--- branches/JBPAPP_5_0/build/build.xml	2009-07-10 14:49:24 UTC (rev 91079)
+++ branches/JBPAPP_5_0/build/build.xml	2009-07-10 14:49:42 UTC (rev 91080)
@@ -344,9 +344,11 @@
 
   <target name="modules-all" depends="_buildmagic:modules:all">
      <antcall target="thirdparty"/>
+     <antcall target="addJmxToRunJar"/>
   </target>
   <target name="modules-most" depends="_buildmagic:modules:most">
      <antcall target="thirdparty"/>
+     <antcall target="addJmxToRunJar"/>
   </target>
   <target name="modules-main" depends="_buildmagic:modules:main"/>
   <target name="modules-release" depends="_buildmagic:modules:release"/>
@@ -1258,4 +1260,14 @@
       <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.username}" proxypassword="${proxy.password}"/>
    </target>
 
+   <!-- add JMX classes needed for startup time to run.jar (see JBAS-6185) -->
+   <target name="addJmxToRunJar">
+    <property name="moduleSource.output" override="true" value="${project.root}/system-jmx/output"/>
+    <property name="moduleDest.output" override="true" value="${project.root}/main/output"/>
+    <jar update="true" destfile="${moduleDest.output}/lib/run.jar"
+       basedir="${moduleSource.output}/classes"
+       includes="org/jboss/system/server/jmx/MBeanServerBuilderImpl.class org/jboss/system/server/jmx/LazyMBeanServer.class"
+    />
+   </target>
+
 </project>




More information about the jboss-cvs-commits mailing list