User: d_jencks
Date: 02/03/04 21:35:38
Modified: . build.xml
Log:
fix for bug 525445. Added JARDeployer that will only deploy jars or directories
with no WEB-INF directory and no xml files in META-INF. Modified MainDeployer to
require a deployer, and keep a list of packages waiting for a deployer.
MainDeployerMBean is now generated by xdoclet.
Revision Changes Path
1.8 +24 -2 jboss-system/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-system/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 5 Mar 2002 03:46:15 -0000 1.7
+++ build.xml 5 Mar 2002 05:35:38 -0000 1.8
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.7 2002/03/05 03:46:15 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.8 2002/03/05 05:35:38 d_jencks Exp $ -->
<project default="main" name="JBoss/System">
@@ -150,6 +150,7 @@
<property name="build.etc" value="${module.output}/etc"/>
<property name="build.bin" value="${module.output}/bin"/>
<property name="build.gen" value="${module.output}/gen"/>
+ <property name="build.gen-src" value="${module.output}/gen-src"/>
<property name="build.resources" value="${module.output}/resources"/>
<property name="build.todo" value="${module.output}/todo"/>
@@ -225,8 +226,28 @@
compile-etc,
compile-bin"/>
+ <!-- Compile mbeans with XDoclet -->
+ <target name="compile-mbean-sources" depends="init">
+ <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/deployment/JARDeployer.java"/>
+ <include name="org/jboss/deployment/MainDeployer.java"/>
+ </fileset>
+ <mbeaninterface mergedir="${project.tools}/etc/xdoclet/templates"/>
+
+ </xdoclet>
+ </target>
+
+
+
<!-- Compile all class files -->
- <target name="compile-classes" depends="init">
+ <target name="compile-classes" depends="compile-mbean-sources">
<mkdir dir="${build.classes}"/>
<javac destdir="${build.classes}"
optimize="${javac.optimize}"
@@ -239,6 +260,7 @@
includeJavaRuntime="${javac.include.java.runtime}"
failonerror="${javac.fail.onerror}">
<src path="${source.java}"/>
+ <src path="${build.gen-src}"/>
<classpath refid="javac.classpath"/>
<include name="${javac.includes}"/>
<exclude name="${javac.excludes}"/>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development