User: user57
Date: 02/02/05 17:01:26
Modified: jbossmx build.xml
Log:
o cleaned up unused bits. this file should be further customized to generate
the proper distribution (via the release targets) to include the proper
bits (as well as the proper versions identifiers and such).
Revision Changes Path
1.2 +18 -1116 build/jbossmx/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/build/jbossmx/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2002/02/05 01:50:32 1.1
+++ build.xml 2002/02/06 01:01:26 1.2
@@ -12,9 +12,9 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.1 2002/02/05 01:50:32 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.2 2002/02/06 01:01:26 user57 Exp $ -->
-<project default="main" name="JBoss/Build">
+<project default="main" name="JBossMX/Build">
<!-- ================================================================== -->
<!-- Setup -->
@@ -61,100 +61,33 @@
<!-- =================== -->
<!-- Version identifiers for the server. -->
- <property name="version.major" value="3"/>
+ <property name="version.major" value="1"/>
<property name="version.minor" value="0"/>
<property name="version.revision" value="0"/>
- <property name="version.tag" value="DR1"/>
- <property name="version.name" value="RABBIT-HOLE"/>
+ <property name="version.tag" value="alpha"/>
+ <property name="version.name" value="unknown"/>
<!-- Module name(s) & version -->
- <property name="module.name" value="jboss"/>
- <property name="module.Name" value="JBoss Build"/>
+ <property name="module.name" value="jbossmx"/>
+ <property name="module.Name" value="JBossMX Build"/>
<property name="module.version"
value="${version.major}.${version.minor}.${version.revision}${version.tag}"/>
<!-- ========= -->
<!-- Libraries -->
<!-- ========= -->
- <!-- Java Naming and Directory Interface (JNDI) -->
- <property name="sun.jndi.root" value="${project.thirdparty}/sun/jndi"/>
- <property name="sun.jndi.lib" value="${sun.jndi.root}/lib"/>
-
- <!-- Java Management Extensions (JMX) -->
- <property name="sun.jmx.root" value="${project.thirdparty}/sun/jmx"/>
- <property name="sun.jmx.lib" value="${sun.jmx.root}/lib"/>
-
- <!-- Java API for XML Processing (JAXP) -->
- <property name="sun.jaxp.root" value="${project.thirdparty}/sun/jaxp"/>
- <property name="sun.jaxp.lib" value="${sun.jaxp.root}/lib"/>
-
- <!-- Java Authentication and Authorization Service (JAAS) -->
- <property name="sun.jaas.root" value="${project.thirdparty}/sun/jaas"/>
- <property name="sun.jaas.lib" value="${sun.jaas.root}/lib"/>
-
- <!-- JavaBeans Activation Framework (JAF) -->
- <property name="sun.jaf.root" value="${project.thirdparty}/sun/jaf"/>
- <property name="sun.jaf.lib" value="${sun.jaf.root}/lib"/>
-
- <!-- JavaMail -->
- <property name="sun.javamail.root" value="${project.thirdparty}/sun/javamail"/>
- <property name="sun.javamail.lib" value="${sun.javamail.root}/lib"/>
-
- <!-- Java Transaction Service (JTS) -->
- <property name="sun.jts.root" value="${project.thirdparty}/sun/jts"/>
- <property name="sun.jts.lib" value="${sun.jts.root}/lib"/>
-
- <!-- Log4j -->
- <property name="apache.log4j.root" value="${project.thirdparty}/apache/log4j"/>
- <property name="apache.log4j.lib" value="${apache.log4j.root}/lib"/>
-
<!-- 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"/>
- <!-- JPL-Util -->
- <property name="gjt.jpl-util.root" value="${project.thirdparty}/gjt/jpl-util"/>
- <property name="gjt.jpl-util.lib" value="${gjt.jpl-util.root}/lib"/>
-
- <!-- JavaGroups -->
- <property name="javagroups.javagroups.root"
value="${project.thirdparty}/javagroups/javagroups"/>
- <property name="javagroups.javagroups.lib"
value="${javagroups.javagroups.root}/lib"/>
-
- <!-- JSR 77 -->
- <property name="sun.jsr77.root" value="${project.thirdparty}/sun/jsr77"/>
- <property name="sun.jsr77.lib" value="${sun.jsr77.root}/lib"/>
-
- <!-- GNU Regexp -->
- <property name="gnu.regexp.root" value="${project.thirdparty}/gnu/regexp"/>
- <property name="gnu.regexp.lib" value="${gnu.regexp.root}/lib"/>
-
- <!-- GNU Getopt -->
- <property name="gnu.getopt.root" value="${project.thirdparty}/gnu/getopt"/>
- <property name="gnu.getopt.lib" value="${gnu.getopt.root}/lib"/>
-
- <!-- Java Secure Socket Extension (JSSE) -->
- <property name="sun.jsse.root" value="${project.thirdparty}/sun/jsse"/>
- <property name="sun.jsse.lib" value="${sun.jsse.root}/lib"/>
-
- <!-- Hypersonic SQL -->
- <property name="hsqldb.hsqldb.root"
value="${project.thirdparty}/hsqldb/hsqldb"/>
- <property name="hsqldb.hsqldb.lib" value="${hsqldb.hsqldb.root}/lib"/>
-
- <!-- Castor -->
- <property name="exolab.castor.root"
value="${project.thirdparty}/exolab/castor"/>
- <property name="exolab.castor.lib" value="${exolab.castor.root}/lib"/>
-
- <!-- Tyrex -->
- <property name="exolab.tyrex.root" value="${project.thirdparty}/exolab/tyrex"/>
- <property name="exolab.tyrex.lib" value="${exolab.tyrex.root}/lib"/>
-
- <!-- Axis -->
- <property name="apache.axis.root" value="${project.thirdparty}/apache/axis"/>
- <property name="apache.axis.lib" value="${apache.axis.root}/lib"/>
+ <!-- org.jdom -->
+ <property name="jdom.root" value="${project.thirdparty}/jdom"/>
+ <property name="jdom.lib" value="${jdom.root}/beta-7/lib"/>
+
+ <!-- org.xml.sax (SAX2) -->
+ <property name="sax.root" value="${project.thirdparty}/xml/sax"/>
+ <property name="sax.lib" value="${sax.root}/lib"/>
- <!-- The combined library classpath -->
- <path id="library.classpath">
- </path>
<!-- ============== -->
<!-- Modules/Groups -->
@@ -167,69 +100,24 @@
<moduleconfig property="modules" selected="${groups}">
<!-- Standard modules -->
- <module name="j2ee"/>
- <module name="naming"/>
<module name="jmx"/>
- <module name="server"/>
- <module name="security"/>
- <module name="messaging"/>
- <module name="connector"/>
- <module name="pool"/>
- <module name="cluster"/>
- <module name="admin"/>
- <module name="testsuite"/>
-
- <!-- Plugin modules -->
- <module name="plugins/varia"/>
- <module name="plugins/jetty"/>
- <module name="plugins/jboss.net"/>
<!-- Module groups -->
<group name="core">
- <include modules="j2ee, naming, server"/>
- </group>
-
-<!-- Should jmx go in core? -->
- <group name="standard">
- <include modules="security,
- jmx,
- messaging,
- pool,
- connector,
- admin,
- cluster"/>
- </group>
-
- <group name="optional">
- <include groups="optional-plugins"/>
- </group>
-
- <group name="optional-plugins">
- <include modules="plugins/jboss.net"/>
- </group>
-
- <group name="standard-plugins">
- <include modules="plugins/varia, plugins/jetty"/>
+ <include modules="jmx"/>
</group>
<!-- Module group sets -->
<group name="default">
- <include groups="core, standard, standard-plugins"/>
+ <include groups="core"/>
</group>
<group name="most">
- <include groups="core, standard"/>
+ <include groups="core"/>
</group>
- <group name="plugins">
- <include groups="standard-plugins"/>
- <include groups="optional-plugins"/>
- </group>
-
<group name="all">
- <include groups="core, standard, optional"/>
- <include groups="standard-plugins"/>
- <include groups="optional-plugins"/>
+ <include groups="core"/>
</group>
</moduleconfig>
@@ -332,480 +220,6 @@
<!-- Module Pass-through Hooks -->
<!-- ================================================================== -->
- <!--
- | These hooks are executed after the above pass-through targets have
- | finished with a given module.
- -->
-
- <!-- ==== -->
- <!-- J2EE -->
- <!-- ==== -->
-
- <target name="_module-j2ee-most">
- <property name="_module.name" value="j2ee" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss-j2ee.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss-j2ee.jar"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-j2ee-all" depends="_module-j2ee-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ====== -->
- <!-- Naming -->
- <!-- ====== -->
-
- <target name="_module-naming-most">
- <property name="_module.name" value="naming" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jnpserver.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jnp-client.jar"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-naming-all" depends="_module-naming-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ====== -->
- <!-- Server -->
- <!-- ====== -->
-
- <target name="_module-server-most">
- <property name="_module.name" value="server" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib) -->
- <mkdir dir="${install.lib}"/>
- <copy todir="${install.lib}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss-boot.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss.jar"/>
- <include name="jboss-spine.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="*-client.jar"/>
- <include name="connector.jar"/>
- <include name="jmx-ejb-connector-client.jar"/>
- <include name="jmx-rmi-connector-client.jar"/>
- <include name="jmx-connector-client-factory.jar"/>
-
- <!-- Shouldn't these go into bin ? -->
- <include name="stop.jar"/>
- <include name="deploy.jar"/>
- </fileset>
- </copy>
-
- <!-- Setup the deployment directory (deploy) -->
- <mkdir dir="${install.deploy}"/>
-
- <!-- Copy the generated deployment libraries (deploy/lib) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jms-ra.rar"/>
- </fileset>
- </copy>
-
- <!-- Copy the mail service xml snippet (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc/conf/default">
- <include name="mail-service.xml"/>
- </fileset>
- </copy>
-
- <!-- No way, ray. in jboss-service.xml that gets deployed first.
- Copy the core service xml snippet (deploy) - ->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc/conf/default">
- <include name="core-service.xml"/>
- </fileset>
- </copy-->
-
- <!-- Copy the jetty service xml snippet (deploy) NOW IN A SAR -->
-
- <!-- Copy the jms service xml snippet (deploy) -->
-
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc/conf/default">
- <include name="jms-service.xml"/>
- </fileset>
- </copy>
-
-
- <!-- Copy the hsqldb defaultds service xml snippet (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc/conf/default">
- <include name="hsqldb-default-service.xml"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-ejb-adaptor.jar (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-ejb-adaptor.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the ejb-management.jar (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="ejb-management.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-ejb-connector-server.sar (deploy/lib) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-ejb-connector-server.sar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-html-adaptor.sar (deploy/lib) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-html-adaptor.sar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-rmi-connector-server.sar (deploy/lib) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-rmi-adaptor.sar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-ejb-connector-client.jar (client) -->
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-ejb-connector-client.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-rmi-connector-client.jar (client) -->
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-rmi-connector-client.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jmx-connector-client-test.jar (client) -->
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jmx-connector-client-factory.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated scripts & runnable jars (bin) -->
- <mkdir dir="${install.bin}"/>
- <copy todir="${install.bin}" filtering="no">
- <fileset dir="${_module.output}/bin">
- <include name="**/*"/>
- </fileset>
- <fileset dir="${_module.output}/lib">
- <include name="run.jar"/>
- <include name="shutdown.jar"/>
- </fileset>
- </copy>
- <chmod perm="+x">
- <fileset dir="${install.bin}">
- <include name="**/*.sh"/>
- </fileset>
- </chmod>
-
- <!-- Copy the default configuration files (conf) -->
- <mkdir dir="${install.conf}"/>
- <copy todir="${install.conf}" filtering="no">
- <fileset dir="${_module.output}/etc/conf">
- <include name="default/*"/>
-
- <!-- Need to fix this, these files don't belong here -->
- <exclude name="default/mail-service.xml"/>
- <exclude name="default/core-service.xml"/>
- <exclude name="default/jetty-service.xml"/>
- <exclude name="default/jms-service.xml"/>
- <exclude name="default/hsqldb-default-service.xml"/>
- <exclude name="default/user-service.xml"/>
- </fileset>
- </copy>
-
- <!-- Setup the database directory (db) -->
- <mkdir dir="${install.db}"/>
-
- <!-- Setup the log file directory (log) -->
- <mkdir dir="${install.log}"/>
-
- <!-- Setup the temporary file directory (tmp) -->
- <mkdir dir="${install.tmp}"/>
-
- </target>
-
- <target name="_module-server-all" depends="_module-server-most">
- <!-- Copy the static documents (docs) -->
- <mkdir dir="${install.docs}"/>
- <copy todir="${install.docs}" filtering="no">
- <fileset dir="${_module.output}/docs">
- <include name="**/*"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ===== -->
- <!-- Admin -->
- <!-- ===== -->
-
- <target name="_module-admin-most">
- <property name="_module.name" value="admin" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated scripts & runnable jars (bin) -->
- <mkdir dir="${install.bin}"/>
- <copy todir="${install.bin}" filtering="no">
- <fileset dir="${_module.output}/bin">
- <include name="**/*"/>
- </fileset>
- </copy>
-
- <!-- Copy admin files (admin) -->
- <mkdir dir="${install.admin}"/>
- <copy todir="${install.admin}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="**/*"/>
- </fileset>
- </copy>
-
- <!-- Copy admin files (admin/client) -->
- <mkdir dir="${install.admin.client}"/>
- <copy todir="${install.admin.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="monitor.jar"/>
- </fileset>
- <fileset dir="${_module.output}/etc">
- <include name="jndi.properties"/>
- </fileset>
- </copy>
-
- <!-- Copy admin files (admin/client/lib) -->
- <mkdir dir="${install.admin.client.lib}"/>
- <copy todir="${install.admin.client.lib}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="**/"/>
- </fileset>
- </copy>
-
- <!-- Copy admin files (admin/components) -->
- <mkdir dir="${install.admin.components}"/>
- <copy todir="${install.admin.components}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="SystemMonitor.jar"/>
- <include name="admin.jar"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-admin-all" depends="_module-admin-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ========= -->
- <!-- Connector -->
- <!-- ========= -->
-
- <target name="_module-connector-most">
- <property name="_module.name" value="connector" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="RARDeployer.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated deployment libraries (deploy/lib) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbosscx.sar"/>
- <include name="*.rar"/>
- <!--include name="*.sar"/--><!--autodeploy interferes with jbossmq-->
- </fileset>
- </copy>
- </target>
-
- <target name="_module-connector-all" depends="_module-connector-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ========= -->
- <!-- Messaging -->
- <!-- ========= -->
-
- <target name="_module-messaging-most">
- <property name="_module.name" value="messaging" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the jbossmq service xml snippet (deploy) -->
- <mkdir dir="${install.deploy}"/>
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc/conf/default">
- <include name="jbossmq-service.xml"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbossmq.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="*-client.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the default configuration files (conf) -->
- <mkdir dir="${install.conf}"/>
- <copy todir="${install.conf}" filtering="no">
- <fileset dir="${_module.output}/etc/conf">
- <include name="**/*"/>
- <exclude name="**/jbossmq-service.xml"/>
- </fileset>
- </copy>
-
- <!-- Setup the database directory (db) -->
- <mkdir dir="${install.db}/jbossmq"/>
- </target>
-
- <target name="_module-messaging-all" depends="_module-messaging-most">
- <!-- Copy the static documents (docs) -->
- <mkdir dir="${install.docs}"/>
- <copy todir="${install.docs}" filtering="no">
- <fileset dir="${_module.output}/docs">
- <include name="**/*"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ==== -->
- <!-- Pool -->
- <!-- ==== -->
-
- <target name="_module-pool-most">
- <property name="_module.name" value="pool" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <!--mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbosspool.jar"/>
- </fileset>
- </copy-->
-
- </target>
-
- <target name="_module-pool-all" depends="_module-pool-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
<!-- === -->
<!-- JMX -->
<!-- === -->
@@ -829,257 +243,6 @@
</copy>
</target>
- <!-- ======== -->
- <!-- Security -->
- <!-- ======== -->
-
- <target name="_module-security-most">
- <property name="_module.name" value="security" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbosssx.jar"/>
- <include name="jaas.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="*-client.jar"/>
- <include name="jaas.jar"/>
- </fileset>
- <fileset dir="${_module.output}/etc/client">
- <include name="*"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-security-all" depends="_module-security-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ======= -->
- <!-- Cluster -->
- <!-- ======= -->
-
- <target name="_module-cluster-most">
- <property name="_module.name" value="cluster" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbossmx.jar"/>
- <include name="jbossha.jar"/>
- <include name="jbossmqha.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated libraries (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jbossha-client.jar"/>
- <include name="jbossmqha.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the deployables -->
- <mkdir dir="${install.deploy}"/>
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/etc">
- <include name="cluster-service.xml"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-cluster-all" depends="_module-cluster-most">
- <!-- Copy the examples -->
- <mkdir dir="${install.docs}/${module}"/>
- <copy todir="${install.docs}/${module}" filtering="no">
- <fileset dir="${_module.output}">
- <include name="examples/*"/>
- </fileset>
- </copy>
-
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ============= -->
- <!-- Plugins Varia -->
- <!-- ============= -->
-
- <target name="_module-plugins/varia-most">
- <property name="_module.name" value="plugins/varia" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the generated libraries (lib/ext) -->
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="**"/>
- </fileset>
- </copy>
-
- <!-- Setup the database directory (db) -->
- <mkdir dir="${install.db}/hypersonic"/>
- <copy todir="${install.db}/hypersonic" filtering="no">
- <fileset dir="${_module.output}/etc">
- <include name="hypersonic.txt"/>
- </fileset>
- </copy>
-
- <!-- Copy the default configuration files (conf) -->
- <mkdir dir="${install.conf}"/>
- <copy todir="${install.conf}" filtering="no">
- <fileset dir="${_module.output}/etc/conf">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-plugins/varia-all" depends="_module-plugins/varia-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ============= -->
- <!-- Plugins Jetty -->
- <!-- ============= -->
-
- <target name="_module-plugins/jetty-most">
- <property name="_module.name" value="plugins/jetty" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the jetty-plugin.sar (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jetty-plugin.sar"/>
- </fileset>
- </copy>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="javax.servlet.jar"/>
- <include name="org.apache.jasper.jar"/>
- </fileset>
- </copy>
-
-
- <!-- Copy the default configuration files (conf/default) -->
- <!-- These could perhaps be repackaged into jetty-plugin.sar
- using the local directory feature -->
- <mkdir dir="${install.conf.default}"/>
- <copy todir="${install.conf.default}" filtering="no">
- <fileset dir="${_module.output}/etc">
- <include name="jetty.xml"/>
- <include name="jetty.properties"/>
- </fileset>
- </copy>
- </target>
-
- <target name="_module-plugins/jetty-all" depends="_module-plugins/jetty-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ================= -->
- <!-- Plugins JBoss.net -->
- <!-- ================= -->
-
- <target name="_module-plugins/jboss.net-most">
- <property name="_module.name" value="plugins/jboss.net" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
-
- <!-- Copy the jboss-net.sar (deploy) -->
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss-net.sar"/>
- </fileset>
- </copy>
-
- <!-- Copy the jboss-net-client.jar (deploy) -->
- <copy todir="${install.deploy}/client" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="jboss-net-client.sar"/>
- </fileset>
- </copy>
-
- <!-- Copy relevant axis code -->
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${apache.axis.lib}">
- <include name="axis.jar"/>
- </fileset>
- </copy>
-
- <!-- Copy the default configuration files (conf/default) -->
- <mkdir dir="${install.conf.default}"/>
- <copy todir="${install.conf.default}" filtering="no">
- <fileset dir="${_module.output}/etc">
- <include name="axis-config.xml"/>
- </fileset>
- </copy>
-
- <!-- Copy the client configuration files (client) -->
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${_module.output}/etc">
- <include name="client-config.xml"/>
- </fileset>
- </copy>
-
- <!-- Copy the test wsr -->
- <mkdir dir="${install.deploy}"/>
- <copy todir="${install.deploy}" filtering="no">
- <fileset dir="${_module.output}/lib">
- <include name="addr.wsr"/>
- </fileset>
- </copy>
-
- </target>
-
- <target name="_module-plugins/jboss.net-all"
depends="_module-plugins/jboss.net-most">
- <!-- Copy the generated javadocs -->
- <mkdir dir="${install.api}/${_module.name}"/>
- <copy todir="${install.api}/${_module.name}" filtering="no">
- <fileset dir="${_module.output}/api">
- <include name="**/*"/>
- </fileset>
- </copy>
- </target>
-
<!-- ================================================================== -->
<!-- Install & Release -->
@@ -1090,90 +253,6 @@
depends="install-dependencies"/>
<target name="install-dependencies" depends="init">
- <mkdir dir="${install.lib}"/>
- <copy todir="${install.lib}" filtering="no">
- <fileset dir="${sun.jmx.lib}">
- <include name="jmxri.jar"/>
- </fileset>
- <fileset dir="${sun.jaxp.lib}">
- <include name="*.jar"/>
- <exclude name="xalan.jar"/>
- </fileset>
- <fileset dir="${gnu.getopt.lib}">
- <include name="getopt.jar"/>
- </fileset>
- </copy>
-
- <mkdir dir="${install.lib.ext}"/>
- <copy todir="${install.lib.ext}" filtering="no">
- <fileset dir="${sun.jndi.lib}">
- <include name="jndi.jar"/>
- </fileset>
- <fileset dir="${sun.jaxp.lib}">
- <include name="xalan.jar"/>
- </fileset>
- <fileset dir="${sun.jmx.lib}">
- <include name="jmxtools.jar"/>
- </fileset>
- <fileset dir="${sun.jaf.lib}">
- <include name="activation.jar"/>
- </fileset>
- <fileset dir="${sun.javamail.lib}">
- <include name="mail.jar"/>
- </fileset>
- <fileset dir="${sun.jts.lib}">
- <include name="jts.jar"/>
- </fileset>
- <fileset dir="${oswego.concurrent.lib}">
- <include name="concurrent.jar"/>
- </fileset>
- <fileset dir="${gjt.jpl-util.lib}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${javagroups.javagroups.lib}">
- <include name="javagroups-2.0.jar"/>
- </fileset>
- <fileset dir="${apache.log4j.lib}">
- <include name="log4j.jar"/>
- </fileset>
- <fileset dir="${sun.jsr77.lib}">
- <include name="jsr77.jar"/>
- </fileset>
- <fileset dir="${gnu.regexp.lib}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${sun.jsse.lib}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${hsqldb.hsqldb.lib}">
- <include name="hsqldb.jar"/>
- </fileset>
- <fileset dir="${exolab.castor.lib}">
- <include name="castor.jar"/>
- </fileset>
- <fileset dir="${exolab.tyrex.lib}">
- <include name="tyrex.jar"/>
- </fileset>
- </copy>
-
- <mkdir dir="${install.client}"/>
- <copy todir="${install.client}" filtering="no">
- <fileset dir="${sun.jndi.lib}">
- <include name="jndi.jar"/>
- </fileset>
- <fileset dir="${apache.log4j.lib}">
- <include name="log4j.jar"/>
- </fileset>
- <fileset dir="${oswego.concurrent.lib}">
- <include name="concurrent.jar"/>
- </fileset>
- <fileset dir="${gnu.regexp.lib}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${sun.jsse.lib}">
- <include name="*.jar"/>
- </fileset>
- </copy>
</target>
<target name="release"
@@ -1285,7 +364,6 @@
<!-- Clean up all generated files -->
<target name="clobber" depends="_buildmagic:clobber, clean, modules-clobber"
description="Cleans up all generated files.">
- <delete file="${module.root}/run.log"/>
</target>
@@ -1304,181 +382,5 @@
<target name="help" depends="_buildmagic:help:build"
description="Show this help message."/>
-
-
- <!-- ================================================================== -->
- <!-- ================================================================== -->
- <!-- ================================================================== -->
-
- <!--
- | NOTE: The following targets will probably be moved to external
- | scripts or external build files.
- -->
-
- <!-- ================================================================== -->
- <!-- Run the JBoss/Testsuite -->
- <!-- ================================================================== -->
-
- <target name="testsuite" depends="run-testsuite"/>
-
- <!-- Invoke the 'tests-unit' on the 'testsuite' module. This must
- be run prior to commiting any changes to ensure that your changes
- don't cause grief to other developers.
- -->
- <target name="run-basic-testsuite" depends="init"
- description="Execute the testsuite.">
- <execmodules target="tests-unit" modules="testsuite"
- root="${project.root}/${module}"
- skipmissing="${executemodules.skipmissing}">
- <before target="${target}-${module}-prepare"/>
- <header message="${executemodules.header}"/>
- <footer message="${executemodules.footer}"/>
- <after target="${target}-${module}"/>
- </execmodules>
- </target>
-
- <!-- Invoke the 'tests' on the 'testsuite' module -->
- <target name="run-testsuite" depends="init"
- description="Execute the testsuite.">
- <execmodules target="tests" modules="testsuite"
- root="${project.root}/${module}"
- skipmissing="${executemodules.skipmissing}">
- <before target="${target}-${module}-prepare"/>
- <header message="${executemodules.header}"/>
- <footer message="${executemodules.footer}"/>
- <after target="${target}-${module}"/>
- </execmodules>
- </target>
-
- <!-- Invoke a single testcase on the 'testsuite' module -->
- <!-- This needs specification of the test case class -->
- <!-- Example: "testcase -Dtest=MDBUnitTestCase" -->
- <target name="testcase" depends="init"
- description="Run a test case.">
- <execmodules target="one-test" modules="testsuite"
- root="${project.root}/${module}"
- skipmissing="${executemodules.skipmissing}">
- <before target="${target}-${module}-prepare"/>
- <header message="${executemodules.header}"/>
- <footer message="${executemodules.footer}"/>
- <after target="${target}-${module}"/>
- </execmodules>
- </target>
-
- <!-- Run JBoss -->
- <property name="run.jboss.flags" value=""/>
-
- <target name="run-jboss" depends="init"
- description="Runs the JBoss server.">
- <echo>Starting JBoss (redirected ${basedir}/run.log) </echo>
- <call target="run-jboss-check-os"/>
- <call target="run-jboss-unix"/>
- <call target="run-jboss-win32"/>
- </target>
-
- <target name="run-jboss-check-os">
- <condition property="run.jboss.unix">
- <os family="unix"/>
- </condition>
- <condition property="run.jboss.win32">
- <or>
- <os family="windows"/>
- <os family="dos"/>
- </or>
- </condition>
- </target>
-
- <!-- this is sloppy -->
-
- <target name="run-jboss-unix" depends="init" if="run.jboss.unix">
- <exec executable="${module.output}/${release.id}/bin/run.sh"
- dir="${module.output}/${release.id}"
- output="${basedir}/run.log"
- newenvironment="true">
- <arg line="${run.jboss.flags}"/>
- </exec>
- </target>
-
- <target name="run-jboss-win32" depends="init" if="run.jboss.win32">
- <echo message="${module.output}/${release.id}"/>
- <exec executable="${module.output}/${release.id}/bin/run.bat"
- dir="${module.output}/${release.id}/bin"
- output="${basedir}/run.log"
- newenvironment="true">
- <arg line="${run.jboss.flags}"/>
- </exec>
- </target>
-
-
- <!-- ================================================================== -->
- <!-- Run the Nightly Tasks -->
- <!-- ================================================================== -->
-
- <target name="update-project" depends="init">
- <echo>Updating project workspace...</echo>
- <cvs command="update -d" dest="${project.root}"/>
- </target>
-
- <target name="update-module" depends="init">
- <echo>Updating module workspace...</echo>
- <cvs command="update -d" dest="${module.root}"/>
- </target>
-
- <target name="run-nightly">
- <!-- perhaps refresh cvs -->
- <call target="update-workspace" unless="test.skipupdate"/>
-
- <!-- perhaps clean/clobber -->
- <call target="clean" if="test.clean"/>
- <call target="clobber" if="test.clobber"/>
-
- <!-- build most everything -->
- <call target="most"/>
-
- <!-- run the server in a seperate thread-->
- <parallel>
- <sequential>
- <antcall target="run-jboss"/>
- </sequential>
-
- <sequential>
- <echo>Waiting for JBoss to activate (${run.nightly.sleep} minute)</echo>
- <!-- need something to wait until jboss is up, or timeout -->
- <sleep minutes="${run.nightly.sleep}"/>
-
- <!-- start the testsuite (it will generate reports by default) -->
- <echo>Starting JBoss/Testsuite</echo>
- <call target="run-testsuite"/>
-
- <!-- shutdown the server -->
- <echo>Stopping JBoss</echo>
- <java classname="org.jboss.Shutdown">
- <classpath>
- <pathelement location="${release.lib}"/>
- </classpath>
-
- <arg value="localhost"/>
- <arg value="1099"/>
- </java>
- </sequential>
- </parallel>
-
- <call target="run-nightly-email"/>
- </target>
-
- <target name="run-nightly-email" depends="init">
- <echo>Sending Reports</echo>
- <echo message="to: ${run.nightly.email.tolist}"/>
- <echo message="from: ${run.nightly.email.from}"/>
- <echo message="via: ${run.nightly.email.mailhost}"/>
-
- <!-- email output to list -->
- <mail tolist="${run.nightly.email.tolist}"
- subject="Automated JBoss Testsuite Results"
- message="Automated JBoss Testsuite Results"
- from="${run.nightly.email.from}"
- mailhost="${run.nightly.email.mailhost}"
-
files="${project.root}/testsuite/output/reports/text/TESTS-TestSuites.txt"/>
- </target>
</project>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development