[jboss-cvs] JBossAS SVN: r102248 - trunk/system-jmx.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Mar 10 17:50:48 EST 2010
Author: bstansberry at jboss.com
Date: 2010-03-10 17:50:47 -0500 (Wed, 10 Mar 2010)
New Revision: 102248
Removed:
trunk/system-jmx/build-support-jars.xml
trunk/system-jmx/build-test.xml
Log:
[JBAS-7566] Clean out old build files
Deleted: trunk/system-jmx/build-support-jars.xml
===================================================================
--- trunk/system-jmx/build-support-jars.xml 2010-03-10 22:15:17 UTC (rev 102247)
+++ trunk/system-jmx/build-support-jars.xml 2010-03-10 22:50:47 UTC (rev 102248)
@@ -1,44 +0,0 @@
-<project name="tests-support-jars" default="jars">
-
- <property name="build.test" value="output/classes-tests-support" />
- <property name="build.test.lib" value="src/resources/org/jboss/test/classloading" />
-
- <target name="jars" description="Build the tests-support tree jars"
- depends="jar1, jar2CPjar1, jar2, jar3" />
-
- <macrodef name="build-test-jar" description="build a jar from a name patter">
- <attribute name="name" description="Basename for jar/package" />
- <attribute name="package" default="@{name" description="Basename for package" />
- <attribute name="classpath" default="" description="Class-Path manifest value" />
- <sequential>
- <mkdir dir="${build.test.lib}" />
- <mkdir dir="${build.test.resources}/@{name}" />
- <jar destfile="${build.test.lib}/@{name}.jar">
- <manifest>
- <attribute name="Class-Path" value="@{classpath}" />
- </manifest>
- <!-- Include all content under org/jboss/test/support/@{package} -->
- <fileset dir="${build.test}">
- <include name="org/jboss/test/support/@{package}/**"/>
- </fileset>
- <!-- Include all resources under output/resources/tests-resources/@{name} -->
- <zipfileset dir="${build.test.resources}/@{name}">
- <include name="**" />
- </zipfileset>
- </jar>
- </sequential>
- </macrodef>
-
- <target name="jar1">
- <build-test-jar name="jar1" />
- </target>
- <target name="jar2CPjar1">
- <build-test-jar name="jar2CPjar1" package="jar2" classpath="jar1.jar" />
- </target>
- <target name="jar2">
- <build-test-jar name="jar2" />
- </target>
- <target name="jar3">
- <build-test-jar name="jar3" />
- </target>
-</project>
\ No newline at end of file
Deleted: trunk/system-jmx/build-test.xml
===================================================================
--- trunk/system-jmx/build-test.xml 2010-03-10 22:15:17 UTC (rev 102247)
+++ trunk/system-jmx/build-test.xml 2010-03-10 22:50:47 UTC (rev 102248)
@@ -1,285 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE project [
- <!ENTITY buildmagic SYSTEM "../tools/etc/buildmagic/buildmagic.ent">
- <!ENTITY libraries SYSTEM "../thirdparty/libraries.ent">
- <!ENTITY modules SYSTEM "../tools/etc/buildmagic/modules.ent">
- <!ENTITY targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/System Tests">
-
- <!-- ================================================================== -->
- <!-- Setup -->
- <!-- ================================================================== -->
-
- <!--
- | Include the common Buildmagic elements.
- |
- | This defines several different targets, properties and paths.
- | It also sets up the basic extention tasks amoung other things.
- -->
-
- &buildmagic;
-
- <!--
- | Include the normal targets.
- -->
- &targets;
-
- <!-- ================================================================== -->
- <!-- Configuration -->
- <!-- ================================================================== -->
-
- <!--
- | Configure the build system.
- |
- | This target is invoked by the Buildmagic initialization logic and
- | should contain module specific configuration elements.
- -->
- <property name="javac.deprecation" value="false" />
- <property name="javac.target" value="5" />
- <property name="javac.source" value="5" />
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="system" />
- <property name="source.java" value="${module.source}/tests" />
- <property name="source.test" value="${module.source}/tests-support"
- description="A source tree not included in the test classpath by default used to test class loading." />
- <property name="build.classes" value="${module.output}/classes-tests" />
- <property name="build.test" value="${module.output}/classes-tests-support"
- description="source.test classes"/>
- <property name="build.test.lib" value="${module.output}/test-lib"
- description="Separate lib directory for source.test classes"/>
- <property name="build.test.resources" value="${module.output}/resources/tests-support"
- description="Root of the tests-support resources"/>
- <property name="build.testlog" value="${module.output}/log" />
- <property name="build-bypass.disabled" value="true" />
- <property name="build.gen.test" value="${module.output}/gen-test"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="gnu.getopt.classpath"/>
- <path refid="apache.xerces.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="apache.commons.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="dom4j.dom4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="sun.jaxb.classpath"/>
- <path refid="jboss.jboss.cl.classpath"/>
- <path refid="jboss.jboss.man.classpath"/>
- <path refid="jboss.jboss.mdr.classpath"/>
- <path refid="jboss.jboss.deployers.classpath"/>
- <path refid="jboss.jboss.reflect.classpath"/>
- <path refid="jboss.microcontainer.classpath"/>
- <path refid="jboss.integration.classpath"/>
- <path refid="jboss.jboss.vfs.classpath"/>
- <path refid="jboss.common.core.classpath"/>
- <path refid="jboss.common.logging.spi.classpath"/>
- <path refid="jboss.common.logging.log4j.classpath"/>
- <path refid="jboss.common.logging.jdk.classpath"/>
- <path refid="jboss.aop.classpath" />
- <path refid="trove.trove.classpath" />
- <path refid="javassist.javassist.classpath" />
- <path refid="jboss.test.classpath" />
- <path refid="junit.junit.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- &modules;
- <!-- this -->
- <property name="jboss.this.root" value="${module.root}/output" />
- <property name="jboss.this.lib" value="${jboss.this.root}/lib" />
- <path id="jboss.this.classpath">
- <fileset dir="${jboss.this.lib}">
- <include name="*.jar" />
- <exclude name="run.jar" />
- </fileset>
- </path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.j2se.classpath"/>
- <path refid="jboss.jmx.classpath"/>
- <path refid="jboss.mbeans.classpath"/>
- <path refid="jboss.main.classpath"/>
- <path refid="jboss.system.classpath"/>
- <pathelement location="output/classes" />
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <call target="_default:task-init" />
-
- <path id="thirdparty.classpath">
- <path refid="library.classpath" />
- <path refid="dependentmodule.classpath" />
- </path>
-
- </target>
- <patternset id="compile-resources.pattern">
- <include name="${src.resources}/**" />
- </patternset>
-
- <!-- ================================================================== -->
- <!-- Compile -->
- <!-- ================================================================== -->
-
- <!--
- | Compile everything.
- |
- | This target should depend on other compile-* targets for each
- | different type of compile that needs to be performed, short of
- | documentation compiles.
- -->
-
- <target name="compile" description="Compile all source files."
- depends="_default:compile-classes, _default:compile-test-classes, _default:compile-resources" />
-
- <target name="compile-tests-support" depends="init" unless="compile.disable"
- description="Compile the ${source.support.java} tree">
- <mkdir dir="${build.support.classes}"/>
-
- <javac destdir="${build.support.classes}"
- optimize="${javac.optimize}"
- target="${javac.target}"
- source="${javac.source}"
- debug="${javac.debug}"
- depend="${javac.depend}"
- verbose="${javac.verbose}"
- deprecation="${javac.deprecation}"
- includeAntRuntime="${javac.include.ant.runtime}"
- includeJavaRuntime="${javac.include.java.runtime}"
- includes="${javac.includes}"
- excludes="${javac.excludes}"
- failonerror="${javac.fail.onerror}">
- <bootclasspath>
- <path refid="javac.bootclasspath"/>
- </bootclasspath>
- <src path="${source.support.java}"/>
- <classpath refid="javac.classpath"/>
- </javac>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <target name="module-jars">
- <!-- Build jboss-system-jmx-test.jar -->
- <jar jarfile="${build.lib}/jboss-system-jmx-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}/tests">
- <include name="org/**"/>
- </fileset>
- </jar>
- </target>
- <!-- Jars built from the independent src/tests-support,output/tests-support-classes trees -->
- <target name="tests-support-jars" depends="compile-tests-support">
- <ant antfile="build-support-jars.xml" inheritAll="true" dir="." />
- <call target="_default:compile-resources"/>
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}" />
- <mkdir dir="${build.testlog}" />
- <!-- Remove the test.log so each run has a fresh log -->
- <delete file="${build.testlog}/test.log" />
- <junit dir="${module.output}" printsummary="yes" haltonerror="false" haltonfailure="false" fork="true">
-
- <sysproperty key="build.testlog" value="${build.testlog}" />
- <syspropertyset id="jbosstest-properties">
- <propertyref prefix="jbosstest" />
- </syspropertyset>
-
- <classpath>
- <pathelement location="${build.classes}" />
- <pathelement location="${build.resources}/tests" />
- <path refid="javac.classpath" />
- <path refid="apache.xerces.classpath" />
- </classpath>
-
- <formatter type="plain" usefile="true" />
- <formatter type="xml" usefile="true" />
-
- <batchtest todir="${build.reports}" haltonerror="false" haltonfailure="false" fork="true">
-
- <fileset dir="${build.classes}">
- <include name="org/jboss/test/**/*TestCase.class" />
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="one-test" depends="init"
- description="Execute the test defined by ${test}">
- <mkdir dir="${build.reports}" />
- <mkdir dir="${build.testlog}" />
- <!-- Remove the test.log so each run has a fresh log -->
- <delete file="${build.testlog}/test.log" />
- <junit dir="${module.output}" printsummary="yes" haltonerror="false" haltonfailure="false" fork="true">
-
- <sysproperty key="build.testlog" value="${build.testlog}" />
- <syspropertyset id="jbosstest-properties">
- <propertyref prefix="jbosstest" />
- </syspropertyset>
-
- <classpath>
- <pathelement location="${build.classes}" />
- <pathelement location="${build.resources}/tests" />
- <path refid="thirdparty.classpath" />
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" />
- <formatter type="xml" usefile="true" />
-
- <test todir="${build.reports}" name="${test}" haltonerror="${junit.batchtest.haltonerror}" haltonfailure="${junit.batchtest.haltonfailure}" fork="${junit.batchtest.fork}" />
- </junit>
- </target>
-
- <target name="memory-test" depends="most" description="Execute MemoryLeakTestCase">
- <mkdir dir="${build.reports}" />
- <mkdir dir="${build.testlog}" />
-
- <junit printsummary="yes" fork="yes" haltonfailure="no">
- <classpath>
- <pathelement location="${build.classes}" />
- <pathelement location="${build.resources}" />
- <path refid="thirdparty.classpath" />
- <path refid="javac.classpath" />
- <path refid="apache.xerces.classpath" />
- </classpath>
- <jvmarg value="-agentlib:jbossAgent" />
- <formatter type="plain" usefile="true" />
- <formatter type="xml" usefile="true" />
- <test fork="yes" todir="${build.reports}" name="org.jboss.test.memorytests.ClassInfoMemoryTestCase" />
- </junit>
-
- </target>
-
-</project>
More information about the jboss-cvs-commits
mailing list