[jboss-cvs] JBossAS SVN: r91119 - branches/Branch_5_x/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 10 17:05:17 EDT 2009


Author: smarlow at redhat.com
Date: 2009-07-10 17:05:17 -0400 (Fri, 10 Jul 2009)
New Revision: 91119

Modified:
   branches/Branch_5_x/build/build.xml
Log:
JBAS-6185 add MBeanServerBuilderImpl + LazyMBeanServer to run.jar

Modified: branches/Branch_5_x/build/build.xml
===================================================================
--- branches/Branch_5_x/build/build.xml	2009-07-10 21:01:41 UTC (rev 91118)
+++ branches/Branch_5_x/build/build.xml	2009-07-10 21:05:17 UTC (rev 91119)
@@ -62,6 +62,7 @@
 
   <target name="configure" unless="configure.disable">
 
+
     <!-- =================== -->
     <!-- Basic Configuration -->
     <!-- =================== -->
@@ -703,7 +704,7 @@
   default and all configs with a minimal set of jars in the root lib dir.
   -->
   <target name="partition-build" depends="init">
-
+    <antcall target="addJmxToRunJar"/>
     <!-- move to the common library directory the jars common to all configs;
          the minimal config currently is not point to it
     -->
@@ -1165,4 +1166,15 @@
       <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"
+    />
+    <copy file="${moduleDest.output}/lib/run.jar" todir="${install.bin}"/>
+   </target>
+
 </project>




More information about the jboss-cvs-commits mailing list