[jboss-cvs] JBossAS SVN: r91125 - trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jul 10 23:38:43 EDT 2009


Author: smarlow at redhat.com
Date: 2009-07-10 23:38:43 -0400 (Fri, 10 Jul 2009)
New Revision: 91125

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

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2009-07-11 02:14:45 UTC (rev 91124)
+++ trunk/build/build.xml	2009-07-11 03:38:43 UTC (rev 91125)
@@ -221,6 +221,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"/>
 
     <!-- Copy server/all to server/default and then remove the services 
          outside of the scope of the default config
@@ -2309,4 +2310,14 @@
     </copy>
     <!-- End varia stuff -->
   </target>
+
+   <!-- add JMX classes needed for startup time to run.jar (see JBAS-6185) -->
+  <target name="addJmxToRunJar">
+    <property name="moduleSource.output" value="${project.root}/system-jmx/target/classes"/>
+    <jar update="true" destfile="${install.bin}/run.jar"
+       basedir="${moduleSource.output}"
+       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