[jboss-cvs] JBossAS SVN: r61631 - in projects/microcontainer/trunk: build and 8 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 23 01:37:51 EDT 2007
Author: pgier
Date: 2007-03-23 01:37:51 -0400 (Fri, 23 Mar 2007)
New Revision: 61631
Removed:
projects/microcontainer/trunk/aop-mc-int/build-test.xml
projects/microcontainer/trunk/aop-mc-int/build-test14.xml
projects/microcontainer/trunk/aop-mc-int/build.bat
projects/microcontainer/trunk/aop-mc-int/build.sh
projects/microcontainer/trunk/aop-mc-int/build.xml
projects/microcontainer/trunk/build/build-thirdparty.xml
projects/microcontainer/trunk/build/build.bat
projects/microcontainer/trunk/build/build.sh
projects/microcontainer/trunk/build/build.xml
projects/microcontainer/trunk/build/etc/
projects/microcontainer/trunk/container/build-test.xml
projects/microcontainer/trunk/container/build-test14.xml
projects/microcontainer/trunk/container/build.bat
projects/microcontainer/trunk/container/build.sh
projects/microcontainer/trunk/container/build.xml
projects/microcontainer/trunk/container/component-info.xml
projects/microcontainer/trunk/container/jbossbuild.xml
projects/microcontainer/trunk/dependency/build-test.xml
projects/microcontainer/trunk/dependency/build-test14.xml
projects/microcontainer/trunk/dependency/build.bat
projects/microcontainer/trunk/dependency/build.sh
projects/microcontainer/trunk/dependency/build.xml
projects/microcontainer/trunk/dependency/component-info.xml
projects/microcontainer/trunk/dependency/jbossbuild.xml
projects/microcontainer/trunk/deployers/build-test.xml
projects/microcontainer/trunk/deployers/build.bat
projects/microcontainer/trunk/deployers/build.sh
projects/microcontainer/trunk/deployers/build.xml
projects/microcontainer/trunk/kernel/build-test.xml
projects/microcontainer/trunk/kernel/build-test14.xml
projects/microcontainer/trunk/kernel/build.bat
projects/microcontainer/trunk/kernel/build.sh
projects/microcontainer/trunk/kernel/build.xml
projects/microcontainer/trunk/kernel/component-info.xml
projects/microcontainer/trunk/kernel/jbossbuild.xml
projects/microcontainer/trunk/managed/build.bat
projects/microcontainer/trunk/managed/build.sh
projects/microcontainer/trunk/managed/build.xml
projects/microcontainer/trunk/metatype/build.bat
projects/microcontainer/trunk/metatype/build.sh
projects/microcontainer/trunk/metatype/build.xml
projects/microcontainer/trunk/osgi-int/build-test.xml
projects/microcontainer/trunk/osgi-int/build.bat
projects/microcontainer/trunk/osgi-int/build.sh
projects/microcontainer/trunk/osgi-int/build.xml
projects/microcontainer/trunk/spring-int/build-test.xml
projects/microcontainer/trunk/spring-int/build.bat
projects/microcontainer/trunk/spring-int/build.sh
projects/microcontainer/trunk/spring-int/build.xml
Modified:
projects/microcontainer/trunk/osgi-int/pom.xml
Log:
JBMICROCONT-117; Removed the ant build scripts.
Deleted: projects/microcontainer/trunk/aop-mc-int/build-test.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/aop-mc-int/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,471 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/AOP-MC Integration 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="aop-mc-int"/>
- <property name="module.Name" value="JBoss AOP MC Integration"/>
- <property name="module.version" value="M1"/>
- <property name="jar.prefix" value="jboss-${module.name}-test"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <path id="jboss.aop50.classpath">
- <fileset dir="${jboss.aop.lib}">
- <include name="jboss-aop-jdk50.jar"/>
- </fileset>
- </path>
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="trove.trove.classpath"/>
- <path refid="jboss.aop50.classpath"/>
- <path refid="jboss.jbossxb.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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.kernel-test.classpath"/>
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-resources"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build the test jar -->
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}/tests">
- <include name="**"/>
- </fileset>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
- <target name="tests" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
-
- <antcall target="tests-weave-secure" inheritRefs="true"/>
- <antcall target="tests-no-weave-secure" inheritRefs="true"/>
- <antcall target="tests-weave" inheritRefs="true"/>
- <antcall target="tests-no-weave" inheritRefs="true"/>
-
- </target>
-
- <target name="tests-weave" 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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave.xml"/>
-
- <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="tests-weave-secure" 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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave-secure"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
- <sysproperty key="jboss.mc.secure" value="true"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave-secure.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave-secure.xml"/>
-
- <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="tests-no-weave" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <junit dir="${module.output}"
- printsummary="yes"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <sysproperty key="jboss-junit-configuration" value="no_weave"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave.xml"/>
-
- <batchtest todir="${build.reports}"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <fileset dir="${build.classes}">
- <include name="org/jboss/test/microcontainer/test/**/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="tests-no-weave-secure" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <junit dir="${module.output}"
- printsummary="yes"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <sysproperty key="jboss-junit-configuration" value="no_weave-secure"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="jboss.mc.secure" value="true"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave-secure.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave-secure.xml"/>
-
- <batchtest todir="${build.reports}"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <fileset dir="${build.classes}">
- <include name="org/jboss/test/microcontainer/test/**/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="one-test" depends="init"
- description="Executes a specific test with weaving.">
- <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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
- <target name="one-test-secure" depends="init"
- description="Executes a specific test with weaving.">
- <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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave-secure"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="jboss.mc.secure" value="true"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave-secure.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave-secure.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
- <target name="one-test-no-weave" depends="init"
- description="Executes a specific test with no weaving.">
- <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="jboss-junit-configuration" value="no_weave"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
- <target name="one-test-no-weave-secure" depends="init"
- description="Executes a specific test with no weaving.">
- <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="jboss-junit-configuration" value="no_weave-secure"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="jboss.mc.secure" value="true"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave-secure.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave-secure.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/aop-mc-int/build-test14.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build-test14.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/aop-mc-int/build-test14.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,404 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml,v 1.13 2006/06/27 12:23:56 kkhan Exp $ -->
-
-<project default="main" name="JBoss/AOP-MC Integration 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="aop-mc-int"/>
- <property name="module.Name" value="JBoss AOP MC Integration"/>
- <property name="module.version" value="M1"/>
- <property name="jar.prefix" value="jboss-${module.name}-test14"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <path id="jboss.aop14.classpath">
- <fileset dir="${jboss.aop.lib}">
- <include name="jboss-aop.jar"/>
- </fileset>
- </path>
- <path id="jboss.aop50.classpath">
- <fileset dir="${jboss.aop.lib}">
- <include name="jboss-aop.jar"/>
- </fileset>
- </path>
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss.aop14.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="trove.trove.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.test.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="*-test*.jar"/>
- <exclude name="${jar.prefix}.jar"/>
- </fileset>
-</path>
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.tests.retro" value="${module.output}/classes-tests-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- </path>
- <path id="jbossretrort.classpath">
- <path refid="jboss/backport.concurrent.classpath"/>
- <pathelement path="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
- </path>
- <path id="tests.classpath">
- <path refid="jbossretrort.classpath"/>
- <fileset dir="${build.lib.retro}">
- <include name="*14.jar"/>
- </fileset>
- <path refid="jboss.aop14.classpath"/>
- <path refid="trove.trove.classpath"/>
- <path refid="jboss.container14.classpath"/>
- <path refid="jboss.dependency14.classpath"/>
- <path refid="jboss.kernel14.classpath"/>
- <path refid="jboss.test14.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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="retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.tests.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build the test jar -->
- <jar jarfile="${build.lib.retro}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.tests.retro}"/>
- <fileset dir="${build.resources}/tests">
- <include name="**"/>
- </fileset>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
- <target name="tests" depends="init"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
-
- <antcall target="tests-weave" inheritRefs="true"/>
- <antcall target="tests-no-weave" inheritRefs="true"/>
-
- </target>
-
- <target name="tests-weave" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave-JDK1.4"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
-
- <classpath>
- <pathelement location="${build.lib.retro}/${jar.prefix}.jar"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave-jdk14.xml"/>
-
- <batchtest todir="${build.reports}"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <fileset dir="${build.tests.retro}">
- <include name="org/jboss/test/**/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="tests-no-weave" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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="jboss-junit-configuration" value="no_weave-JDK1.4"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.lib.retro}/${jar.prefix}.jar"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave-jdk14.xml"/>
-
- <batchtest todir="${build.reports}"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <fileset dir="${build.tests.retro}">
- <include name="org/jboss/test/microcontainer/test/**/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="one-test" depends="init"
- description="Executes a specific test with weaving.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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="jboss.aop.exclude" value="org.jboss.,org.apache."/>
- <sysproperty key="jboss.aop.include" value="org.jboss.test."/>
- <sysproperty key="jboss-junit-configuration" value="weave-JDK1.4"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
- <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
-
- <classpath>
- <pathelement location="${build.lib.retro}/${jar.prefix}.jar"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-weave-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-weave-jdk14.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
- <target name="one-test-no-weave" depends="init"
- description="Executes a specific test with no weaving.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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="jboss-junit-configuration" value="no_weave-JDK1.4"/>
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.lib.retro}/${jar.prefix}.jar"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-no-weave-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-no-weave-jdk14.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/aop-mc-int/build.bat
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/aop-mc-int/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id$
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/aop-mc-int/build.sh
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/aop-mc-int/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id$
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/aop-mc-int/build.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/aop-mc-int/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,184 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/AOP-MC Integration">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="aop-mc-int"/>
- <property name="module.Name" value="JBoss AOP MC Integration"/>
- <property name="module.version" value="snapshot"/>
- <property name="jar.prefix" value="jboss-${module.name}"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.test.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- &modules;
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- <path refid="javassist.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/main"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- _default:compile-resources,
- retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <jar jarfile="${build.lib.retro}/${jar.prefix}14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/build/build-thirdparty.xml
===================================================================
--- projects/microcontainer/trunk/build/build-thirdparty.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/build/build-thirdparty.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="main.build"
- default="synchronize"
- basedir=".">
-
- <!-- Property File definitions -->
- <property file="local.properties"/>
- <property file="synchronize.properties"/>
- <property environment="env"/>
-
- <!-- Property Definitions -->
- <property name="generatedLibrariesFiles" value="../thirdparty/libraries.ent"/>
-
- <!-- Allow jbossbuild.repository to be set from (in order or priority)
- + Command line -Djbossbuild.repository=...
- + synchronize.properties jbossbuild.repository setting
- + JBOSS_REPOSITORY environment variable
- -->
- <condition property="jbossbuild.repository" value="${env.JBOSS_REPOSITORY}">
- <isset property="env.JBOSS_REPOSITORY"/>
- </condition>
- <!-- Fall back to default -->
- <property name="jbossbuild.repository" value="http://repository.jboss.com"/>
-
- <!-- File Imports -->
- <import file="../tools/etc/jbossbuild/tasks.xml"/>
-
-
- <!-- Main Definition of dependencies -->
- <build id="jbossmc-thirdparty"
- impltitle="JBossMC"
- implversion="2.0"
- implvendor="JBoss Inc."
- implurl="http://www.jboss.org"
- description="JBoss Microcontainer"
- cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss"
- thirdpartypath="../thirdparty/"
- location="${jbossbuild.repository}"
- targetdefs="targets">
-
- <!--
- The repository is in CVS under the module repository.jboss.com whose contents
- are pushed to the http://repository.jboss.com site.
- -->
- <componentref name="apache-log4j" version="1.2.8"/>
- <componentref name="apache-xerces" version="2.7.1"/>
- <componentref name="javassist" version="3.5.0.CR1"/>
- <componentref name="jboss/common-core" version="snapshot"/>
- <componentref name="jboss/common-logging-log4j" version="2.0.2.GA"/>
- <componentref name="jboss/common-logging-jdk" version="2.0.2.GA"/>
- <componentref name="jboss/common-logging-spi" version="2.0.2.GA"/>
- <componentref name="jboss/jbossxb" version="snapshot"/>
- <componentref name="jboss/jboss-vfs" version="2.0.0.Beta2"/>
- <componentref name="jboss/profiler/jvmti" version="1.0.0.CR4"/>
- <componentref name="junit" version="3.8.1"/>
- <componentref name="junit4" version="4.1"/>
- <componentref name="jboss/aop" version="2.0.0.alpha4"/>
- <componentref name="jboss/backport-concurrent" version="2.1.0.GA"/>
- <componentref name="jboss/jbossretro" version="1.0.4.GA"/>
- <componentref name="jboss/test" version="snapshot"/>
- <componentref name="jboss/test14" version="snapshot"/>
- <componentref name="osgi" version="4.0"/>
- <componentref name="oswego-concurrent" version="1.3.4"/>
- <componentref name="stax-api" version="1.0"/>
- <componentref name="sun-jaf" version="1.1"/>
- <componentref name="sun-jaxb" version="2.1"/>
- <componentref name="sun-javacc" version="4.0"/>
- <componentref name="trove" version="1.0.2"/>
- </build>
-
- <synchronizeinfo/>
-
- <!-- Generate the targets -->
- <generate generate="jbossmc-thirdparty"/>
-
-
- <target name="generate-lib-file"
- description="generate libraries.ent and thirdparty license info"
- depends="synchronize">
- <gen-lib-file filename="${generatedLibrariesFiles}" />
- <visit-componentref-graph
- componentVisitor="org.jboss.ant.util.graph.ComponentRefGraphLicenseVisitor" />
- </target>
-
-</project>
-
Deleted: projects/microcontainer/trunk/build/build.bat
===================================================================
--- projects/microcontainer/trunk/build/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/build/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,109 +0,0 @@
- at echo off
-
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id$
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Xmx256m -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %*
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-SET SUBDIR=%1
-SHIFT
-
-set OTHER_ARGS=
-
-:setupArgs
-
-if %1a==a goto doneSetupArgs
-
-set OTHER_ARGS=%OTHER_ARGS% %1
-
-shift
-
-goto setupArgs
-
-:doneSetupArgs
-
-
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%SUBDIR%\bin\ant.bat %OTHER_ARGS%
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %*
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %*
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %*
-call %*
-
-:end
-
-if "%NOPAUSE%" == "" pause
-
Deleted: projects/microcontainer/trunk/build/build.sh
===================================================================
--- projects/microcontainer/trunk/build/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/build/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id$
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # Set the max memory to 256m
- ANT_OPTS=-Xmx256m
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/build/build.xml
===================================================================
--- projects/microcontainer/trunk/build/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/build/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,411 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE project [
- <!ENTITY buildmagic SYSTEM "../tools/etc/buildmagic/buildmagic.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBossMC/Build">
-
- <!-- ================================================================== -->
- <!-- 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;
-
-
- <!-- ================================================================== -->
- <!-- Initialization -->
- <!-- ================================================================== -->
-
- <!--
- | Initialize the build system. Must depend on '_buildmagic:init'.
- | Other targets should depend on 'init' or things will mysteriously fail.
- -->
-
- <target name="init" unless="init.disable" depends="_buildmagic:init">
- </target>
-
-
- <!-- ================================================================== -->
- <!-- Configuration -->
- <!-- ================================================================== -->
-
- <!--
- | Configure the build system.
- |
- | This target is invoked by the Buildmagic initialization logic and
- | should contain module specific configuration elements.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="jboss"/>
- <property name="module.Name" value="JBossMC Build"/>
- <property name="module.version" value="${version.major}.${version.minor}.${version.revision}${version.tag}"/>
-
- <!-- ============== -->
- <!-- Modules/Groups -->
- <!-- ============== -->
-
- <!-- The group to use by default -->
- <property name="groups" value="default"/>
-
- <!-- Sets up the module configuration. -->
- <moduleconfig property="modules" selected="${groups}">
-
- <!-- Modules -->
- <module name="container"/>
- <module name="dependency"/>
- <module name="kernel"/>
- <module name="aop-mc-int"/>
- <module name="metatype"/>
- <module name="managed"/>
- <module name="deployers"/>
-
- <!-- Module groups -->
-
- <!--this lets you recompile a single module using a command line like
-./build.sh -emacs -Dgroups=single -Dsingle-module=server
- -->
- <group name="single">
- <include modules="${single-module}"/>
- </group>
-
- <group name="core">
- <include modules="container, dependency, kernel, aop-mc-int, metatype, managed, deployers"/>
- </group>
-
- <group name="default">
- <include groups="core"/>
- </group>
-
- <group name="most">
- <include groups="core"/>
- </group>
-
- </moduleconfig>
-
- <!-- Show the module configuration -->
- <echo>groups: ${groups}</echo>
- <echo>modules: ${modules}</echo>
-
- <!-- The combined dependent module classpath -->
- <path id="dependentmodule.classpath">
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <!-- Skip any missing modules and issue a warning -->
- <property name="executemodules.skipmissing" value="true"/>
-
- <!-- The header and footer displayed during each module execution -->
- <property name="executemodules.header"><![CDATA[
- ======================================================================
- == Executing '${target}' in module '${module}'...
- ==]]></property>
-
- <property name="executemodules.footer"><![CDATA[
- ==
- == Finished with '${target}' in module '${module}'.
- ======================================================================
- ]]></property>
-
- <property name="executemodules.exportproperties">
- version.major,
- version.minor,
- version.revision,
- version.tag,
- version.name,
- version.cvstag,
-
- specification.title,
- specification.version,
- specification.vendor,
-
- implementation.title,
- implementation.version,
- implementation.vendor,
- implementation.vendor.id,
- implementation.url
- </property>
-
- <!-- Bits for building source archives -->
- <patternset id="source.ignore">
- <exclude name="**/output/**"/>
- <exclude name="**/CVS/**" />
- </patternset>
-</target>
-
- <!-- ================================================================== -->
- <!-- Module Pass-through Targets -->
- <!-- ================================================================== -->
-
- <!--
- | These targets will execute all configured modules with the specified
- | target.
- -->
- <target name="modules-most" depends="_buildmagic:modules:most" />
- <target name="modules-main" depends="_buildmagic:modules:main"/>
- <target name="modules-release" depends="_buildmagic:modules:release"/>
- <target name="modules-tests" depends="_buildmagic:modules:tests"/>
- <target name="modules-clean" depends="_buildmagic:modules:clean"/>
- <target name="modules-clobber" depends="_buildmagic:modules:clobber"/>
- <target name="modules-docs" depends="_buildmagic:modules:docs"/>
-
- <!-- ================================================================== -->
- <!-- Module Pass-through Hooks -->
- <!-- ================================================================== -->
-
- <!--
- | These hooks are executed after the above pass-through targets have
- | finished with a given module.
- -->
-
- <!-- ======== -->
- <!-- Test -->
- <!-- ======== -->
-
- <target name="_module-test-most">
- <property name="_module.name" value="test" override="true"/>
- <property name="_module.output" override="true"
- value="${project.root}/${_module.name}/output"/>
- </target>
-
- <!-- ================================================================== -->
- <!-- Install & Release -->
- <!-- ================================================================== -->
-
- <target name="install"
- description="Install the jars to the jbossbuild repository."
- depends="most"
- >
- <fail unless="jbossbuild.repository"
- message="The jbossbuild.repository.dir property must be set and point to the local jbossbuild repository root"/>
- <fail unless="jbossbuild.repository.version"
- message="The jbossbuild.repository.version property must be set to the version id (snapshot, 2.0.0.GA, ...)"/>
- <mkdir dir="${jbossbuild.repository.dir}/jboss/microcontainer/${jbossbuild.repository.version}" />
- <echo file="${jbossbuild.repository.dir}/jboss/microcontainer/${jbossbuild.repository.version}/component-info.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
-<project name="jboss/microcontainer-component-info">
-
- <component id="jboss/microcontainer"
- licenseType="lgpl"
- version="${jbossbuild.repository.version}"
- >
- <artifact id="jboss-aop-mc-int.jar"/>
- <artifact id="jboss-container.jar"/>
- <artifact id="jboss-dependency.jar"/>
- <artifact id="jboss-deployers.jar"/>
- <artifact id="jboss-managed.jar"/>
- <artifact id="jboss-metatype.jar"/>
- <artifact id="jboss-microcontainer.jar"/>
- <artifact id="jboss-aop-mc-int-src.zip"/>
- <artifact id="jboss-container-src.zip"/>
- <artifact id="jboss-dependency-src.zip"/>
- <artifact id="jboss-deployers-src.zip"/>
- <artifact id="jboss-managed-src.zip"/>
- <artifact id="jboss-metatype-src.zip"/>
- <artifact id="jboss-microcontainer-src.zip"/>
- <export>
- <include input="jboss-aop-mc-int.jar"/>
- <include input="jboss-container.jar"/>
- <include input="jboss-dependency.jar"/>
- <include input="jboss-deployers.jar"/>
- <include input="jboss-managed.jar"/>
- <include input="jboss-metatype.jar"/>
- <include input="jboss-microcontainer.jar"/>
- </export>
- </component>
-
-</project>
-]]></echo>
- <copy todir="${jbossbuild.repository.dir}/jboss/microcontainer/${jbossbuild.repository.version}/lib">
- <fileset dir="../aop-mc-int/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../container/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../dependency/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../deployers/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../kernel/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../managed/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- <fileset dir="../metatype/output/lib">
- <include name="*.jar" />
- <include name="*-src.zip" />
- </fileset>
- </copy>
- <!-- The JDK14 compatible versions -->
- <mkdir dir="${jbossbuild.repository.dir}/jboss/microcontainer14/${jbossbuild.repository.version}" />
- <echo file="${jbossbuild.repository.dir}/jboss/microcontainer14/${jbossbuild.repository.version}/component-info.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
-<project name="jboss/microcontainer-component-info">
-
- <component id="jboss/microcontainer14"
- licenseType="lgpl"
- version="${jbossbuild.repository.version}"
- >
- <artifact id="jboss-aop-mc-int14.jar"/>
- <artifact id="jboss-container14.jar"/>
- <artifact id="jboss-dependency14.jar"/>
- <artifact id="jboss-microcontainer14.jar"/>
- <export>
- <include input="jboss-aop-mc-int14.jar"/>
- <include input="jboss-container14.jar"/>
- <include input="jboss-dependency14.jar"/>
- <include input="jboss-microcontainer14.jar"/>
- </export>
- </component>
-
-</project>
-]]></echo>
- <copy todir="${jbossbuild.repository.dir}/jboss/microcontainer14/${jbossbuild.repository.version}/lib">
- <fileset dir="../aop-mc-int/output/lib14">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../container/output/lib14">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../dependency/output/lib14">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../kernel/output/lib14">
- <include name="*.jar" />
- </fileset>
- </copy>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Cleaning -->
- <!-- ================================================================== -->
-
- <!-- Clean up all build output -->
- <target name="clean" depends="_buildmagic:clean, modules-clean"
- description="Cleans up most generated files.">
- </target>
-
- <!-- 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>
-
-
- <!-- ================================================================== -->
- <!-- Misc. -->
- <!-- ================================================================== -->
-
- <target name="main" depends="most"
- description="Executes the default target (most).">
- <mkdir dir="output/lib"/>
- <copy todir="output/lib">
- <fileset dir="../aop-mc-int/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../container/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../dependency/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../deployers/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../kernel/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../managed/output/lib">
- <include name="*.jar" />
- </fileset>
- <fileset dir="../metatype/output/lib">
- <include name="*.jar" />
- </fileset>
- </copy>
- </target>
-
- <target name="most" depends="createthirdparty, modules-most"
- description="Executes all modules and builds most everything."/>
-
- <target name="help" depends="_buildmagic:help:build"
- description="Show this help message."/>
- <!-- create the thirdparty folder from items in the repository -->
- <!-- then generate a new libraries.ent file and include it in -->
- <!-- the build -->
- <target name="createthirdparty" unless="inhibit.downloads"
- depends="check.inhibit.downloads, set.proxy">
- <ant antfile="build-thirdparty.xml" target="generate-lib-file"/>
- </target>
-
- <!-- check if thirdparty libraries are to be downloaded -->
- <target name="check.inhibit.downloads">
- <condition property="inhibit.downloads">
- <or>
- <uptodate property="dependencies.current"
- srcfile="build-thirdparty.xml"
- targetfile="../thirdparty/libraries.ent"/>
- <istrue value="${nodownload}"/>
- </or>
- </condition>
- </target>
-
- <!-- check if the the user has specied proxy settings -->
- <target name="check.proxy">
- <condition property="hasproxy">
- <and>
- <isset property="proxy.host"/>
- <isset property="proxy.port"/>
- <not>
- <equals arg1="" arg2="${proxy.host}" trim="true"/>
- </not>
- <not>
- <equals arg1="" arg2="${proxy.port}" trim="true"/>
- </not>
- </and>
- </condition>
- </target>
-
- <!-- set proxy settings -->
- <target name="set.proxy" if="hasproxy" depends="check.proxy">
- <echo>Proxy is set to ${proxy.host}:${proxy.port}</echo>
- <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
- </target>
-
-</project>
-
Deleted: projects/microcontainer/trunk/container/build-test.xml
===================================================================
--- projects/microcontainer/trunk/container/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,284 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/Container 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 -->
- <!-- ================================================================== -->
-
- <property name="source.java" value="src/tests"/>
- <property name="source.resources" value="src/resources/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="output/classes-tests"/>
- <property name="build.testlog" value="output/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <!--
- | Configure the build system.
- |
- | This target is invoked by the Buildmagic initialization logic and
- | should contain module specific configuration elements.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="container"/>
- <property name="module.Name" value="JBoss Container"/>
- <property name="module.version" value="M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- </path>
-
-<!-- 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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <call target="_default:task-init"/>
-
- <path id="thirdparty.classpath">
- <path refid="library.classpath"/>
- <path refid="dependentmodule.classpath"/>
- </path>
-
- <path id="no.javassist.classpath">
- <path refid="dependentmodule.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- </path>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar destfile="${build.lib}/jboss-container-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="org/**"/>
- </fileset>
- </jar>
-
- </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}"/>
-
- <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"/>
- <exclude name="org/jboss/test/**/NoJavassistAnnotationCreatorTestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- <junit dir="${module.output}"
- printsummary="yes"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}/tests"/>
- <path refid="no.javassist.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/**/NoJavassistAnnotationCreatorTestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="one-test" depends="init"
- 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}"/>
-
- <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"/>
-
- <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}/tests"/>
- <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>
Deleted: projects/microcontainer/trunk/container/build-test14.xml
===================================================================
--- projects/microcontainer/trunk/container/build-test14.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/build-test14.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,311 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/Container 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="container"/>
- <property name="module.Name" value="JBoss Container"/>
- <property name="module.version" value="M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- 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="jboss-container.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.classes.retro" value="${module.output}/classes-tests-retro"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- <path id="thirdparty.classpath">
- <path refid="library.classpath"/>
- <path refid="dependentmodule.classpath"/>
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- </path>
- <path id="jbossretrort.classpath">
- <path refid="jboss/backport.concurrent.classpath"/>
- <pathelement path="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
- </path>
- <path id="tests.classpath">
- <path refid="jbossretrort.classpath"/>
- <fileset dir="${build.lib.retro}">
- <include name="*.jar"/>
- </fileset>
- <path refid="jboss.test14.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- </path>
- </target>
-
- <!-- ================================================================== -->
- <!-- 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="retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib.retro}/jboss-container-test14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- <fileset dir="${build.resources}">
- <include name="org/**"/>
- </fileset>
- </jar>
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.classes.retro}"/>
- <pathelement location="${build.resources}/tests"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <batchtest todir="${build.reports}"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <fileset dir="${build.classes.retro}">
- <include name="org/jboss/test/**/*TestCase.class"/>
- <exclude name="org/jboss/test/annotation/factory/test/NoJavassistAnnotationCreatorTestCase.class"/>
- <exclude name="org/jboss/test/metadata/loader/reflection/test/*.class"/>
- </fileset>
- </batchtest>
- </junit>
-
- </target>
-
- <target name="one-test" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.classes.retro}"/>
- <pathelement location="${build.resources}/tests"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <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}/tests"/>
- <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>
Deleted: projects/microcontainer/trunk/container/build.bat
===================================================================
--- projects/microcontainer/trunk/container/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id$
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/container/build.sh
===================================================================
--- projects/microcontainer/trunk/container/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id$
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/container/build.xml
===================================================================
--- projects/microcontainer/trunk/container/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,187 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/Container">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="container"/>
- <property name="module.Name" value="JBoss Container"/>
- <property name="module.version" value="snapshot"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- </path>
-
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/main"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="jar.prefix" value="jboss-container"/>
-
- <patternset id="compile-resources.filter.pattern">
- <include name="**/*"/>
- <exclude name="tests/**"/>
- </patternset>
-
- <patternset id="compile-resources.pattern">
- <include name="tests/**"/>
- </patternset>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- _default:compile-resources,
- retro"
- />
-
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib}/jboss-container.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <jar jarfile="${build.lib.retro}/jboss-container14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
-
-</project>
Deleted: projects/microcontainer/trunk/container/component-info.xml
===================================================================
--- projects/microcontainer/trunk/container/component-info.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/component-info.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,16 +0,0 @@
-<project name="container-component-info">
- <!-- ============================================================ -->
- <!-- Container -->
- <!-- ============================================================ -->
-
- <component id="container"
- module="container"
- version="5.0-SNAPSHOT"
- >
- <artifact id="jboss-container.jar"/>
- <export>
- <include input="jboss-container.jar"/>
- </export>
- </component>
-
-</project>
\ No newline at end of file
Deleted: projects/microcontainer/trunk/container/jbossbuild.xml
===================================================================
--- projects/microcontainer/trunk/container/jbossbuild.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/container/jbossbuild.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- JBoss, the OpenSource J2EE webOS
-
- Distributable under LGPL license.
- See terms of license at gnu.org.
--->
-
-<!-- ================================================================== -->
-<!-- Container component definition -->
-<!-- ================================================================== -->
-
-<project name="project"
- default="build"
- basedir="."
->
-
- <import file="../tools/etc/jbossbuild/tasks.xml"/>
- <import file="component-info.xml"/>
-
- <!-- =============================================================== -->
- <!-- The component definition -->
- <!-- =============================================================== -->
-
- <componentdef component="container" description="JBoss Container">
-
- <!-- ============================================================ -->
- <!-- The main source -->
- <!-- ============================================================ -->
-
- <source id="main">
- <include component="common"/>
- <include component="oswego-concurrent"/>
- </source>
-
- <!-- Disabled until it builds -->
- <!--source id="tests" test="org/jboss/test/**/*TestCase.java">
- <include input="main"/>
- <include component="junit-junit"/>
- <include component="common"/>
- <include component="test"/>
- </source-->
-
- <!-- ============================================================ -->
- <!-- jboss-container.jar -->
- <!-- ============================================================ -->
-
- <artifactdef artifact="jboss-container.jar">
- <include input="main"/>
- </artifactdef>
-
- </componentdef>
-
- <!-- Generate the targets -->
- <generate generate="container"/>
-
-</project>
Deleted: projects/microcontainer/trunk/dependency/build-test.xml
===================================================================
--- projects/microcontainer/trunk/dependency/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,213 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/Dependency 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="dependency"/>
- <property name="module.Name" value="JBoss Dependency"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.test.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- 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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/jboss-dependency-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <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 all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <path refid="javac.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>
-
-</project>
Deleted: projects/microcontainer/trunk/dependency/build-test14.xml
===================================================================
--- projects/microcontainer/trunk/dependency/build-test14.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/build-test14.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,275 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml,v 1.6 2006/05/04 14:08:43 adrian Exp $ -->
-
-<project default="main" name="JBoss/Dependency 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="dependency"/>
- <property name="module.Name" value="JBoss Dependency"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.test.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- 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="*-test*.jar"/>
- <exclude name="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.tests.retro" value="${module.output}/classes-tests-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- </path>
- <path id="jbossretrort.classpath">
- <path refid="jboss/backport.concurrent.classpath"/>
- <pathelement path="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
- </path>
- <path id="tests.classpath">
- <path refid="jbossretrort.classpath"/>
- <fileset dir="${build.lib.retro}">
- <include name="*.jar"/>
- </fileset>
- <path refid="jboss.test14.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- </path>
- </target>
-
- <!-- ================================================================== -->
- <!-- 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="retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.tests.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib.retro}/jboss-dependency-test14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.tests.retro}"/>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.tests.retro}"/>
- <pathelement location="${build.resources}"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <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 all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.tests.retro}"/>
- <pathelement location="${build.resources}"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/dependency/build.bat
===================================================================
--- projects/microcontainer/trunk/dependency/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id$
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/dependency/build.sh
===================================================================
--- projects/microcontainer/trunk/dependency/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id$
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/dependency/build.xml
===================================================================
--- projects/microcontainer/trunk/dependency/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,160 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/Dependency">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="dependency"/>
- <property name="module.Name" value="JBoss Dependency"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- </path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- <path refid="javassist.classpath"/>
- </path>
-
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="jar.prefix" value="jboss-dependency"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/jboss-dependency.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
- <jar jarfile="${build.lib.retro}/jboss-dependency14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/dependency/component-info.xml
===================================================================
--- projects/microcontainer/trunk/dependency/component-info.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/component-info.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,15 +0,0 @@
-<project name="dependency-component-info">
- <!-- ============================================================ -->
- <!-- Dependency -->
- <!-- ============================================================ -->
-
- <component id="dependency"
- module="dependency"
- version="5.0-SNAPSHOT"
- >
- <artifact id="jboss-dependency.jar"/>
- <export>
- <include input="jboss-dependency.jar"/>
- </export>
- </component>
-</project>
\ No newline at end of file
Deleted: projects/microcontainer/trunk/dependency/jbossbuild.xml
===================================================================
--- projects/microcontainer/trunk/dependency/jbossbuild.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/dependency/jbossbuild.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,56 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- JBoss, the OpenSource J2EE webOS
-
- Distributable under LGPL license.
- See terms of license at gnu.org.
--->
-
-<!-- ================================================================== -->
-<!-- Common component definition -->
-<!-- ================================================================== -->
-
-<project name="project"
- default="build"
- basedir="."
->
- <import file="../tools/etc/jbossbuild/tasks.xml"/>
- <import file="component-info.xml"/>
-
- <!-- =============================================================== -->
- <!-- The component definition -->
- <!-- =============================================================== -->
-
- <componentdef component="dependency" description="JBoss Dependency">
-
- <!-- ============================================================ -->
- <!-- The main source -->
- <!-- ============================================================ -->
-
- <source id="main">
- <include component="common"/>
- </source>
-
- <source id="tests" test="org/jboss/test/**/*TestCase.java">
- <include input="main"/>
- <include component="test"/>
- <include component="common"/>
- <include component="oswego-concurrent"/>
- <include component="junit"/>
- </source>
-
- <!-- ============================================================ -->
- <!-- jboss-microcontainer.jar -->
- <!-- ============================================================ -->
-
- <artifactdef artifact="jboss-dependency.jar">
- <include input="main"/>
- </artifactdef>
-
- </componentdef>
-
- <!-- Generate the targets -->
- <generate generate="dependency"/>
-
-</project>
Deleted: projects/microcontainer/trunk/deployers/build-test.xml
===================================================================
--- projects/microcontainer/trunk/deployers/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/deployers/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,228 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml 55339 2006-08-05 15:16:29 +0000 (Sat, 05 Aug 2006) adrian at jboss.org $ -->
-
-<project default="main" name="JBoss/Deployers 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="deployers"/>
- <property name="module.Name" value="JBoss Deployers"/>
- <property name="module.version" value="DEV"/>
- <property name="jar.prefix" value="jboss-${module.name}-test"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss/jboss.vfs.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="trove.trove.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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.aop-mc-int.classpath"/>
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.metatype.classpath"/>
- <path refid="jboss.managed.classpath"/>
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/jboss-deployers-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <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 all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <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"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/deployers/build.bat
===================================================================
--- projects/microcontainer/trunk/deployers/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/deployers/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id: build.bat 31497 2005-05-24 18:47:10 +0200 (Tue, 24 May 2005) adrian $
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/deployers/build.sh
===================================================================
--- projects/microcontainer/trunk/deployers/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/deployers/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id: build.sh 31497 2005-05-24 18:47:10 +0200 (Tue, 24 May 2005) adrian $
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/deployers/build.xml
===================================================================
--- projects/microcontainer/trunk/deployers/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/deployers/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,144 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build.xml 55205 2006-08-04 16:46:15 +0000 (Fri, 04 Aug 2006) kabir.khan at jboss.com $ -->
-
-<project default="main" name="JBoss/Deployers">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="deployers"/>
- <property name="module.Name" value="JBoss Deployers"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss/jboss.vfs.classpath"/>
- <path refid="stax.api.classpath"/>
- <path refid="sun.jaf.classpath"/>
- <path refid="sun.jaxb.classpath"/>
- </path>
-
- &modules;
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.aop-mc-int.classpath"/>
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.managed.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="jar.prefix" value="jboss-${module.name}"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-resources-no-filter,
- _default:compile-etc"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
-
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/kernel/build-test.xml
===================================================================
--- projects/microcontainer/trunk/kernel/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,237 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/MicroContainer 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="microcontainer"/>
- <property name="module.Name" value="JBoss MicroContainer"/>
- <property name="module.version" value="2.0.0.M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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,
- compile-resources"
- />
- <target name="compile-resources"
- description="Copy test *.properties files to test-classes"
- depends=" _default:compile-resources"
- >
- <copy todir="${build.classes}" filtering="yes">
- <fileset dir="${source.java}">
- <patternset>
- <include name="**/*.properties" />
- </patternset>
- </fileset>
- </copy>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib}/jboss-microcontainer-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="org/**"/>
- <include name="xml-test/**"/>
- </fileset>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="most"
- description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <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 all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <path refid="javac.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>
-
-</project>
Deleted: projects/microcontainer/trunk/kernel/build-test14.xml
===================================================================
--- projects/microcontainer/trunk/kernel/build-test14.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/build-test14.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,314 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml,v 1.14 2006/06/25 11:05:24 adrian Exp $ -->
-
-<project default="main" name="JBoss/MicroContainer 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="microcontainer"/>
- <property name="module.Name" value="JBoss MicroContainer"/>
- <property name="module.version" value="2.0.0.M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- 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="*-test*.jar"/>
- <exclude name="${jar.prefix}.jar"/>
- </fileset>
-</path>
-<!-- container -->
-<property name="jboss.container.root" value="${project.root}/container"/>
-<property name="jboss.container.lib" value="${jboss.container.root}/output/lib"/>
-<path id="jboss.container.classpath">
- <fileset dir="${jboss.container.lib}">
- <include name="jboss-container.jar"/>
- </fileset>
-</path>
-<property name="jboss.container14.lib" value="${jboss.container.root}/output/lib14"/>
-<path id="jboss.container14.classpath">
- <fileset dir="${jboss.container14.lib}">
- <include name="jboss-container14.jar"/>
- </fileset>
-</path>
-<!-- dependency -->
-<property name="jboss.dependency.root" value="${project.root}/dependency"/>
-<property name="jboss.dependency.lib" value="${jboss.dependency.root}/output/lib"/>
-<path id="jboss.dependency.classpath">
- <fileset dir="${jboss.dependency.lib}">
- <include name="jboss-dependency.jar"/>
- </fileset>
-</path>
-<property name="jboss.dependency14.lib" value="${jboss.dependency.root}/output/lib14"/>
-<path id="jboss.dependency14.classpath">
- <fileset dir="${jboss.dependency14.lib}">
- <include name="jboss-dependency14.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.tests.retro" value="${module.output}/classes-tests-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- </path>
- <path id="jbossretrort.classpath">
- <path refid="jboss/backport.concurrent.classpath"/>
- <pathelement path="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
- </path>
- <path id="tests.classpath">
- <path refid="jbossretrort.classpath"/>
- <fileset dir="${build.lib.retro}">
- <include name="*14.jar"/>
- </fileset>
- <path refid="jboss.container14.classpath"/>
- <path refid="jboss.dependency14.classpath"/>
- <path refid="jboss.test14.classpath"/>
- <path refid="jboss.common.core.classpath"/>
- <path refid="jboss.common.logging.spi.classpath"/>
- <path refid="jboss.common.logging.log4j.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
- </target>
-
- <!-- ================================================================== -->
- <!-- 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="retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.tests.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.tests.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib.retro}/jboss-microcontainer-test14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.tests.retro}"/>
- <fileset dir="${build.resources}">
- <include name="org/**"/>
- <include name="xml-test/**"/>
- </fileset>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
-
- <target name="tests" depends="init"
- description="Execute all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.tests.retro}"/>
- <pathelement location="${build.resources}"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <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 all tests in the given test directory.">
-
- <!-- The tests must be run with jdk1.4.x -->
- <condition property="jdk14x">
- <equals arg1="${ant.java.version}" arg2="1.4" />
- </condition>
- <fail message="jdk1.4.x must be used for the tests" unless="jdk14x"/>
-
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
- <sysproperty key="jboss-junit-configuration" value="JDK1.4"/>
-
- <classpath>
- <pathelement location="${build.tests.retro}"/>
- <pathelement location="${build.resources}"/>
- <path refid="tests.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
-
- <formatter type="plain" usefile="true" extension="-jdk14.txt"/>
- <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
- usefile="true" extension="-jdk14.xml"/>
-
- <test todir="${build.reports}" name="${test}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
- fork="${junit.batchtest.fork}"/>
- </junit>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/kernel/build.bat
===================================================================
--- projects/microcontainer/trunk/kernel/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id$
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/kernel/build.sh
===================================================================
--- projects/microcontainer/trunk/kernel/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id$
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/kernel/build.xml
===================================================================
--- projects/microcontainer/trunk/kernel/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,315 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-
-<!-- $Id$ -->
-
-<project default="main" name="JBoss/MicroContainer">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="microcontainer"/>
- <property name="module.Name" value="JBoss MicroContainer"/>
- <property name="module.version" value="snapshot"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="oswego.concurrent.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- &modules;
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- <path refid="javassist.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="jar.prefix" value="jboss-microcontainer"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-resources,
- _default:compile-etc,
- retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
-
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <jar jarfile="${build.lib.retro}/${jar.prefix}14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
- <!-- ================================================================== -->
- <!-- Release -->
- <!-- ================================================================== -->
-
- <target name="docbook" depends="init">
- <ant dir="${module.root}/docs/gettingstarted"/>
- </target>
-
- <target name="make-release-docs" depends="init, docs, docbook">
- <property name="module.release" value="${module.output}/${module.name}-${module.version}"/>
- <mkdir dir="${module.release}"/>
-
- <copy todir="${module.release}/docs/gettingstarted">
- <fileset dir="${module.output}/docs/gettingstarted"/>
- </copy>
-
- <copy todir="${module.release}/docs/api">
- <fileset dir="${module.output}/api"/>
- </copy>
-
- <copy todir="${module.release}/docs/licenses">
- <fileset dir="${project.root}/thirdparty/licenses"/>
- </copy>
-
- <copy todir="${module.release}">
- <fileset dir="${module.root}/docs/release"/>
- </copy>
- </target>
-
- <target name="make-release" depends="init">
- <property name="module.release" value="${module.output}/${module.name}-${module.version}"/>
- <mkdir dir="${module.release}"/>
- <mkdir dir="${module.release}/lib"/>
- <copy todir="${module.release}/lib" file="${build.lib}/jboss-microcontainer.jar"/>
- <copy todir="${module.release}/lib" file="${jboss.common.lib}/jboss-common.jar"/>
- <copy todir="${module.release}/lib" file="${jboss.jbossxb.lib}/jboss-xml-binding.jar"/>
- <copy todir="${module.release}/lib" file="${jboss.common.lib}/namespace.jar"/>
- <copy todir="${module.release}/lib" file="${project.root}/aop-mc-int/output/lib/jboss-aop-mc-int.jar"/>
- <copy todir="${module.release}/lib" file="${project.root}/container/output/lib/jboss-container.jar"/>
- <copy todir="${module.release}/lib" file="${project.root}/dependency/output/lib/jboss-dependency.jar"/>
- <copy todir="${module.release}/lib" file="${oswego.concurrent.lib}/concurrent.jar"/>
- <copy todir="${module.release}/lib" file="${apache.xerces.lib}/xercesImpl.jar"/>
- <copy todir="${module.release}/lib" file="${apache.xerces.lib}/xml-apis.jar"/>
-
- <mkdir dir="${module.release}/lib14"/>
- <copy todir="${module.release}/lib14" file="${build.lib.retro}/jboss-microcontainer14.jar"/>
- <copy todir="${module.release}/lib14" file="${jboss.common.lib}/jboss-common.jar"/>
- <copy todir="${module.release}/lib14" file="${jboss.jbossxb.lib}/jboss-xml-binding.jar"/>
- <copy todir="${module.release}/lib14" file="${jboss.common.lib}/namespace.jar"/>
- <copy todir="${module.release}/lib14" file="${project.root}/aop-mc-int/output/lib14/jboss-aop-mc-int14.jar"/>
- <copy todir="${module.release}/lib14" file="${project.root}/container/output/lib14/jboss-container14.jar"/>
- <copy todir="${module.release}/lib14" file="${project.root}/dependency/output/lib14/jboss-dependency14.jar"/>
- <copy todir="${module.release}/lib14" file="${oswego.concurrent.lib}/concurrent.jar"/>
- <copy todir="${module.release}/lib14" file="${apache.xerces.lib}/xercesImpl.jar"/>
- <copy todir="${module.release}/lib14" file="${apache.xerces.lib}/xml-apis.jar"/>
- <copy todir="${module.release}/lib14" file="${jboss/backport.concurrent.lib}/jboss-backport-concurrent.jar"/>
- <copy todir="${module.release}/lib14" file="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
-
-
-
- <copy todir="${module.release}/examples">
- <fileset dir="${module.root}/examples"/>
- </copy>
- </target>
-
- <target name="bin-tgz" description="Build .tar.gz and .tar.bz2 archives">
- <tar destfile="${module.output}/${module.name}-${module.version}.tar.gz"
- longfile="gnu" compression="gzip">
- <tarfileset dir="${module.output}/${module.name}-${module.version}"
- prefix="${module.name}-${module.version}">
- <exclude name="**/build/**"/>
- <exclude name="**/dist/**"/>
- </tarfileset>
- </tar>
- <checksum file="${module.output}/${module.name}-${module.version}.tar.gz"/>
- <tar destfile="${module.output}/${module.name}-${module.version}.tar.bz2"
- longfile="gnu" compression="bzip2">
- <tarfileset dir="${module.output}/${module.name}-${module.version}"
- prefix="${module.name}-${module.version}">
- <exclude name="**/build/**"/>
- <exclude name="**/dist/**"/>
- </tarfileset>
- </tar>
- <checksum file="${module.output}/${module.name}-${module.version}.tar.bz2"/>
- </target>
-
- <target name="bin-zip" description="Build zip archive">
- <zip destfile="${module.output}/${module.name}-${module.version}.zip">
- <zipfileset dir="${module.output}/${module.name}-${module.version}"
- prefix="${module.name}-${module.version}">
- <exclude name="**/build/**"/>
- <exclude name="**/dist/**"/>
- </zipfileset>
- </zip>
- <checksum file="${module.output}/${module.name}-${module.version}.zip"/>
- </target>
-
- <target name="source-tgz">
- <tar destfile="${module.output}/${module.name}-${module.version}-src.tar.gz"
- longfile="gnu" compression="gzip">
- <tarfileset dir="${module.source}"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- <tarfileset dir="${project.root}/container/src"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- <tarfileset dir="${project.root}/dependency/src"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- </tar>
- <checksum file="${module.output}/${module.name}-${module.version}-src.tar.gz"/>
-
- <tar destfile="${module.output}/${module.name}-${module.version}-src.tar.bz2"
- longfile="gnu" compression="bzip2">
- <tarfileset dir="${module.source}"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- <tarfileset dir="${module.source}"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- <tarfileset dir="${project.root}/container/src"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- <tarfileset dir="${project.root}/dependency/src"
- prefix="${module.name}-${module.version}-src">
- </tarfileset>
- </tar>
- <checksum file="${module.output}/${module.name}-${module.version}-src.tar.bz2"/>
- </target>
-
- <!--
- | Build the release.
- -->
- <target name="module-release"
- depends="main, make-release, make-release-docs, bin-tgz, bin-zip, source-tgz"/>
-
-</project>
Deleted: projects/microcontainer/trunk/kernel/component-info.xml
===================================================================
--- projects/microcontainer/trunk/kernel/component-info.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/component-info.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,15 +0,0 @@
-<project name="kernel-component-info">
- <!-- ============================================================ -->
- <!-- Microcontainer -->
- <!-- ============================================================ -->
-
- <component id="kernel"
- module="kernel"
- version="5.0-SNAPSHOT"
- >
- <artifact id="jboss-microcontainer.jar"/>
- <export>
- <include input="jboss-microcontainer.jar"/>
- </export>
- </component>
-</project>
\ No newline at end of file
Deleted: projects/microcontainer/trunk/kernel/jbossbuild.xml
===================================================================
--- projects/microcontainer/trunk/kernel/jbossbuild.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/kernel/jbossbuild.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,68 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- JBoss, the OpenSource J2EE webOS
-
- Distributable under LGPL license.
- See terms of license at gnu.org.
--->
-
-<!-- ================================================================== -->
-<!-- Common component definition -->
-<!-- ================================================================== -->
-
-<project name="project"
- default="build"
- basedir="."
->
- <import file="../tools/etc/jbossbuild/tasks.xml"/>
- <import file="component-info.xml"/>
-
- <!-- =============================================================== -->
- <!-- The component definition -->
- <!-- =============================================================== -->
-
- <componentdef component="kernel" description="JBoss MicroContainer">
-
- <!-- ============================================================ -->
- <!-- The main source -->
- <!-- ============================================================ -->
-
- <source id="main">
- <include component="common"/>
- <include component="container"/>
- <include component="dependency"/>
- <include component="oswego-concurrent"/>
- <include component="test"/>
- </source>
-
- <resource id="xml-test"/>
- <resource id="schema"/>
-
- <source id="tests" test="org/jboss/test/**/*TestCase.java">
- <include component="test"/>
- <include component="common"/>
- <include component="container"/>
- <include component="dependency"/>
- <include input="main"/>
- <include input="xml-test"/>
- <include input="schema"/>
- <include component="junit"/>
- <include component="oswego-concurrent"/>
- </source>
-
- <!-- ============================================================ -->
- <!-- jboss-microcontainer.jar -->
- <!-- ============================================================ -->
-
- <artifactdef artifact="jboss-microcontainer.jar">
- <include input="main"/>
- <include input="schema"/>
- </artifactdef>
-
- </componentdef>
-
- <!-- Generate the targets -->
- <generate generate="kernel"/>
-
-</project>
Deleted: projects/microcontainer/trunk/managed/build.bat
===================================================================
--- projects/microcontainer/trunk/managed/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/managed/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id: build.bat 31497 2005-05-24 16:47:10Z adrian $
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/managed/build.sh
===================================================================
--- projects/microcontainer/trunk/managed/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/managed/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id: build.sh 31497 2005-05-24 16:47:10Z adrian $
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/managed/build.xml
===================================================================
--- projects/microcontainer/trunk/managed/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/managed/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,180 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build.xml 58705 2006-11-28 16:24:22Z adrian at jboss.org $ -->
-
-<project default="main" name="JBoss/Managed">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="managed"/>
- <property name="module.Name" value="JBoss Managed"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.aop.classpath"/>
- </path>
-
- &modules;
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.metatype.classpath"/>
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- <path refid="javassist.classpath"/>
- </path>
-
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="jar.prefix" value="jboss-managed"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
- <jar jarfile="${build.lib.retro}/${jar.prefix}14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
- <!-- ================================================================== -->
- <!-- Test -->
- <!-- ================================================================== -->
-
- <target name="mock" depends="compile">
-
- <java classname="org.jboss.managed.mock.Test">
- <classpath>
- <pathelement location="${build.classes}"/>
- <path refid="javac.classpath"/>
- <path refid="apache.xerces.classpath"/>
- </classpath>
- </java>
-
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/metatype/build.bat
===================================================================
--- projects/microcontainer/trunk/metatype/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/metatype/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id: build.bat 31497 2005-05-24 16:47:10Z adrian $
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/metatype/build.sh
===================================================================
--- projects/microcontainer/trunk/metatype/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/metatype/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id: build.sh 31497 2005-05-24 16:47:10Z adrian $
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/metatype/build.xml
===================================================================
--- projects/microcontainer/trunk/metatype/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/metatype/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,159 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build.xml 58705 2006-11-28 16:24:22Z adrian at jboss.org $ -->
-
-<project default="main" name="JBoss/MetaType">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="metatype"/>
- <property name="module.Name" value="JBoss MetaType"/>
- <property name="module.version" value="DEV"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- </path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- </path>
-
- <!-- ============================= -->
- <!-- Paths etc. for the retro task -->
- <!-- ============================= -->
- <property name="build.classes.retro" value="${module.output}/classes-retro"/>
- <property name="build.lib.retro" value="${module.output}/lib14"/>
- <path id="jbossretro.classpath">
- <path refid="apache.ant.classpath"/>
- <path refid="jboss.jbossretro.classpath"/>
- <path refid="jboss/backport.concurrent.classpath"/>
- <path refid="javassist.classpath"/>
- </path>
-
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="jar.prefix" value="jboss-metatype"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- retro"
- />
-
- <target name="retro">
- <mkdir dir="${build.lib.retro}"/>
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
- <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
- <classpath refid="jbossretro.classpath"/>
- <classpath refid="library.classpath"/>
- <classpath refid="dependentmodule.classpath"/>
- <classpath>
- <pathelement path="${build.classes}"/>
- </classpath>
- <src path="${build.classes}"/>
- </retro>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
- <jar jarfile="${build.lib.retro}/${jar.prefix}14.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes.retro}"/>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
-</project>
Deleted: projects/microcontainer/trunk/osgi-int/build-test.xml
===================================================================
--- projects/microcontainer/trunk/osgi-int/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/osgi-int/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,390 +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 targets SYSTEM "../tools/etc/buildmagic/targets.ent">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml 55205 2006-08-04 16:46:15Z kabir.khan at jboss.com $ -->
-
-<project default="main" name="JBoss/OSGi 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="container"/>
- <property name="module.Name" value="JBoss Container"/>
- <property name="module.version" value="M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="junit4.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="osgi.core.classpath" />
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- </path>
-
-<!-- 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="${jar.prefix}.jar"/>
- </fileset>
-</path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- <path id="thirdparty.classpath">
- <path refid="library.classpath"/>
- <path refid="dependentmodule.classpath"/>
- </path>
-
- <path id="no.javassist.classpath">
- <path refid="dependentmodule.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="junit4.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="osgi.core.classpath"/>
- <path refid="jboss.profiler.jvmti.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.common.classpath"/>
- </path>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <jar jarfile="${build.lib}/jboss-container-test.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
-
- <!-- vfs test jars -->
- <jar destfile="${build.lib}/jar1.jar">
- <manifest>
- <attribute name="Specification-Title" value="jar1" />
- <attribute name="Specification-Version" value="1.0.0.GA-jar1" />
- <attribute name="Specification-Vendor" value="JBoss Inc." />
- </manifest>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/vfs/support/jar1/**" />
- </zipfileset>
- </jar>
- <jar destfile="${build.lib}/jar2.jar">
- <manifest>
- <attribute name="Specification-Title" value="jar2" />
- <attribute name="Specification-Version" value="1.0.0.GA-jar2" />
- <attribute name="Specification-Vendor" value="JBoss Inc." />
- </manifest>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/vfs/support/jar2/**" />
- </zipfileset>
- </jar>
- <jar destfile="${build.lib}/outer.jar">
- <manifest>
- <attribute name="Specification-Title" value="outer-jar" />
- <attribute name="Specification-Version" value="1.0.0.GA" />
- <attribute name="Specification-Vendor" value="JBoss Inc." />
- <attribute name="Implementation-Title" value="outer-jar-test" />
- <attribute name="Implementation-URL" value="www.jboss.org" />
- <attribute name="Implementation-Version" value="1.0.0.GA-jboss" />
- <attribute name="Implementation-Vendor" value="JBoss Inc." />
- </manifest>
- <zipfileset dir="${build.lib}">
- <include name="jar1.jar" />
- <include name="jar2.jar" />
- </zipfileset>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/vfs/support/*" />
- </zipfileset>
- </jar>
- <!-- unpacked versions of vfs test jars -->
- <unzip dest="${build.lib}/unpacked-outer.jar" src="${build.lib}/outer.jar">
-
- </unzip>
-
- <!-- Profile service test jars -->
- <jar destfile="${build.lib}/p0.jar">
- <manifest>
- <attribute name="Specification-Title" value="profile0-jar" />
- <attribute name="Specification-Version" value="1.0.0.GA" />
- <attribute name="Specification-Vendor" value="JBoss Inc." />
- <attribute name="Implementation-Title" value="p0-jar-test" />
- <attribute name="Implementation-URL" value="www.jboss.org" />
- <attribute name="Implementation-Version" value="1.0.0.GA-jboss" />
- <attribute name="Implementation-Vendor" value="JBoss Inc." />
- </manifest>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/profileservice/profiles/p0/**" />
- </zipfileset>
- </jar>
-
- <!-- OSGi bundle jars -->
- <jar destfile="${build.lib}/osgi-bundle1.jar">
- <manifest>
- <attribute name="Bundle-ManifestVersion" value="2" />
- <attribute name="Bundle-Category" value="osgi-bundle1" />
- <attribute name="Bundle-ClassPath" value="jar1.jar,jar2.jar,."/>
- <attribute name="Bundle-Copyright" value="2006, JBoss Inc." />
- <attribute name="Bundle-Description" value="An OSGi test bundle" />
- <attribute name="Bundle-Name" value="osgi-bundle" />
- <attribute name="Bundle-SymbolicName" value="org.jboss.test.bundle1;singleton:=true" />
- <attribute name="Bundle-Vendor" value="JBoss Inc." />
- <attribute name="Bundle-Version" value="1.0.0" />
- <attribute name="Bundle-Activator" value="org.jboss.test.bundle.TestBundleActivator" />
- <attribute name="Bundle-RequiredExecutionEnvironment" value="J2SE-1.4" />
-
- <attribute name="Import-Package" value="org.jboss.test.vfs.support.jar1,
- org.jboss.test.vfs.support.jar2,version="[1.0,2.0]"resolution=mandatory" />
- </manifest>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/bundle/support/*" />
- </zipfileset>
- </jar>
- <jar destfile="${build.lib}/osgi-bundle-export.jar">
- <manifest>
- <attribute name="Bundle-ManifestVersion" value="2" />
- <attribute name="Bundle-Category" value="osgi-bundle-export-jar1" />
- <attribute name="Bundle-Copyright" value="2006, JBoss Inc." />
- <attribute name="Bundle-Description" value="A bundle which exports org.jboss.test.vfs.support.jar1" />
- <attribute name="Bundle-Name" value="osgi-bundle" />
- <attribute name="Bundle-SymbolicName" value="org.jboss.test.vfs.support.jar1" />
- <attribute name="Bundle-Vendor" value="JBoss Inc." />
- <attribute name="Bundle-Version" value="1.0.1" />
- <attribute name="Bundle-RequiredExecutionEnvironment" value="J2SE-1.5" />
-
- <attribute name="Export-Package" value="org.jboss.test.vfs.support.jar1;version=1.0.1,
- org.jboss.test.vfs.support.jar2;version=1.1;,
- uses=org.jboss.test.vfs.support;" />
- </manifest>
- <zipfileset dir="${build.lib}">
- <include name="jar1.jar" />
- <include name="jar2.jar" />
- </zipfileset>
- <zipfileset dir="${build.classes}">
- <include name="org/jboss/test/bundle/support/*" />
- </zipfileset>
- </jar>
-
- <!-- unpacked versions of osgi-bundle test jars -->
- <unzip dest="${build.lib}/unpacked-osgi-bundle-export.jar" src="${build.lib}/osgi-bundle-export.jar" />
- </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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <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"/>
- <exclude name="org/jboss/test/**/NoJavassistAnnotationCreatorTestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- <junit dir="${module.output}"
- printsummary="yes"
- haltonerror="false"
- haltonfailure="false"
- fork="true">
-
- <sysproperty key="build.testlog" value="${build.testlog}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <path refid="no.javassist.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/**/NoJavassistAnnotationCreatorTestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="one-test" depends="init"
- 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}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <path refid="javac.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>
Deleted: projects/microcontainer/trunk/osgi-int/build.bat
===================================================================
--- projects/microcontainer/trunk/osgi-int/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/osgi-int/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id: build.bat 27983 2005-01-26 22:51:29Z ejort $
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/osgi-int/build.sh
===================================================================
--- projects/microcontainer/trunk/osgi-int/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/osgi-int/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id: build.sh 27983 2005-01-26 22:51:29Z ejort $
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/osgi-int/build.xml
===================================================================
--- projects/microcontainer/trunk/osgi-int/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/osgi-int/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,150 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build.xml 55339 2006-08-05 15:16:29Z adrian at jboss.org $ -->
-
-<project default="main" name="OSGi Integration">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="container"/>
- <property name="module.Name" value="JBoss Container"/>
- <property name="module.version" value="M1"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="junit.junit.classpath"/>
- <path refid="javassist.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="osgi.osgi.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss/jboss.vfs.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="jboss.container.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- &modules;
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/main"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="jar.prefix" value="jboss-osgi"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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="compile-parsers,
- _default:compile-classes,
- _default:compile-etc"
- />
-
- <!-- Compile parsers -->
- <target name="compile-parsers" depends="init">
- <mkdir dir="${build.parsers}/org/jboss/vfs/bundle"/>
-
- <!-- OSGi bundle header parser -->
- <javacc target="${source.java}/org/jboss/vfs/bundle/HeaderValue.jj"
- outputdirectory="${build.parsers}/org/jboss/vfs/bundle"
- javacchome="${sun.javacc.lib}"
- static="false"/>
- </target>
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib}/jboss-osgi.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- </jar>
- </target>
-
-
-</project>
Modified: projects/microcontainer/trunk/osgi-int/pom.xml
===================================================================
--- projects/microcontainer/trunk/osgi-int/pom.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/osgi-int/pom.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -4,7 +4,6 @@
<groupId>jboss</groupId>
<artifactId>jboss-microcontainer</artifactId>
<version>2.0.0.SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jboss-osgi-int</artifactId>
Deleted: projects/microcontainer/trunk/spring-int/build-test.xml
===================================================================
--- projects/microcontainer/trunk/spring-int/build-test.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/spring-int/build-test.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,233 +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">
- ]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build-test.xml 58705 2006-12-14 13:24:22 +0100 (Cet, 14 dec 2006) ales.justin at jboss.org $ -->
-
-<project default="main" name="JBoss/Spring-int 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="spring-int"/>
- <property name="module.Name" value="JBoss Spring MC Integration"/>
- <property name="module.version" value="DEV"/>
- <property name="jar.prefix" value="jboss-${module.name}-test"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <path id="jboss.aop50.classpath">
- <fileset dir="${jboss.aop.lib}">
- <include name="jboss-aop-jdk50.jar"/>
- </fileset>
- </path>
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.test.classpath"/>
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="trove.trove.classpath"/>
- <path refid="jboss.aop50.classpath"/>
- <path refid="jboss.jbossxb.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="${jar.prefix}.jar"/>
- </fileset>
- </path>
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.container-test.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.kernel-test.classpath"/>
- <path refid="jboss.this.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/tests"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
- <property name="build.classes" value="${module.output}/classes-tests"/>
- <property name="build.testlog" value="${module.output}/log"/>
- <property name="build-bypass.disabled" value="true"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-resources"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build the test jar -->
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}/xml-test">
- <include name="**"/>
- </fileset>
- </jar>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- Tests -->
- <!-- ================================================================== -->
- <target name="tests" depends="most" description="Execute all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <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 all tests in the given test directory.">
- <mkdir dir="${build.reports}"/>
- <mkdir dir="${build.testlog}"/>
- <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}"/>
-
- <classpath>
- <pathelement location="${build.lib}/${jar.prefix}.jar"/>
- <path refid="javac.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>
-
-</project>
Deleted: projects/microcontainer/trunk/spring-int/build.bat
===================================================================
--- projects/microcontainer/trunk/spring-int/build.bat 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/spring-int/build.bat 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,89 +0,0 @@
- at echo off
-REM ======================================================================
-REM
-REM This is the main entry point for the build system.
-REM
-REM Users should be sure to execute this file rather than 'ant' to ensure
-REM the correct version is being used with the correct configuration.
-REM
-REM ======================================================================
-REM
-REM $Id: build.bat 43840 2006-04-17 12:07:29 +0200 (Pon, 17 apr 2006) adrian $
-REM
-REM Authors:
-REM Jason Dillon <jason at planet57.com>
-REM Sacha Labourey <sacha.labourey at cogito-info.ch>
-REM
-
-REM ******************************************************
-REM Ignore the ANT_HOME variable: we want to use *our*
-REM ANT version and associated JARs.
-REM ******************************************************
-REM Ignore the users classpath, cause it might mess
-REM things up
-REM ******************************************************
-
-SETLOCAL
-
-set CLASSPATH=
-set ANT_HOME=
-set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
-
-REM ******************************************************
-REM - "for" loops have been unrolled for compatibility
-REM with some WIN32 systems.
-REM ******************************************************
-
-set NAMES=tools;tools\ant;tools\apache\ant
-set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
-
-REM ******************************************************
-REM ******************************************************
-
-SET EXECUTED=FALSE
-for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
-
-goto :EOF
-
-
-REM ******************************************************
-REM ********* Search for names in the subfolders *********
-REM ******************************************************
-
-:subLoop
-for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************ Test if ANT Batch file exists ***********
-REM ******************************************************
-
-:testIfExists
-if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
-
-goto :EOF
-
-
-REM ******************************************************
-REM ************** Batch file has been found *************
-REM ******************************************************
-
-:BatchFound
-if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
-set EXECUTED=TRUE
-
-goto :EOF
-
-REM ******************************************************
-REM ************* Execute Batch file only once ***********
-REM ******************************************************
-
-:ExecuteBatch
-echo Calling %1 %2 %3 %4 %5 %6 %7 %8
-call %1 %2 %3 %4 %5 %6 %7 %8
-
-:end
-
-if "%NOPAUSE%" == "" pause
Deleted: projects/microcontainer/trunk/spring-int/build.sh
===================================================================
--- projects/microcontainer/trunk/spring-int/build.sh 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/spring-int/build.sh 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,172 +0,0 @@
-#!/bin/sh
-### ====================================================================== ###
-## ##
-## This is the main entry point for the build system. ##
-## ##
-## Users should be sure to execute this file rather than 'ant' to ensure ##
-## the correct version is being used with the correct configuration. ##
-## ##
-### ====================================================================== ###
-
-# $Id: build.sh 43840 2006-04-17 12:07:29 +0200 (Pon, 17 apr 2006) adrian $
-
-PROGNAME=`basename $0`
-DIRNAME=`dirname $0`
-GREP="grep"
-ROOT="/"
-
-# Ignore user's ANT_HOME if it is set
-ANT_HOME=""
-
-# the default search path for ant
-ANT_SEARCH_PATH="\
- tools
- tools/ant \
- tools/apache/ant \
- ant"
-
-# the default build file name
-ANT_BUILD_FILE="build.xml"
-
-# the default arguments
-ANT_OPTIONS="-find $ANT_BUILD_FILE"
-
-# Use the maximum available, or set MAX_FD != -1 to use that
-MAX_FD="maximum"
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false;
-darwin=false;
-case "`uname`" in
- CYGWIN*)
- cygwin=true
- ;;
-
- Darwin*)
- darwin=true
- ;;
-esac
-
-#
-# Helper to complain.
-#
-die() {
- echo "${PROGNAME}: $*"
- exit 1
-}
-
-#
-# Helper to complain.
-#
-warn() {
- echo "${PROGNAME}: $*"
-}
-
-#
-# Helper to source a file if it exists.
-#
-maybe_source() {
- for file in $*; do
- if [ -f "$file" ]; then
- . $file
- fi
- done
-}
-
-search() {
- search="$*"
- for d in $search; do
- ANT_HOME="`pwd`/$d"
- ANT="$ANT_HOME/bin/ant"
- if [ -x "$ANT" ]; then
- # found one
- echo $ANT_HOME
- break
- fi
- done
-}
-
-#
-# Main function.
-#
-main() {
- # if there is a build config file. then source it
- maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
-
- # Increase the maximum file descriptors if we can
- if [ $cygwin = "false" ]; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ]; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
- # use the system max
- MAX_FD="$MAX_FD_LIMIT"
- fi
-
- ulimit -n $MAX_FD
- if [ $? -ne 0 ]; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
- fi
-
- # try the search path
- ANT_HOME=`search $ANT_SEARCH_PATH`
-
- # try looking up to root
- if [ "x$ANT_HOME" = "x" ]; then
- target="build"
- _cwd=`pwd`
-
- while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
- cd ..
- cwd=`pwd`
- ANT_HOME=`search $ANT_SEARCH_PATH`
- done
-
- # make sure we get back
- cd $_cwd
-
- if [ "$cwd" != "$ROOT" ]; then
- found="true"
- fi
-
- # complain if we did not find anything
- if [ "$found" != "true" ]; then
- die "Could not locate Ant; check \$ANT or \$ANT_HOME."
- fi
- fi
-
- # make sure we have one
- ANT=$ANT_HOME/bin/ant
- if [ ! -x "$ANT" ]; then
- die "Ant file is not executable: $ANT"
- fi
-
- # need to specify planet57/buildmagic protocol handler package
- ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
-
- # setup some build properties
- ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
-
- # change to the directory where the script lives so users are not forced
- # to be in the same directory as build.xml
- cd $DIRNAME
-
- # export some stuff for ant
- export ANT ANT_HOME ANT_OPTS
-
- # execute in debug mode, or simply execute
- if [ "x$ANT_DEBUG" != "x" ]; then
- /bin/sh -x $ANT $ANT_OPTIONS "$@"
- else
- exec $ANT $ANT_OPTIONS "$@"
- fi
-}
-
-##
-## Bootstrap
-##
-
-main "$@"
Deleted: projects/microcontainer/trunk/spring-int/build.xml
===================================================================
--- projects/microcontainer/trunk/spring-int/build.xml 2007-03-23 01:47:01 UTC (rev 61630)
+++ projects/microcontainer/trunk/spring-int/build.xml 2007-03-23 05:37:51 UTC (rev 61631)
@@ -1,152 +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">
-]>
-
-<!-- ====================================================================== -->
-<!-- -->
-<!-- JBoss, the OpenSource J2EE webOS -->
-<!-- -->
-<!-- Distributable under LGPL license. -->
-<!-- See terms of license at http://www.gnu.org. -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<!-- $Id: build.xml 59020 2006-12-14 00:51:15 +0100 (Čet, 14 dec 2006) adrian at jboss.org $ -->
-
-<project default="main" name="JBoss/Spring-int">
-
- <!-- ================================================================== -->
- <!-- 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.
- -->
-
- <target name="configure" unless="configure.disable">
-
- <!-- =================== -->
- <!-- Basic Configuration -->
- <!-- =================== -->
-
- <!-- Module name(s) & version -->
- <property name="module.name" value="spring-int"/>
- <property name="module.Name" value="JBoss Spring MC Integration"/>
- <property name="module.version" value="DEV"/>
- <property name="jar.prefix" value="jboss-${module.name}"/>
-
- <!-- ========= -->
- <!-- Libraries -->
- <!-- ========= -->
-
- &libraries;
-
- <!-- The combined library classpath -->
- <path id="library.classpath">
- <path refid="apache.log4j.classpath"/>
- <path refid="javassist.javassist.classpath"/>
- <path refid="oswego.concurrent.classpath"/>
- <path refid="junit.junit.classpath"/>
- <path refid="jboss.aop.classpath"/>
- <path refid="jboss/common.core.classpath"/>
- <path refid="jboss/common.logging.spi.classpath"/>
- <path refid="jboss/common.logging.log4j.classpath"/>
- <path refid="jboss.jbossxb.classpath"/>
- <path refid="jboss.test.classpath"/>
- </path>
-
- <!-- ======= -->
- <!-- Modules -->
- <!-- ======= -->
-
- &modules;
-
- <!-- The combined dependant module classpath -->
- <path id="dependentmodule.classpath">
- <path refid="jboss.container.classpath"/>
- <path refid="jboss.dependency.classpath"/>
- <path refid="jboss.kernel.classpath"/>
- <path refid="jboss.kernel-test.classpath"/>
- </path>
-
- <!-- ===== -->
- <!-- Tasks -->
- <!-- ===== -->
-
- <property name="source.java" value="${module.source}/main"/>
- <property name="javac.target" value="1.5"/>
- <property name="javac.source" value="1.5"/>
-
- <call target="_default:task-init"/>
-
- </target>
-
- <!-- ================================================================== -->
- <!-- 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-etc,
- _default:compile-resources"
- />
-
- <!-- ================================================================== -->
- <!-- Archives -->
- <!-- ================================================================== -->
-
- <!--
- | Build all jar files.
- -->
- <target name="module-jars" depends="init">
-
- <!-- Build jboss-kernel.jar -->
- <jar jarfile="${build.lib}/${jar.prefix}.jar" manifest="${build.etc}/default.mf">
- <fileset dir="${build.classes}"/>
- <fileset dir="${build.resources}">
- <include name="schema/**"/>
- </fileset>
- </jar>
- <!-- Minimal source bundle -->
- <zip destfile="${build.lib}/${jar.prefix}-src.zip">
- <fileset dir="${source.java}">
- <include name="**"/>
- </fileset>
- </zip>
- </target>
-
-</project>
More information about the jboss-cvs-commits
mailing list