User: d_jencks Date: 02/03/24 13:44:32 Modified: . build.xml Log: New ConnectionManager implementation Revision Changes Path 1.34 +57 -5 jbosscx/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosscx/build.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- build.xml 23 Mar 2002 21:11:00 -0000 1.33 +++ build.xml 24 Mar 2002 21:44:31 -0000 1.34 @@ -12,7 +12,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.33 2002/03/23 21:11:00 ejort Exp $ --> +<!-- $Id: build.xml,v 1.34 2002/03/24 21:44:31 d_jencks Exp $ --> <project default="main" name="JBoss/Connector"> @@ -92,6 +92,13 @@ <pathelement path="${apache.log4j.lib}/log4j.jar"/> </path> + <!-- EDU.oswego.cs.dl.util.concurrent --> + <property name="oswego.concurrent.root" value="${project.thirdparty}/oswego/concurrent"/> + <property name="oswego.concurrent.lib" value="${oswego.concurrent.root}/lib"/> + <path id="oswego.concurrent.classpath"> + <pathelement path="${oswego.concurrent.lib}/concurrent.jar"/> + </path> + <!-- JUnit --> <property name="junit.junit.root" value="${project.thirdparty}/junit/junit"/> <property name="junit.junit.lib" value="${junit.junit.root}/lib"/> @@ -104,6 +111,7 @@ <path refid="sun.jaxp.classpath"/> <path refid="sun.jaas.classpath"/> <path refid="apache.log4j.classpath"/> + <path refid="oswego.concurrent.classpath"/> <path refid="junit.junit.classpath"/> </path> @@ -132,6 +140,14 @@ <pathelement path="${jboss.system.lib}/jboss-system.jar"/> </path> + <!-- Security --> + <property name="jboss.security.root" value="${project.root}/security/output"/> + <property name="jboss.security.lib" value="${jboss.security.root}/lib"/> + <path id="jboss.security.classpath"> + <pathelement path="${jboss.security.lib}/jaas.jar"/> + <pathelement path="${jboss.security.lib}/jbosssx.jar"/> + </path> + <!-- Server --> <property name="jboss.server.root" value="${project.root}/server/output"/> <property name="jboss.server.lib" value="${jboss.server.root}/lib"/> @@ -163,11 +179,12 @@ <!-- The combined depedant module classpath --> <path id="dependentmodule.classpath"> - <path refid="jboss.j2ee.classpath"/> <path refid="jboss.common.classpath"/> - <path refid="jboss.system.classpath"/> - <path refid="jboss.server.classpath"/> + <path refid="jboss.j2ee.classpath"/> <path refid="jboss.pool.classpath"/> + <path refid="jboss.security.classpath"/> + <path refid="jboss.server.classpath"/> + <path refid="jboss.system.classpath"/> <path refid="jboss.management.classpath"/> <path refid="jboss.jmx.classpath"/> </path> @@ -189,6 +206,9 @@ <property name="build.etc" value="${module.output}/etc"/> <property name="build.resources" value="${module.output}/resources"/> + <!--xdoclet output directories--> + <property name="build.gen-src" value="${module.output}/gen-src/"/> + <!-- Install/Release structure --> <property name="install.id" value="${module.name}-${module.version}"/> <property name="release.id" value="${install.id}"/> @@ -226,6 +246,15 @@ <property name="junit.timeout" value="240000"/> <!-- 4 minutes --> <property name="junit.batchtest.todir" value="${build.reports}"/> <property name="junit.jvm.options" value="-Ddummy"/> + <!-- xdoclet --> + <path id="xdoclet.task.classpath"> + <path refid="javac.classpath"/> + <pathelement location="${project.tools}/lib/xdoclet.jar"/> + <pathelement location="${project.tools}/lib/ant.jar"/> + </path> + <property name="xdoclet.task.classpath" + refid="xdoclet.task.classpath"/> + </target> @@ -244,8 +273,30 @@ depends="compile-classes, compile-resources, compile-etc" description="Compile all source files."/> + + <!-- Compile mbeans with XDoclet --> + <target name="compile-mbean-classes" depends="init"> + <taskdef name="jmxdoclet" classname="xdoclet.jmx.JMXDocletTask"/> + + <mkdir dir="${build.gen-src}"/> + <jmxdoclet sourcepath="${source.java}" + destdir="${build.gen-src}" + classpath="${xdoclet.task.classpath}" + force="true" + excludedtags="@version,@author"> + <fileset dir="${source.java}"> + <include name="org/jboss/resource/connectionmanager/*.java"/> + </fileset> + <mbeaninterface mergedir="${project.tools}/etc/xdoclet/templates"/> + <jbossXmlServiceTemplate/> + <jbossxmbean/> + </jmxdoclet> + + </target> + + <!-- Compile all class files --> - <target name="compile-classes" depends="init"> + <target name="compile-classes" depends="init, compile-mbean-classes"> <mkdir dir="${build.classes}"/> <javac destdir="${build.classes}" optimize="${javac.optimize}" @@ -258,6 +309,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