User: schaefera
Date: 01/11/11 20:24:18
Modified: . build.xml
Log:
Reworked Farm which is now part of clustering and uses JavaGroups. Right
now only the "farm-service.xml" must be deployed on each node of the
farm and then servies must be placed into "/jboss/deploy/farm" and voila
you this servies deployed on all nodes of the farm.
Updated the JSR-77 file and created the MEJB Session Bean which allows
the client to retrieve management info from the server and then manage
the server. The Session Bean is a vain implementation.
Revision Changes Path
1.38 +44 -10 jboss/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/build.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- build.xml 2001/10/23 07:10:45 1.37
+++ build.xml 2001/11/12 04:24:18 1.38
@@ -10,7 +10,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.37 2001/10/23 07:10:45 schaefera Exp $ -->
+<!-- $Id: build.xml,v 1.38 2001/11/12 04:24:18 schaefera Exp $ -->
<project default="main" name="JBoss/Server">
@@ -320,8 +320,12 @@
<property name="build.etc" value="${module.output}/etc"/>
<property name="build.bin" value="${module.output}/bin"/>
<property name="build.docs" value="${module.output}/docs"/>
- <property name="build.beans" value="${module.output}/beans"/>
- <property name="build.metadata" value="${module.output}/metadata"/>
+ <property name="build.ejbadaptor" value="${module.output}/ejbadaptor"/>
+ <property name="build.ejbadaptor.beans" value="${build.ejbadaptor}/beans"/>
+ <property name="build.ejbadaptor.metadata"
value="${build.ejbadaptor}/metadata"/>
+ <property name="build.mejb" value="${module.output}/mejb"/>
+ <property name="build.mejb.beans" value="${build.mejb}/beans"/>
+ <property name="build.mejb.metadata" value="${build.mejb}/metadata"/>
<property name="build.resources" value="${module.output}/resources"/>
<property name="build.reports" value="${module.output}/reports"/>
@@ -396,10 +400,10 @@
<target name="compile-bean-sources" depends="init">
<taskdef name="xdoclet" classname="xdoclet.ejb.EjbDocletTask"/>
- <mkdir dir="${build.beans}"/>
- <mkdir dir="${build.metadata}/META-INF"/>
+ <mkdir dir="${build.ejbadaptor.beans}"/>
+ <mkdir dir="${build.ejbadaptor.metadata}/META-INF"/>
<xdoclet sourcepath="${source.java}"
- destdir="${build.beans}"
+ destdir="${build.ejbadaptor.beans}"
classpath="${xdoclet.task.classpath}"
ejbspec="1.1"
excludedtags="@version,@author">
@@ -410,10 +414,29 @@
<homeinterface/>
<session/>
<deploymentdescriptor xmlencoding ="UTF-8"
- destdir="${build.metadata}/META-INF"/>
+ destdir="${build.ejbadaptor.metadata}/META-INF"/>
<jboss xmlencoding="UTF-8"
- destdir="${build.metadata}/META-INF"/>
+ destdir="${build.ejbadaptor.metadata}/META-INF"/>
</xdoclet>
+
+ <mkdir dir="${build.mejb.beans}"/>
+ <mkdir dir="${build.mejb.metadata}/META-INF"/>
+ <xdoclet sourcepath="${source.java}"
+ destdir="${build.mejb.beans}"
+ classpath="${xdoclet.task.classpath}"
+ ejbspec="1.1"
+ excludedtags="@version,@author">
+ <fileset dir="${source.java}">
+ <include name="org/jboss/management/mejb/**" />
+ </fileset>
+ <remoteinterface/>
+ <homeinterface/>
+ <session/>
+ <deploymentdescriptor xmlencoding ="UTF-8"
+ destdir="${build.mejb.metadata}/META-INF"/>
+ <jboss xmlencoding="UTF-8"
+ destdir="${build.mejb.metadata}/META-INF"/>
+ </xdoclet>
</target>
<!-- Compile all class files -->
@@ -430,7 +453,8 @@
includeJavaRuntime="${javac.include.java.runtime}"
failonerror="${javac.fail.onerror}">
<src path="${source.java}"/>
- <src path="${build.beans}"/>
+ <src path="${build.ejbadaptor.beans}"/>
+ <src path="${build.mejb.beans}"/>
<classpath refid="javac.classpath"/>
<include name="${javac.includes}"/>
<exclude name="${javac.excludes}"/>
@@ -648,8 +672,18 @@
<include name="org/jboss/jmx/adaptor/ejb/**"/>
<include name="org/jboss/jmx/adaptor/interfaces/**"/>
<include name="org/jboss/jmx/connector/RemoteMBeanServer.class"/>
+ </fileset>
+ <fileset dir="${build.ejbadaptor.metadata}">
+ <include name="META-INF/*.xml"/>
+ </fileset>
+ </jar>
+
+ <!-- Build ejb-management.jar -->
+ <jar jarfile="${build.lib}/ejb-management.jar">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/management/mejb/**"/>
</fileset>
- <fileset dir="${build.metadata}">
+ <fileset dir="${build.mejb.metadata}">
<include name="META-INF/*.xml"/>
</fileset>
</jar>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development