User: schaefera
  Date: 02/03/10 20:31:34

  Modified:    .        build.xml
  Log:
  Moved the JSR-77 code to the new "management" module. It contains the
  specification implementation for MEJB and the JBoss implementation.
  It does not contain references to JBoss server.
  
  The only workaround there is that MEJB needs to use the JMX RemoteMBean-
  Server which is not available in JBossMX right now. Therefore I added
  this to a JAR achive under tools/lib.
  
  Revision  Changes    Path
  1.79      +10 -72    jboss/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/build.xml,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- build.xml 8 Mar 2002 05:30:46 -0000       1.78
  +++ build.xml 11 Mar 2002 04:31:34 -0000      1.79
  @@ -12,7 +12,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.78 2002/03/08 05:30:46 schaefera Exp $ -->
  +<!-- $Id: build.xml,v 1.79 2002/03/11 04:31:34 schaefera Exp $ -->
   
   <project default="main" name="JBoss/Server">
   
  @@ -172,13 +172,6 @@
         <pathelement path="${javagroups.javagroups.lib}/javagroups-2.0.jar"/>
       </path>
   
  -    <!-- JSR 77 -->
  -    <property name="sun.jsr77.root" value="${project.thirdparty}/sun/jsr77"/>
  -    <property name="sun.jsr77.lib" value="${sun.jsr77.root}/lib"/>
  -    <path id="sun.jsr77.classpath">
  -      <pathelement path="${sun.jsr77.lib}/jsr77.jar"/>
  -    </path>
  -
       <!-- The combined library classpath -->
       <path id="library.classpath">
         <path refid="sun.jndi.classpath"/>
  @@ -193,7 +186,6 @@
         <path refid="gnu.getopt.classpath"/>
         <path refid="oswego.concurrent.classpath"/>
         <path refid="junit.junit.classpath"/>
  -      <path refid="sun.jsr77.classpath"/>
       </path>
   
       <!-- ======= -->
  @@ -228,12 +220,21 @@
         <pathelement path="${jboss.naming.lib}/jnpserver.jar"/>
       </path>
   
  +    <!-- Management -->
  +    <property name="jboss.management.root" 
value="${project.root}/management/output"/>
  +    <property name="jboss.management.lib" value="${jboss.management.root}/lib"/>
  +    <path id="jboss.management.classpath">
  +      <pathelement path="${jboss.management.lib}/jboss-jsr77.jar"/>
  +      <pathelement path="${jboss.management.lib}/jboss-management.jar"/>
  +    </path>
  +
       <!-- The combined dependant module classpath -->
       <path id="dependentmodule.classpath">
         <path refid="jboss.j2ee.classpath"/>
         <path refid="jboss.common.classpath"/>
         <path refid="jboss.system.classpath"/>
         <path refid="jboss.naming.classpath"/>
  +      <path refid="jboss.management.classpath"/>
       </path>
   
       <!-- ===== -->
  @@ -404,54 +405,6 @@
         <jboss xmlencoding="UTF-8" destdir="${build.beans}/ejbadaptor/META-INF"/>
       </xdoclet>
   
  -    <mkdir dir="${build.beans}/mejb"/>
  -    <xdoclet sourcepath="${source.java}"
  -          destdir="${build.beans}/mejb"
  -          classpath="${xdoclet.task.classpath}"
  -          ejbspec="1.1"
  -          excludedtags="@version,@author">
  -      <fileset dir="${source.java}">
  -        <include name="org/jboss/management/mejb/*Bean.java"/>
  -        <exclude name="org/jboss/management/mejb/*MBean.java"/>
  -      </fileset>
  -      <packageSubstitution packages="ejb" substituteWith="interfaces"/>
  -      <remoteinterface/>
  -      <homeinterface/>
  -      <session/>
  -      <deploymentdescriptor xmlencoding="UTF-8" 
destdir="${build.beans}/mejb/META-INF"/>
  -      <jboss xmlencoding="UTF-8" destdir="${build.beans}/mejb/META-INF"/>
  -    </xdoclet>
  -    
  -    <!-- AS: Create Standard MBean interfaces until XMBean is ready -->
  -    <taskdef name="xdoclet" classname="xdoclet.jmx.JMXDocletTask"/>
  -    
  -    <mkdir dir="${build.gen-src}"/>
  -    <xdoclet sourcepath="${source.java}"
  -          destdir="${build.gen-src}"
  -          classpath="${xdoclet.task.classpath}"
  -          excludedtags="@version,@author"
  -    >
  -      <fileset dir="${source.java}">
  -        <include name="org/jboss/management/j2ee/*.java"/>
  -        <exclude name="org/jboss/management/j2ee/J2EEDomainTarget.java"/>
  -      </fileset>
  -      <mbeaninterface/>
  -    </xdoclet>
  -    
  -    <!-- AS XMBean/XDoclet is not ready right now therefore keep out for now
  -    <taskdef name="xdoclet" classname="xdoclet.jmx.JMXDocletTask"/>
  -    
  -    <xdoclet sourcepath="${source.java}"
  -          destdir="${build.gen-src}"
  -          classpath="${xdoclet.task.classpath}"
  -          excludedtags="@version,@author"
  -    >
  -      <fileset dir="${source.java}">
  -        <include name="org/jboss/management/j2ee/*Target.java"/>
  -      </fileset>
  -      <jbossxmbean/>
  -    </xdoclet>
  -    -->
     </target>
   
     <!-- Compile all class files -->
  @@ -498,7 +451,6 @@
         <include name="org/jboss/jmx/adaptor/rmi/RMIAdaptorImpl.class"/>
         <include 
name="org/jboss/jmx/connector/notification/RMIClientNotificationListener.class"/>
         <include name="org/jboss/invocation/jrmp/server/JRMPInvoker.class"/>
  -      <include 
name="org/jboss/management/mejb/RMIClientNotificationListener.class"/>
       </rmic>
     </target>
   
  @@ -663,20 +615,6 @@
           <include name="org/jboss/jmx/connector/RemoteMBeanServer.class"/>
         </fileset>
         <fileset dir="${build.beans}/ejbadaptor">
  -        <include name="META-INF/**"/>
  -      </fileset>
  -    </jar>
  -
  -    <!-- ejb-management.jar --> 
  -    <!-- (should try to use jlink for this) -->  
  -    <unjar src="${sun.jsr77.lib}/jsr77.jar" dest="${build.classes}"/> 
  -    <jar jarfile="${build.lib}/ejb-management.jar"
  -         manifest="${build.etc}/manifest/version.mf">
  -      <fileset dir="${build.classes}">
  -        <include name="org/jboss/management/mejb/**"/>
  -        <include name="javax/management/j2ee/Management*.class"/>
  -      </fileset>
  -      <fileset dir="${build.beans}/mejb">
           <include name="META-INF/**"/>
         </fileset>
       </jar>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to