[jboss-svn-commits] JBL Code SVN: r21373 - in labs/jbossbuild/buildmagic/trunk: build and 128 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 5 15:10:52 EDT 2008
Author: pgier
Date: 2008-08-05 15:10:51 -0400 (Tue, 05 Aug 2008)
New Revision: 21373
Added:
labs/jbossbuild/buildmagic/trunk/build/
labs/jbossbuild/buildmagic/trunk/build/.cvsignore
labs/jbossbuild/buildmagic/trunk/build/build.bat
labs/jbossbuild/buildmagic/trunk/build/build.sh
labs/jbossbuild/buildmagic/trunk/build/build.xml
labs/jbossbuild/buildmagic/trunk/build/etc/
labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-example
labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-production
labs/jbossbuild/buildmagic/trunk/common/
labs/jbossbuild/buildmagic/trunk/common/archive-browsing/
labs/jbossbuild/buildmagic/trunk/common/assembly/
labs/jbossbuild/buildmagic/trunk/common/common-source/
labs/jbossbuild/buildmagic/trunk/common/namespace/
labs/jbossbuild/buildmagic/trunk/common/primary-source/
labs/jbossbuild/buildmagic/trunk/common/src/
labs/jbossbuild/buildmagic/trunk/common/src/etc/
labs/jbossbuild/buildmagic/trunk/common/src/main/
labs/jbossbuild/buildmagic/trunk/common/src/main/javax/
labs/jbossbuild/buildmagic/trunk/common/src/main/javax/xml/
labs/jbossbuild/buildmagic/trunk/common/src/main/javax/xml/namespace/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/apache/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/apache/xerces/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/apache/xerces/impl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/apache/xerces/impl/xs/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/vdf/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/vdf/plugins/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/vdf/plugins/basic/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/vdf/plugins/vfs/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/deployment/vdf/spi/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/interception/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/io/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/appender/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/filter/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/jdk/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/jdk/format/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/jdk/handlers/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/jdk/xml/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/layout/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/logging/util/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/file/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/http/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/nestedjar/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/njar/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/protocol/resource/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/sockets/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/net/ssl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/cache/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/coerce/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/collection/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/deadlock/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/file/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/id/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/jmx/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/loading/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/naming/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/platform/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/property/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/property/jmx/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/propertyeditor/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/state/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/state/xml/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/stream/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/threadpool/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/timeout/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/xml/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/xml/catalog/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/xml/catalog/helpers/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/util/xml/catalog/readers/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/group/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/metadata/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/metadata/marshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/metadata/unmarshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/metadata/unmarshalling/impl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/parser/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/parser/sax/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/parser/xni/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/marshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/unmarshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/unmarshalling/impl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/unmarshalling/impl/runtime/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/binding/sunday/xop/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xb/util/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/metadata/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/metadata/marshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/metadata/unmarshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/metadata/unmarshalling/impl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/parser/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/parser/sax/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/parser/xni/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/sunday/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/sunday/unmarshalling/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/sunday/unmarshalling/impl/
labs/jbossbuild/buildmagic/trunk/common/src/main/org/jboss/xml/binding/sunday/unmarshalling/impl/runtime/
labs/jbossbuild/buildmagic/trunk/common/src/test/
labs/jbossbuild/buildmagic/trunk/common/src/test/org/
labs/jbossbuild/buildmagic/trunk/common/src/test/org/jboss/
labs/jbossbuild/buildmagic/trunk/common/src/test/org/jboss/util/
labs/jbossbuild/buildmagic/trunk/common/src/test/org/jboss/util/propertyeditor/
labs/jbossbuild/buildmagic/trunk/common/target/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/appender/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/filter/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/jdk/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/jdk/format/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/jdk/handlers/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/jdk/xml/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/layout/
labs/jbossbuild/buildmagic/trunk/common/testsuite-support/src/main/java/org/jboss/logging/util/
labs/jbossbuild/buildmagic/trunk/tasks/
labs/jbossbuild/buildmagic/trunk/tasks/build.bat
labs/jbossbuild/buildmagic/trunk/tasks/build.sh
labs/jbossbuild/buildmagic/trunk/tasks/build.xml
labs/jbossbuild/buildmagic/trunk/tasks/src/
labs/jbossbuild/buildmagic/trunk/tasks/src/bin/
labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.bat
labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.sh
labs/jbossbuild/buildmagic/trunk/tasks/src/etc/
labs/jbossbuild/buildmagic/trunk/tasks/src/etc/default.mf
labs/jbossbuild/buildmagic/trunk/tasks/src/main/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/oevren/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/oevren/ant/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/oevren/ant/greebo/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/AbstractBuildListener.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/CallTarget.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/IllegalAttributeException.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingAttributeException.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingElementException.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Property.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/PropertyFilter.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Require.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/ResolveProperties.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Subst.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Tasks.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedAttributeException.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedElementException.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/config/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ModuleConfig.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/ConditionalExecution.java
labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/TaskLogger.java
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.properties
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.xml
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task.properties
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/
labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/autoload.properties
labs/jbossbuild/buildmagic/trunk/thirdparty/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/LICENSE
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/VERSION
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/lib/bcel.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/LICENSE.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/README.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/jboss.patch.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-beanutils.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-codec-1.2.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-collections.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-digester-1.6.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-discovery.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-fileupload.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-httpclient.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-lang-2.0.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging-api.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-pool.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-validator-1.1.3.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-vfs.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/README
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/log4j.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/snmpTrapAppender.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/LICENSE
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/README
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/client/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/client/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/client/lib/webdavlib.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/README
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/dom4j.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/jaxen-1.1-beta-4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/LICENSE.lgpl
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/lib/getopt.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/lib/gnu-regexp.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/
labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/VERSION
labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/lib/bsf.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/license.html
labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/
labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/README.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/junit.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/LICENSE.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/README.txt
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent-src.zip
labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/crimson.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/jaxp.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/xalan.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxgrinder.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxri.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxtools.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/commons-logging.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-bea-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-ejb-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-java-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jboss-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jdo-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jmx-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-web-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xdoclet-module-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xjavadoc-jb4.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/
labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/component-info.xml
labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/
labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2-ext.jar
labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2.jar
labs/jbossbuild/buildmagic/trunk/tools/
labs/jbossbuild/buildmagic/trunk/tools/.project
labs/jbossbuild/buildmagic/trunk/tools/apache/
labs/jbossbuild/buildmagic/trunk/tools/apache/ant/
labs/jbossbuild/buildmagic/trunk/tools/apache/ant/bin/
labs/jbossbuild/buildmagic/trunk/tools/apache/ant/lib/
labs/jbossbuild/buildmagic/trunk/tools/apache/ant/lib/ext/
labs/jbossbuild/buildmagic/trunk/tools/apache/fop/
labs/jbossbuild/buildmagic/trunk/tools/apache/fop/lib/
labs/jbossbuild/buildmagic/trunk/tools/bin/
labs/jbossbuild/buildmagic/trunk/tools/bin/ant
labs/jbossbuild/buildmagic/trunk/tools/bin/ant.bat
labs/jbossbuild/buildmagic/trunk/tools/bin/antRun
labs/jbossbuild/buildmagic/trunk/tools/bin/antRun.bat
labs/jbossbuild/buildmagic/trunk/tools/bin/antx.bat
labs/jbossbuild/buildmagic/trunk/tools/bin/lcp.bat
labs/jbossbuild/buildmagic/trunk/tools/dreambean/
labs/jbossbuild/buildmagic/trunk/tools/dreambean/ejbdoclet/
labs/jbossbuild/buildmagic/trunk/tools/dreambean/ejbdoclet/lib/
labs/jbossbuild/buildmagic/trunk/tools/etc/
labs/jbossbuild/buildmagic/trunk/tools/etc/buildfragments/
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/aliases.ent
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/autoload.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/build-common.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/buildmagic.ent
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/libraries.ent
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/modules.ent
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/targets.ent
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/task.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/version-info.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/README.TXT
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/TODO
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/restartJBossBuild.sh
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-JBossCache.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-committer-list.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-common-targets.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-concurrent-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-cruisecontrol.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-4.0-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-head-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-hibernate-db-matrix.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common-module.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-head-repository.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-ide.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-portal.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-remoting.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-seam-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-serialization-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbosslabs.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossretro-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb-windows.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossws-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm-db-matrix.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm.3.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jms-head-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-microcontainer-head-testsuite.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/committer-list.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/create-committer-list.sh
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/cruisecontrol.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/customize.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/db2.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hibernate.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hsql.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/jtds-sqlserver.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/log4j.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/mysql.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/oracle10.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/sybase.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.env
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.odbc.ini
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.sys.ttconnect.ini
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index-jboss-seam.html
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index.html
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-4.0.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-head.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/db2.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/hsqldb.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mssql.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mysql.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/oracle.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/sybase.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jdbc.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/local-override.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/changelists.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/header.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/checkstyle.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/compile.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/distributables.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/header.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/javadoc.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/logfile.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/maven.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/modifications.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/testdetails.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/unittests.xsl
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.class
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.java
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-collections.jar
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-logging.jar
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/config.vm
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.bat
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.sh
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jbosslabstemplate.vm
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jdom.jar
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/logkit.jar
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-db.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-matrix.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-web.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projecttemplate.vm
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/velocity-1.4.jar
labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/test-cc.sh
labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/
labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/jbossbuild.properties
labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/release.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/tasks.xml
labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/
labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/templates/
labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/templates/mbean-custom.j
labs/jbossbuild/buildmagic/trunk/tools/examples/
labs/jbossbuild/buildmagic/trunk/tools/jedit/
labs/jbossbuild/buildmagic/trunk/tools/jedit/javastyle/
labs/jbossbuild/buildmagic/trunk/tools/jedit/javastyle/lib/
labs/jbossbuild/buildmagic/trunk/tools/lib/
labs/jbossbuild/buildmagic/trunk/tools/lib/README
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-javamail.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-junit.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-launcher.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-nodeps.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-trax.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant-xslp.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/ant.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/bsf.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/buildmagic-tasks.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/jbossbuild.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/jdtCompilerAdapter.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/junit.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/org.eclipse.jdt.core_3.1.0.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/pretty.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/resolver.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/retrotranslator/
labs/jbossbuild/buildmagic/trunk/tools/lib/xalan.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/xercesImpl.jar
labs/jbossbuild/buildmagic/trunk/tools/lib/xml-apis.jar
labs/jbossbuild/buildmagic/trunk/tools/planet57/
labs/jbossbuild/buildmagic/trunk/tools/planet57/buildmagic/
labs/jbossbuild/buildmagic/trunk/tools/planet57/buildmagic/bin/
labs/jbossbuild/buildmagic/trunk/tools/planet57/buildmagic/lib/
labs/jbossbuild/buildmagic/trunk/tools/sun/
labs/jbossbuild/buildmagic/trunk/tools/sun/javac/
labs/jbossbuild/buildmagic/trunk/tools/sun/javac/lib/
Modified:
labs/jbossbuild/buildmagic/trunk/
Log:
Moving buildmagic HEAD from CVS repository.
Property changes on: labs/jbossbuild/buildmagic/trunk
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
Added: labs/jbossbuild/buildmagic/trunk/build/.cvsignore
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/.cvsignore (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/.cvsignore 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,3 @@
+output
+build.log
+local.properties
Added: labs/jbossbuild/buildmagic/trunk/build/build.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/build.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/build.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,94 @@
+ 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 JAXP_DOM_FACTORY=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
+set JAXP_SAX_FACTORY=org.apache.crimson.jaxp.SAXParserFactoryImpl
+REM set JAXP_DOM_FACTORY=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
+REM set JAXP_SAX_FACTORY=org.apache.xerces.jaxp.SAXParserFactoryImpl
+
+set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY% -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
+
+pause
Property changes on: labs/jbossbuild/buildmagic/trunk/build/build.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/build/build.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/build.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/build.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,49 @@
+#!/bin/sh
+##
+## Invokes a script of the same name in the 'tools' module.
+##
+## The 'tools' module is expected to be a peer directory of the directory
+## in which this script lives.
+##
+## @author Jason Dillon <jason at planet57.com>
+##
+
+# $Id$
+
+PROGNAME=`basename $0`
+DIRNAME=`dirname $0`
+
+# Buss it yo
+main() {
+ if [ "x$TOOLS_ROOT" = "x" ]; then
+ TOOLS_ROOT=`cd $DIRNAME/../tools; pwd`
+ fi
+
+ MODULE_ROOT=`cd $DIRNAME; pwd`
+ export TOOLS_ROOT MODULE_ROOT DEBUG TRACE
+
+ # Where is the target script?
+ target="$TOOLS_ROOT/bin/$PROGNAME"
+ if [ ! -f "$target" ]; then
+ echo "${PROGNAME}: *ERROR* The target executable does not exist:"
+ echo "${PROGNAME}:"
+ echo "${PROGNAME}: $target"
+ echo "${PROGNAME}:"
+ echo "${PROGNAME}: Please make sure you have checked out the 'tools' module"
+ echo "${PROGNAME}: and make sure it is up to date."
+ exit 2
+ fi
+
+ # Get busy yo!
+ if [ "x$DEBUG" != "x" ]; then
+ echo "${PROGNAME}: Executing: /bin/sh $target $@"
+ fi
+ if [ "x$TRACE" = "x" ]; then
+ exec /bin/sh $target "$@"
+ else
+ exec /bin/sh -x $target "$@"
+ fi
+}
+
+# Lets get ready to rumble!
+main "$@"
Property changes on: labs/jbossbuild/buildmagic/trunk/build/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/build/build.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/build.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/build.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+ <!ENTITY buildmagic SYSTEM "../tools/etc/buildfragments/buildmagic.ent">
+ <!ENTITY tools SYSTEM "../tools/etc/buildfragments/tools.ent">
+ <!ENTITY libraries SYSTEM "../tools/etc/buildfragments/libraries.ent">
+ <!ENTITY modules SYSTEM "../tools/etc/buildfragments/modules.ent">
+ <!ENTITY defaults SYSTEM "../tools/etc/buildfragments/defaults.ent">
+ <!ENTITY targets SYSTEM "../tools/etc/buildfragments/targets.ent">
+]>
+
+<!-- $Id$ -->
+
+<!--+======================================================================+-->
+<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
+<!--| |-->
+<!--| Distributable under LGPL license. |-->
+<!--| See terms of license at http://www.gnu.org. |-->
+<!--| |-->
+<!--| This file has been designed to work with the 'tools' module and |-->
+<!--| Buildmagic extentions. |-->
+<!--+======================================================================+-->
+
+<project default="main" name="JBoss Buildmagic">
+
+ <!--+====================================================================+-->
+ <!--| Setup |-->
+ <!--| |-->
+ <!--| Include the common build elements. |-->
+ <!--| |-->
+ <!--| This defines several different targets, properties and paths. |-->
+ <!--| It also sets up the basic extention tasks amoung other things. |-->
+ <!--+====================================================================+-->
+
+ &buildmagic;
+ &libraries;
+ &modules;
+ &defaults;
+ &tools;
+ &targets;
+
+
+ <!--+====================================================================+-->
+ <!--| Initialization |-->
+ <!--| |-->
+ <!--| Initialize the build system. Other targets should depend on |-->
+ <!--| 'init'. |-->
+ <!--+====================================================================+-->
+
+ <target name="init" depends="_default:init">
+ <!-- Add module specific elements here. -->
+ </target>
+
+ <!-- fake, to keep tests target happy -->
+ <target name="compile" depends="init"/>
+
+
+ <!--+====================================================================+-->
+ <!--| Configuration |-->
+ <!--| |-->
+ <!--| This target is invoked by the Buildmagic initialization logic |-->
+ <!--| and should contain module specific configuration elements. |-->
+ <!--+====================================================================+-->
+
+ <target name="configure" unless="configure.disable">
+
+ <!--+==============================+-->
+ <!--| Project version information. |-->
+ <!--+==============================+-->
+
+ <!-- Version identifiers for the server. -->
+ <property name="version.major" value="2"/>
+ <property name="version.minor" value="0"/>
+ <property name="version.revision" value="1"/>
+ <property name="version.tag" value="alpha"/>
+ <property name="version.name" value="supyo"/>
+
+ <!-- Module name(s) & version -->
+ <property name="module.version" value="${version.major}.${version.minor}.${version.revision}${version.tag}"/>
+
+ <!--+================================+-->
+ <!--| Library & Module Dependencies. |-->
+ <!--+================================+-->
+
+ <!-- Configure thirdparty libraries -->
+ <call target="configure-libraries"/>
+ <path id="library.classpath">
+ <!-- Add thirdparty library elements here. -->
+ </path>
+
+ <!-- Configure modules -->
+ <call target="configure-modules"/>
+ <path id="dependentmodule.classpath">
+ <!-- Add dependent module classpath elements here. -->
+ </path>
+
+ <!--+=======================================+-->
+ <!--| Override any default properties here. |-->
+ <!--+=======================================+-->
+
+ <!-- Configure defaults & build tools -->
+ <call target="configure-defaults"/>
+ <call target="configure-tools"/>
+
+ <!--+=======================================+-->
+ <!--| Define module specific elements here. |-->
+ <!--+=======================================+-->
+
+ <!--+================================+-->
+ <!--| Define project structure here. |-->
+ <!--+================================+-->
+
+ <!-- The group to use by default -->
+ <property name="groups" value="default"/>
+
+ <!-- Sets up the module configuration. -->
+ <moduleconfig property="modules" selected="${groups}">
+
+ <!-- Modules -->
+
+ <module name="common"/>
+ <module name="tasks"/>
+
+ <!-- Module groups -->
+
+ <group name="core">
+ <include modules="common, tasks"/>
+ </group>
+
+ <group name="default">
+ <include groups="core"/>
+ </group>
+
+ </moduleconfig>
+
+ <!-- Configure project defaults -->
+ <call target="configure-project"/>
+
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Module Pass-through Hooks |-->
+ <!--| |-->
+ <!--| These hooks are executed after the above pass-through targets have |-->
+ <!--| finished with a given module. |-->
+ <!--+====================================================================+-->
+
+ <!-- ====== -->
+ <!-- Common -->
+ <!-- ====== -->
+
+ <target name="_module-common-most">
+ <property name="_module.name" value="common" override="true"/>
+ <property name="_module.output" override="true"
+ value="${project.root}/${_module.name}/output"/>
+
+ <!-- ??? -->
+
+ </target>
+
+ <target name="_module-common-all" depends="_module-common-most">
+
+ <!-- ??? -->
+
+ </target>
+
+ <!-- ===== -->
+ <!-- Tasks -->
+ <!-- ===== -->
+
+ <target name="_module-tasks-most">
+ <property name="_module.name" value="tasks" override="true"/>
+ <property name="_module.output" override="true"
+ value="${project.root}/${_module.name}/output"/>
+
+ <!-- ??? -->
+
+ </target>
+
+ <target name="_module-tasks-all" depends="_module-tasks-most">
+ <!-- Copy the generated javadocs -->
+ <mkdir dir="${install.api}/${_module.name}"/>
+ <copy todir="${install.api}/${_module.name}" filtering="no">
+ <fileset dir="${_module.output}/api">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Generate Output |-->
+ <!--| |-->
+ <!--| Generates the target output for this module. Target output is |-->
+ <!--| the output which is ment to be released or used by external |-->
+ <!--| modules. |-->
+ <!--+====================================================================+-->
+
+ <target name="output"
+ description="Generate all target output."
+ depends="init">
+ <!-- Add module specific elements here. -->
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Documents |-->
+ <!--| |-->
+ <!--| Generate all documentation for this module. |-->
+ <!--+====================================================================+-->
+
+ <target name="docs" depends="_default:docs">
+ <!-- Add module specific elements here. -->
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Install & Release |-->
+ <!--+====================================================================+-->
+
+ <target name="release"
+ description="Builds the default release structure."
+ depends="modules-most, output"/>
+
+ <target name="release-full"
+ description="Builds the full release structure."
+ depends="modules-all, release"/>
+
+
+ <!--+====================================================================+-->
+ <!--| Misc. |-->
+ <!--| |-->
+ <!--| Standard targets and psuedo-targets. |-->
+ <!--+====================================================================+-->
+
+ <target name="clean" depends="init, modules-clean, _buildmagic:clean"
+ description="Cleans up most generated files.">
+ <!-- Add module specific elements here. -->
+ </target>
+
+ <target name="clobber" depends="_buildmagic:clobber, clean, modules-clobber"
+ description="Cleans up all generated files.">
+ <!-- Add module specific elements here. -->
+ </target>
+
+ <target name="main" depends="most"
+ description="Executes the default target (most)."/>
+
+ <target name="all" depends="modules-all"
+ description="Executes all modules and builds everything."/>
+
+ <target name="most" depends="modules-most"
+ description="Executes all modules and builds most everything."/>
+
+ <target name="help" depends="_buildmagic:help:build"
+ description="Show this help message."/>
+
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/build/build.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-example
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-example (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-example 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,29 @@
+### ====================================================================== ###
+## ##
+## Local project properties. ##
+## ##
+## Define properties that are local to your environment here. This ##
+## file (local.properties) should not be checked in. Modify the ##
+## example to affect all users. ##
+## ##
+### ====================================================================== ###
+
+### General compiler configuration ###
+
+#build.compiler=jikes
+#build.warnings=true
+#build.pedantic=true
+#javac.depend=on
+
+### Javac/Jikes compiler configuration ###
+
+javac.optimize=off
+javac.debug=on
+javac.deprecation=on
+
+### Enable verbose build output ###
+
+#init.verbose=true
+
+### JavaDoc ###
+#docs-javadocs.disable=true
Added: labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-production
===================================================================
--- labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-production (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/build/etc/local.properties-production 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,28 @@
+### ====================================================================== ###
+## ##
+## Production local project properties. ##
+## ##
+## Use this file as local.properties when building a production build. ##
+## ##
+### ====================================================================== ###
+
+### General compiler configuration ###
+
+#build.compiler=jikes
+#build.warnings=true
+#build.pedantic=true
+#javac.depend=on
+
+### Javac/Jikes compiler configuration ###
+
+javac.optimize=on
+javac.debug=off
+javac.deprecation=on
+
+### Misc ###
+
+rmic.debug=off
+
+### Use the build number for the build id for releases ###
+
+build.id=${build.number}
Added: labs/jbossbuild/buildmagic/trunk/tasks/build.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/build.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/build.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,73 @@
+ 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
+
+ at if not "%ECHO%" == "" echo %ECHO%
+ at if "%OS%" == "Windows_NT" setlocal
+
+set DIRNAME=.\
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=run.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+rem Read all command line arguments
+
+set ARGS=
+:loop
+if [%1] == [] goto endloop
+ set ARGS=%ARGS% %1
+ shift
+ goto loop
+:endloop
+
+rem ******************************************************
+rem Ignore the ANT_HOME variable: we want to use *our*
+rem ANT version and associated JARs.
+
+set ANT_HOME=
+
+rem ******************************************************
+rem Ignore the users classpath, cause it might mess
+rem things up
+
+set CLASSPATH=
+
+rem ******************************************************
+rem Setup JAXP impl
+
+set JAXP_DOM_FACTORY=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
+set JAXP_SAX_FACTORY=org.apache.crimson.jaxp.SAXParserFactoryImpl
+rem set JAXP_DOM_FACTORY=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
+rem set JAXP_SAX_FACTORY=org.apache.xerces.jaxp.SAXParserFactoryImpl
+
+set ANT_OPTS=-Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY%
+
+rem ******************************************************
+rem Misc JBoss setup
+
+set ANT_OPTS=%ANT_OPTS% -Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
+
+rem ******************************************************
+rem Find ANT_HOME
+
+set ANT_HOME=%DIRNAME%..\tools
+set CLASSPATH=%ANT_HOME%
+
+%ANT_HOME%\bin\ant %ANT_OPTS% %ARGS%
+
+:END
+
+if "%NOPAUSE%" == "" pause
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/build.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/build.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/build.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/build.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,49 @@
+#!/bin/sh
+##
+## Invokes a script of the same name in the 'tools' module.
+##
+## The 'tools' module is expected to be a peer directory of the directory
+## in which this script lives.
+##
+## @author Jason Dillon <jason at planet57.com>
+##
+
+# $Id$
+
+PROGNAME=`basename $0`
+DIRNAME=`dirname $0`
+
+# Buss it yo
+main() {
+ if [ "x$TOOLS_ROOT" = "x" ]; then
+ TOOLS_ROOT=`cd $DIRNAME/../tools; pwd`
+ fi
+
+ MODULE_ROOT=`cd $DIRNAME; pwd`
+ export TOOLS_ROOT MODULE_ROOT DEBUG TRACE
+
+ # Where is the target script?
+ target="$TOOLS_ROOT/bin/$PROGNAME"
+ if [ ! -f "$target" ]; then
+ echo "${PROGNAME}: *ERROR* The target executable does not exist:"
+ echo "${PROGNAME}:"
+ echo "${PROGNAME}: $target"
+ echo "${PROGNAME}:"
+ echo "${PROGNAME}: Please make sure you have checked out the 'tools' module"
+ echo "${PROGNAME}: and make sure it is up to date."
+ exit 2
+ fi
+
+ # Get busy yo!
+ if [ "x$DEBUG" != "x" ]; then
+ echo "${PROGNAME}: Executing: /bin/sh $target $@"
+ fi
+ if [ "x$TRACE" = "x" ]; then
+ exec /bin/sh $target "$@"
+ else
+ exec /bin/sh -x $target "$@"
+ fi
+}
+
+# Lets get ready to rumble!
+main "$@"
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/build.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/build.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/build.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+ <!ENTITY buildmagic SYSTEM "../tools/etc/buildfragments/buildmagic.ent">
+ <!ENTITY tools SYSTEM "../tools/etc/buildfragments/tools.ent">
+ <!ENTITY libraries SYSTEM "../tools/etc/buildfragments/libraries.ent">
+ <!ENTITY modules SYSTEM "../tools/etc/buildfragments/modules.ent">
+ <!ENTITY defaults SYSTEM "../tools/etc/buildfragments/defaults.ent">
+ <!ENTITY targets SYSTEM "../tools/etc/buildfragments/targets.ent">
+]>
+
+<!-- $Id$ -->
+
+<!--+======================================================================+-->
+<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
+<!--| |-->
+<!--| Distributable under LGPL license. |-->
+<!--| See terms of license at http://www.gnu.org. |-->
+<!--| |-->
+<!--| This file has been designed to work with the 'tools' module and |-->
+<!--| Buildmagic extentions. |-->
+<!--+======================================================================+-->
+
+<project default="main" name="Buildmagic/Tasks">
+
+ <!--+====================================================================+-->
+ <!--| Setup |-->
+ <!--| |-->
+ <!--| Include the common build elements. |-->
+ <!--| |-->
+ <!--| This defines several different targets, properties and paths. |-->
+ <!--| It also sets up the basic extention tasks amoung other things. |-->
+ <!--+====================================================================+-->
+
+ &buildmagic;
+ &libraries;
+ &modules;
+ &defaults;
+ &tools;
+ &targets;
+
+
+ <!--+====================================================================+-->
+ <!--| Initialization |-->
+ <!--| |-->
+ <!--| Initialize the build system. Other targets should depend on |-->
+ <!--| 'init'. |-->
+ <!--+====================================================================+-->
+
+ <target name="init" depends="_default:init">
+ <!-- Add module specific elements here. -->
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Configuration |-->
+ <!--| |-->
+ <!--| This target is invoked by the Buildmagic initialization logic |-->
+ <!--| and should contain module specific configuration elements. |-->
+ <!--+====================================================================+-->
+
+ <target name="configure" unless="configure.disable">
+
+ <!--+================================+-->
+ <!--| Library & Module Dependencies. |-->
+ <!--+================================+-->
+
+ <!-- Configure thirdparty libraries -->
+ <call target="configure-libraries"/>
+ <path id="library.classpath">
+ <path refid="apache.log4j.classpath"/>
+ <path refid="ibm.bsf.classpath"/>
+ </path>
+
+ <!-- Configure modules -->
+ <call target="configure-modules"/>
+ <path id="dependentmodule.classpath">
+ <path refid="jboss.common.classpath"/>
+ </path>
+
+ <!--+=======================================+-->
+ <!--| Override any default properties here. |-->
+ <!--+=======================================+-->
+
+ <!-- We need the Ant RT classes -->
+ <property name="javac.include.ant.runtime" value="true"/>
+
+ <!-- Configure defaults & build tools -->
+ <call target="configure-defaults"/>
+ <call target="configure-tools"/>
+
+ <!--+=======================================+-->
+ <!--| Define module specific elements here. |-->
+ <!--+=======================================+-->
+
+ <!-- Get jboss.home from the environment -->
+ <property name="jboss.home" value="${env.JBOSS_HOME}"/>
+
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Compile |-->
+ <!--| |-->
+ <!--| 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">
+ <!-- Add module specific elements here. -->
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Generate Output |-->
+ <!--| |-->
+ <!--| Generates the target output for this module. Target output is |-->
+ <!--| the output which is ment to be released or used by external |-->
+ <!--| modules. |-->
+ <!--+====================================================================+-->
+
+ <target name="output"
+ description="Generate all target output."
+ depends="compile">
+
+ <mkdir dir="${build.lib}"/>
+
+ <!-- buildmagic-tasks.jar -->
+ <jar jarfile="${build.lib}/buildmagic-tasks.jar" manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}">
+ <include name="**"/>
+ </fileset>
+ <fileset dir="${build.resources}">
+ <include name="**"/>
+ </fileset>
+
+ <!-- Include required classes from common -->
+ <fileset dir="${jboss.common.root}/classes">
+ <include name="org/jboss/net/protocol/**"/>
+ <include name="org/jboss/logging/*.class"/>
+ <include name="org/jboss/util/DirectoryBuilder*.class"/>
+ <include name="org/jboss/util/Strings*.class"/>
+ <include name="org/jboss/util/Objects*.class"/>
+ <include name="org/jboss/util/*Exception*.class"/>
+ <include name="org/jboss/util/*Throwable*.class"/>
+ <include name="org/jboss/util/platform/Constants.class"/>
+ <include name="org/jboss/util/property/**"/>
+ </fileset>
+ </jar>
+
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Documents |-->
+ <!--| |-->
+ <!--| Generate all documentation for this module. |-->
+ <!--+====================================================================+-->
+
+ <target name="docs" depends="_default:docs">
+ <!-- Add module specific elements here. -->
+ </target>
+
+
+ <!--+====================================================================+-->
+ <!--| Misc. |-->
+ <!--| |-->
+ <!--| Standard targets and psuedo-targets. |-->
+ <!--+====================================================================+-->
+
+ <target name="clean" depends="_default:clean">
+ <!-- Add module specific elements here. -->
+ </target>
+
+ <target name="clobber" depends="_default:clobber">
+ <!-- Add module specific elements here. -->
+ </target>
+
+ <!-- main, all, most and help are primary psuedo-targets -->
+ <target name="main" depends="most"/>
+ <target name="all" depends="_default:all"/>
+ <target name="most" depends="_default:most"/>
+ <target name="help" depends="_default:help"/>
+
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/build.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,94 @@
+ 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 JAXP_DOM_FACTORY=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
+set JAXP_SAX_FACTORY=org.apache.crimson.jaxp.SAXParserFactoryImpl
+REM set JAXP_DOM_FACTORY=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
+REM set JAXP_SAX_FACTORY=org.apache.xerces.jaxp.SAXParserFactoryImpl
+
+set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY% -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
+
+pause
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,157 @@
+#!/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"
+
+# the jaxp parser to use
+if [ "x$JAXP" = "x" ]; then
+ # Default to crimson
+ JAXP="crimson"
+fi
+
+#
+# Helper to complain.
+#
+die() {
+ echo "${PROGNAME}: $*"
+ exit 1
+}
+
+#
+# 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"
+
+ # 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
+
+ # specify the jaxp parser impls to use
+ case "$JAXP" in
+ crimson)
+ JAXP_DOM_FACTORY="org.apache.crimson.jaxp.DocumentBuilderFactoryImpl"
+ JAXP_SAX_FACTORY="org.apache.crimson.jaxp.SAXParserFactoryImpl"
+ ;;
+
+ xerces)
+ JAXP_DOM_FACTORY="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
+ JAXP_SAX_FACTORY="org.apache.xerces.jaxp.SAXParserFactoryImpl"
+ ;;
+ esac
+
+ if [ "x$JAXP_DOM_FACTORY" != "x" ]; then
+ ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTORY"
+ fi
+ if [ "x$JAXP_SAX_FACTORY" != "x" ]; then
+ ANT_OPTS="$ANT_OPTS -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY"
+ fi
+
+ # need to specify buildmagic protocol handler package
+ ANT_OPTS="$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 "$@"
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/bin/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/etc/default.mf
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/etc/default.mf (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/etc/default.mf 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,6 @@
+Specification-Title: Buildmagic
+Specification-Version: @version.major at .@version.minor@
+Specification-Vendor: JBoss Group, LLC
+Implementation-Title: Buildmagic (@version.name@)
+Implementation-Version: @version.major at .@version.minor at .@version.revision@ (@build.id@)
+Implementation-Vendor: JBoss Group, LLC
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/AbstractBuildListener.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/AbstractBuildListener.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/AbstractBuildListener.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,81 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.BuildListener;
+import org.apache.tools.ant.BuildEvent;
+
+/**
+ * An abstract BuildListener.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public abstract class AbstractBuildListener
+ implements BuildListener
+{
+ /**
+ * Fired before any targets are started.
+ */
+ public void buildStarted(BuildEvent event) {
+ }
+
+ /**
+ * Fired after the last target has finished. This event
+ * will still be thrown if an error occured during the build.
+ *
+ * @see BuildEvent#getException()
+ */
+ public void buildFinished(BuildEvent event) {
+ }
+
+ /**
+ * Fired when a target is started.
+ *
+ * @see BuildEvent#getTarget()
+ */
+ public void targetStarted(BuildEvent event) {
+ }
+
+ /**
+ * Fired when a target has finished. This event will
+ * still be thrown if an error occured during the build.
+ *
+ * @see BuildEvent#getException()
+ */
+ public void targetFinished(BuildEvent event) {
+ }
+
+ /**
+ * Fired when a task is started.
+ *
+ * @see BuildEvent#getTask()
+ */
+ public void taskStarted(BuildEvent event) {
+ }
+
+ /**
+ * Fired when a task has finished. This event will still
+ * be throw if an error occured during the build.
+ *
+ * @see BuildEvent#getException()
+ */
+ public void taskFinished(BuildEvent event) {
+ }
+
+ /**
+ * Fired whenever a message is logged.
+ *
+ * @see BuildEvent#getMessage()
+ * @see BuildEvent#getPriority()
+ */
+ public void messageLogged(BuildEvent event) {
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/AbstractBuildListener.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/CallTarget.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/CallTarget.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/CallTarget.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,161 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+import org.apache.tools.ant.taskdefs.Available;
+
+import java.util.*;
+import java.lang.reflect.*;
+
+import org.jboss.tools.buildmagic.task.util.*;
+
+/**
+ * A minimal replacemet for the default CallTarget (aka antcall).
+ *
+ * <p>Unlike antcall, this task does not create a sub-project, but
+ * instead uses the current project.
+ *
+ * @version $Id$
+ * @author Jason Dillon <A href="mailto:jason at planet57.com"><jason at planet57.com></A>
+ */
+public class CallTarget
+ extends Task
+{
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ /** The list of parameters/properties to load. */
+ protected final List params = new LinkedList();
+
+ /** The target to execute. */
+ protected String target;
+
+ /** Flag to force override on all generated properties. */
+ protected boolean override = true;
+
+ protected String _if;
+ protected String unless;
+
+ protected List availables = new LinkedList();
+
+ /**
+ * Set the property override default flag.
+ *
+ * @param override Override flag.
+ */
+ public void setOverride(final boolean override) {
+ this.override = override;
+ log.debug("override flag: " + override);
+ }
+
+ /**
+ * Set the target to execute.
+ *
+ * @param target The target to execute.
+ */
+ public void setTarget(final String target) {
+ this.target = target;
+ }
+
+ public void setIf(final String property) {
+ this._if = property;
+ }
+
+ public void setUnless(final String property) {
+ this.unless = property;
+ }
+
+ public Available createAvailable()
+ {
+ Available a = (Available)project.createTask("available");
+ a.setProperty("null");
+ availables.add(a);
+
+ return a;
+ }
+
+ /**
+ * Validate the attributes for this task.
+ *
+ * @throws BuildException Attributes are not valid.
+ */
+ protected void validate() throws BuildException {
+ if (target == null)
+ throw new MissingAttributeException("target", this);
+ }
+
+ /** The argument types for the property override method. */
+ public static final Class[] ARGUMENT_TYPES = { Boolean.TYPE };
+
+ /** The argument values for the property override method. */
+ public static final Object[] ARGUMENT_VALUES = { Boolean.TRUE };
+
+ /**
+ * Invoke the target.
+ */
+ public void execute() throws BuildException {
+ validate();
+
+ Iterator iter=availables.iterator();
+ while (iter.hasNext()) {
+ Available a = (Available)iter.next();
+ if (!a.eval()) return;
+ }
+
+ Map map = project.getProperties();
+ if (_if != null && !map.containsKey(_if)) {
+ return;
+ }
+ else if (unless != null && map.containsKey(unless)) {
+ return;
+ }
+
+ // initialize all nested parameters
+ iter=params.iterator();
+ while (iter.hasNext()) {
+ Task task = (Task)iter.next();
+
+ if (override) {
+ try {
+ Class type = task.getClass();
+ Method meth = type.getMethod("setOverride", ARGUMENT_TYPES);
+ meth.invoke(task, ARGUMENT_VALUES);
+ log.debug("set override for task: " + task);
+ }
+ catch (Exception e) {
+ log.warning("failed to set override: " + e);
+ }
+ }
+
+ task.execute();
+ }
+
+ project.executeTarget(target);
+ }
+
+ /**
+ * Create a nested <tt>param</tt> element.
+ */
+ public Task createParam() {
+ Task task = project.createTask("property");
+ params.add(task);
+ return task;
+ }
+
+ /**
+ * Create a nested <tt>property</tt> element.
+ */
+ public Task createProperty() {
+ Task task = project.createTask("property");
+ params.add(task);
+ return task;
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/CallTarget.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/IllegalAttributeException.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/IllegalAttributeException.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/IllegalAttributeException.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,50 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+
+/**
+ * Thrown to indicate that a task attribute was set to an illegal value.
+ *
+ * @version $Id$
+ * @author Jason Dillon <A href="mailto:jason at planet57.com"><jason at planet57.com></A>
+ */
+public class IllegalAttributeException
+ extends BuildException
+{
+ protected static String format(String name) {
+ return "Illegal value for attribute '" + name + "'";
+ }
+
+ protected static String format(String name, String msg) {
+ return format(name) + ": " + msg;
+ }
+
+ public IllegalAttributeException(String name, String msg, Location location) {
+ super(format(name, msg), location);
+ }
+
+ public IllegalAttributeException(String name, String msg, Task task) {
+ super(format(name, msg), task.getLocation());
+ }
+
+ public IllegalAttributeException(String name, Task task) {
+ super(format(name), task.getLocation());
+ }
+
+ public IllegalAttributeException(String name, Location location) {
+ super(format(name), location);
+ }
+
+ public IllegalAttributeException(String name) {
+ super(format(name));
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/IllegalAttributeException.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingAttributeException.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingAttributeException.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingAttributeException.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,27 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+
+/**
+ * Thrown to indicate that a task is missing a required attribute.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class MissingAttributeException
+ extends BuildException
+{
+ public MissingAttributeException(String name, Task task) {
+ super(task.getClass() + " requires the '" + name + "' attribute.",
+ task.getLocation());
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingAttributeException.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingElementException.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingElementException.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingElementException.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,28 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+
+/**
+ * Thrown to indicate that a task is missing a required nested element.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class MissingElementException
+ extends BuildException
+{
+ public MissingElementException(String name, Task task) {
+ super(task.getClass() + " requires a '" + name + "' element",
+ task.getLocation());
+ }
+}
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/MissingElementException.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Property.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Property.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Property.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,294 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import java.io.File;
+import java.util.*;
+
+import org.apache.tools.ant.*;
+import org.apache.tools.ant.types.Path;
+
+import org.jboss.tools.buildmagic.task.util.TaskLogger;
+
+/**
+ * A custom property task, which adds some additional behavior.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class Property
+ extends org.apache.tools.ant.taskdefs.Property
+{
+ public static final int STRING = 0;
+ public static final int INTEGER = 1;
+ public static final int FLOAT = 2;
+ public static final int BOOLEAN = 3;
+ public static final int PATH = 4;
+
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ protected String type;
+ protected String separator;
+ protected boolean override;
+ protected boolean filter;
+ protected boolean resolve;
+ protected boolean force;
+ protected boolean system;
+
+ public void setType(final String type) {
+ this.type = type;
+ }
+
+ public void setSeparator(final String sep) {
+ this.separator = sep;
+ }
+
+ public void setOverride(final boolean override) {
+ this.override = override;
+ }
+
+ public void setFilter(final boolean filter) {
+ this.filter = filter;
+ }
+
+ public void setSystem(final boolean system) {
+ this.system = system;
+ }
+
+ public void setResolve(final String resolve) {
+ if (resolve.equals("force")) {
+ this.resolve = true;
+ this.force = true;
+ }
+ else {
+ this.resolve = new Boolean(resolve).booleanValue();
+ }
+ }
+
+ /**
+ * Add some raw text to the property.
+ *
+ * @param text A line of text to add to the property.
+ */
+ public void addText(final String text) {
+ if (value == null) {
+ value = text;
+ }
+ else {
+ value += text;
+ }
+ }
+
+ /**
+ * Create an <tt>Element</tt> element.
+ */
+ public Element createElement() {
+ return new Element();
+ }
+
+ /**
+ * Create an <em>appending</em> <tt>Element</tt>.
+ */
+ public Element createAppend() {
+ return new Element(Element.APPEND);
+ }
+
+ /**
+ * Create a <em>prepending</em> <tt>Element</tt>.
+ */
+ public Element createPrepend() {
+ return new Element(Element.PREPEND);
+ }
+
+ public void execute() throws BuildException {
+ if (resolve) {
+ log.debug("resolving property: " + name + "(force: " + force + ")");
+ Hashtable props = project.getProperties();
+ value = ResolveProperties.subst(value, props, force);
+ }
+
+ // perform any type converstions
+ convertType();
+
+ if (system) {
+ log.verbose("setting system proeprty: " + name + "=" + value);
+ System.setProperty(name, value);
+ project.setUserProperty(name, value);
+ }
+
+ // perform the default operation
+ super.execute();
+
+ if (filter) {
+ log.debug("adding filter for property: " + name);
+ project.addFilter(name, value);
+ }
+ }
+
+ protected void addProperty(String n, String v) {
+ if (userProperty) {
+ if (override || project.getUserProperty(n) == null) {
+ project.setUserProperty(n, v);
+ if (override)
+ log.debug("overrode user property value for " + n);
+ }
+ else {
+ log.debug("Override ignored for " + n);
+ }
+ }
+ else {
+ if (override || project.getProperty(n) == null) {
+ project.setProperty(n, v);
+ if (override)
+ log.debug("overrode property value for " + n);
+ }
+ else {
+ log.debug("Override ignored for " + n);
+ }
+ }
+ }
+
+ /**
+ * Parse the type attribute and return a type code.
+ */
+ protected int parseType() throws BuildException {
+ log.debug("parsing type: " + type);
+
+ if (type == null || type.equals("string")) {
+ return STRING;
+ }
+ else if (type.equals("integer")) {
+ return INTEGER;
+ }
+ else if (type.equals("float")) {
+ return FLOAT;
+ }
+ else if (type.equals("boolean")) {
+ return BOOLEAN;
+ }
+ else if (type.equals("path") ||
+ type.equals("file") ||
+ type.equals("dir")) {
+ return PATH;
+ }
+ else {
+ throw new BuildException("invalid property type: " + type);
+ }
+ }
+
+ protected void convertType() throws BuildException {
+ int code = parseType();
+
+ switch (code) {
+ case INTEGER:
+ try {
+ log.debug("converting value to an integer");
+ value = new Long(value).toString();
+ }
+ catch (Exception e) {
+ throw new BuildException
+ ("property value is not an integer: " + value);
+ }
+ break;
+
+ case FLOAT:
+ try {
+ log.debug("converting value to an floating point");
+ value = new Double(value).toString();
+ }
+ catch (Exception e) {
+ throw new BuildException
+ ("property value is not a floating point number: " + value);
+ }
+ break;
+
+ case BOOLEAN:
+ value = new Boolean(value).toString();
+ break;
+
+ case PATH:
+ log.debug("converting value to a path");
+ // do not specify a project here, so properties that have not been
+ // set yet will not have the project basedir prepended to them.
+ Path path = new Path(/*project*/ null, value);
+ value = path.toString();
+ break;
+
+ default:
+ // no converstion
+ }
+
+ log.debug("converted value: " + value);
+ }
+
+ /**
+ * Nested element to modify the current property value.
+ */
+ public class Element
+ {
+ public static final int APPEND = 0;
+ public static final int PREPEND = 1;
+
+ protected int mode = APPEND;
+
+ public Element() {}
+
+ public Element(final int mode) {
+ this.mode = mode;
+ }
+
+ public void setMode(final String mode) throws BuildException {
+ if (mode.equals("append")) {
+ this.mode = APPEND;
+ }
+ else if (mode.equals("prepend")) {
+ this.mode = PREPEND;
+ }
+ else {
+ throw new BuildException("Invalid property element mode: " + mode);
+ }
+ }
+
+ public int getMode() {
+ return mode;
+ }
+
+ protected void appendCurrentValue(final StringBuffer buff) {
+ if (value != null) {
+ buff.append(value);
+ if (separator != null) buff.append(separator);
+ }
+ }
+
+ public void setValue(final String s) {
+ StringBuffer buff = new StringBuffer();
+
+ switch (mode) {
+ case APPEND:
+ appendCurrentValue(buff);
+ buff.append(s);
+ break;
+
+ case PREPEND:
+ buff.append(s);
+ appendCurrentValue(buff);
+ break;
+
+ default:
+ throw new BuildException("Invalid property element mode: " + mode);
+ }
+
+ log.debug("new value: " + buff);
+ value = buff.toString();
+ }
+ }
+}
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Property.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/PropertyFilter.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/PropertyFilter.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/PropertyFilter.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,53 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import java.util.Map;
+import java.util.Iterator;
+
+import org.apache.tools.ant.*;
+
+import org.jboss.tools.buildmagic.task.util.TaskLogger;
+
+/**
+ * Task to add a filter for properties.
+ *
+ * @version $Id$
+ * @author Jason Dillon <A href="mailto:jason at planet57.com"><jason at planet57.com></A>
+ */
+public class PropertyFilter
+ extends Task
+{
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ protected boolean all = true;
+
+ public void setAll(boolean all) {
+ this.all = all;
+ }
+
+ public void execute() throws BuildException {
+ if (all) {
+ log.verbose("Adding filters for all properties");
+
+ Map props = project.getProperties();
+
+ Iterator iter = props.keySet().iterator();
+ while (iter.hasNext()) {
+ String key = (String)iter.next();
+ String value = (String)props.get(key);
+
+ // log.debug("adding: " + key + "=" + value);
+ project.addFilter(key, value);
+ }
+ }
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/PropertyFilter.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Require.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Require.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Require.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,286 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+import org.apache.tools.ant.types.*;
+
+import java.io.*;
+import java.util.*;
+
+import org.jboss.tools.buildmagic.task.util.*;
+
+/**
+ * Task to check for required resources and complain if they are not found.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class Require
+ extends Task
+{
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ /** Required property name */
+ protected String property;
+
+ /** Required class name */
+ protected String classname;
+
+ /** Required resource name */
+ protected String resource;
+
+ /** Required file */
+ protected File file;
+
+ /** The classpath to use when looking for classes or resources. */
+ protected Path classpath;
+
+ /** The class loaded for the specified classpath. */
+ protected AntClassLoader loader;
+
+ /** The message buffer. */
+ protected StringBuffer message;
+
+ /**
+ * Set the message.
+ */
+ public void setMessage(final String text) {
+ addText(text);
+ }
+
+ /**
+ * Add some text to the message.
+ */
+ public void addText(final String text) {
+ if (message == null)
+ message = new StringBuffer();
+ message.append(text);
+ }
+
+ /**
+ * Set the property name.
+ *
+ * @param property Property name.
+ */
+ public void setProperty(final String property) {
+ this.property = property;
+ }
+
+ /**
+ * Set the classname.
+ *
+ * @param classname Class name.
+ */
+ public void setClass(final String classname) {
+ this.classname = classname;
+ }
+
+ /**
+ * Set the resource name.
+ *
+ * @param resource Resource name.
+ */
+ public void setResource(final String resource) {
+ this.resource = resource;
+ }
+
+ /**
+ * Set the file.
+ *
+ * @param file File.
+ */
+ public void setFile(final File file) {
+ this.file = file;
+ }
+
+ /**
+ * Set the classpath.
+ *
+ * @param classpath Class path.
+ */
+ public void setClasspath(Path classpath) {
+ if (this.classpath == null) {
+ this.classpath = classpath;
+ }
+ else {
+ this.classpath.append(classpath);
+ }
+ }
+
+ /**
+ * Create a nested <tt>Path</tt> element.
+ */
+ public Path createClasspath() {
+ if (this.classpath == null) {
+ this.classpath = new Path(project);
+ }
+ return this.classpath.createPath();
+ }
+
+ /**
+ * Use a reference classpath.
+ */
+ public void setClasspathRef(Reference r) {
+ createClasspath().setRefid(r);
+ }
+
+ /**
+ * Execute this task.
+ *
+ * @exception BuildException Missing required resource.
+ */
+ public void execute() throws BuildException {
+ if ((property != null) && !checkProperty(property)) {
+ missingRequired("property", property);
+ }
+
+ if ((file != null) && !checkFile(file)) {
+ missingRequired("file", file);
+ }
+
+ // load the custom class path if it is not null
+ if (classpath != null) {
+ this.loader = new AntClassLoader(project, classpath, false);
+ }
+
+ if ((resource != null) && !checkResource(resource)) {
+ missingRequired("resource", resource);
+ }
+
+ if ((classname != null) && !checkClass(classname)) {
+ missingRequired("classname", classname);
+ }
+ }
+
+ /**
+ * Throws a build exception for the given type & value.
+ *
+ * @param type Required type.
+ * @param value Required type value.
+ *
+ * @exception BuildException Missing required.
+ */
+ protected void missingRequired(final String type,
+ final Object value)
+ throws BuildException
+ {
+ StringBuffer buff = new StringBuffer();
+
+ // Might want to allow user to pass in format string for generating
+ // message.
+
+ if (message == null) {
+ buff.append("Missing required ").append(type).append(": ").append(value);
+ }
+ else {
+ buff.append(ResolveProperties.subst
+ (message.toString(), project.getProperties(), false));
+ }
+
+ throw new BuildException(buff.toString());
+ }
+
+ /**
+ * Check if a property has been set.
+ *
+ * @param property Property name.
+ * @return True if property exists.
+ */
+ protected boolean checkProperty(final String property) {
+ boolean exists;
+
+ // look in system first
+ exists = System.getProperty(property, null) != null;
+
+ // next look in project
+ if (!exists) {
+ Project project = getProject();
+
+ // regular property first
+ exists = project.getProperty(property) != null;
+
+ // then user property
+ if (!exists) {
+ exists = project.getUserProperty(property) != null;
+ }
+ }
+
+ return exists;
+ }
+
+ /**
+ * Check if a file exists.
+ *
+ * @param file File name.
+ * @return True if file exists.
+ */
+ protected boolean checkFile(final File file) {
+ return file.exists();
+ }
+
+ /**
+ * Check if a class exists.
+ *
+ * @param classname Class name.
+ * @return True if class exists.
+ */
+ protected boolean checkClass(final String classname) {
+ try {
+ if (loader != null) {
+ loader.loadClass(classname);
+ }
+ else {
+ ClassLoader cl = this.getClass().getClassLoader();
+
+ // Can return null to represent the bootstrap class loader.
+ // see API docs of Class.getClassLoader.
+ if (cl != null) {
+ cl.loadClass(classname);
+ }
+ else {
+ Class.forName(classname);
+ }
+ }
+ return true;
+ }
+ catch (ClassNotFoundException e) {
+ log.verbose("Class not found: " + classname);
+ return false;
+ }
+ catch (NoClassDefFoundError e) {
+ log.verbose("Class cound not be loaded: " + classname);
+ return false;
+ }
+ }
+
+ /**
+ * Check if a resource is available.
+ *
+ * @param resource Resource name.
+ * @return True if resource exists.
+ */
+ protected boolean checkResource(final String resource) {
+ if (loader != null) {
+ return (loader.getResourceAsStream(resource) != null);
+ }
+ else {
+ ClassLoader cl = this.getClass().getClassLoader();
+ if (cl != null) {
+ return (cl.getResourceAsStream(resource) != null);
+ }
+ else {
+ return
+ (ClassLoader.getSystemResourceAsStream(resource) != null);
+ }
+ }
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Require.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/ResolveProperties.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/ResolveProperties.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/ResolveProperties.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,139 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import java.util.Map;
+import java.util.Iterator;
+import java.util.Set;
+import java.util.HashSet;
+
+import org.apache.tools.ant.*;
+
+import org.jboss.tools.buildmagic.task.util.TaskLogger;
+
+/**
+ * Resolves all property values. This task adds pseudo late-binding for
+ * entries in the <code>Project.getProperties()</code> hashtable.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class ResolveProperties
+ extends Task
+{
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ /** Flag to force resolution of properties. */
+ protected boolean force; // = false
+
+ /**
+ * Set the force flag.
+ */
+ public void setForce(boolean force) {
+ this.force = force;
+ }
+
+ /**
+ * Resolve all property values.
+ */
+ public void execute() throws BuildException {
+ log.verbose("Resolving all properties");
+ if (force) log.verbose("Unset properties will be forced resolve");
+
+ Map props = project.getProperties();
+
+ // iterator over all of the properties
+ Iterator iter = props.keySet().iterator();
+ while (iter.hasNext()) {
+ String key = (String)iter.next();
+ String value = (String)props.get(key);
+
+ // log.debug("property: " + key);
+ // log.debug(" before: " + value);
+ value = subst(value, props, force);
+ // log.debug(" after: " + value);
+
+ // replace the property
+ props.put(key, value);
+ }
+ }
+
+ public static String subst(final String value,
+ final Map props,
+ final boolean force)
+ throws BuildException
+ {
+ StringBuffer buff = new StringBuffer();
+ Set occured = new HashSet(10);
+ int i = 0;
+ int prev = 0;
+ int pos;
+
+ while ((pos = value.indexOf("$", prev)) >= 0) {
+ if (pos > 0) {
+ buff.append(value.substring(prev, pos));
+ }
+ if (pos == (value.length() - 1)) {
+ buff.append('$');
+ prev = pos + 1;
+ }
+ else if (value.charAt(pos + 1) != '{') {
+ buff.append(value.charAt(pos + 1));
+ prev = pos + 2;
+ }
+ else {
+ int endName = value.indexOf('}', pos);
+ if (endName < 0) {
+ throw new BuildException("Syntax error in prop: " + value);
+ }
+
+ // get the name of the property
+ String n = value.substring(pos + 2, endName);
+ String v = null;
+
+ if (!occured.contains(n)) {
+ occured.add(n);
+ if (props.containsKey(n)) {
+ v = (String)props.get(n);
+ v = subst(v, props, force);
+ }
+ occured.remove(n);
+ }
+
+ if (v == null && !force) {
+ v = "${" + n + "}";
+ }
+
+ if (v != null) buff.append(v);
+
+ prev = endName + 1;
+ }
+ }
+ if (prev < value.length()) {
+ buff.append(value.substring(prev));
+ }
+
+ return buff.toString();
+ }
+
+ public static String subst(final String value,
+ final Project project,
+ final boolean force)
+ {
+ return subst(value, project.getProperties(), force);
+ }
+
+ public static String subst(final String value,
+ final Project project)
+ {
+ return subst(value, project.getProperties(), false);
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/ResolveProperties.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Subst.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Subst.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Subst.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,108 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import java.util.*;
+
+import org.apache.tools.ant.*;
+
+import org.jboss.tools.buildmagic.task.util.*;
+
+/**
+ * Substitute strings inside of a value and set a property with the result.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class Subst
+ extends Task
+{
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ protected String value;
+ protected String property;
+ protected String from;
+ protected String to;
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public void setProperty(String property) {
+ this.property = property;
+ }
+
+ public void setFrom(String from) {
+ this.from = from;
+ }
+
+ public void setTo(String to) {
+ this.to = to;
+ }
+
+ /**
+ * Substitute sub-strings in side of a string.
+ *
+ * <p>Copied from trinity:planet57.util.Strings to avoid a circular
+ * dependency from this package to it.
+ *
+ * @param buff Stirng buffer to use for substitution (buffer is not reset)
+ * @param from String to substitute from
+ * @param to String to substitute to
+ * @param string String to look for from in
+ * @return Substituted string
+ */
+ public String subst(StringBuffer buff, String from, String to, String string)
+ {
+ int begin = 0, end = 0;
+
+ while ((end = string.indexOf(from, end)) != -1) {
+ // append the first part of the string
+ buff.append(string.substring(begin, end));
+
+ // append the replaced string
+ buff.append(to);
+
+ // update positions
+ begin = end + from.length();
+ end = begin;
+ }
+
+ // append the rest of the string
+ buff.append(string.substring(begin, string.length()));
+
+ return buff.toString();
+ }
+
+ /**
+ * Substitue the value and set property to the result.
+ *
+ * @throws BuildException
+ */
+ public void execute() throws BuildException {
+ if (value == null)
+ throw new BuildException("value is null");
+ if (property == null)
+ throw new BuildException("property is null");
+ if (from == null)
+ throw new BuildException("form is null");
+ if (to == null)
+ throw new BuildException("to is null");
+
+ StringBuffer buff = new StringBuffer();
+ log.verbose("before: " + value);
+
+ String result = subst(buff, from, to, value);
+ log.verbose("after: " + result);
+
+ project.setUserProperty(property, result);
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Subst.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Tasks.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Tasks.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Tasks.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,80 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import java.util.Map;
+
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.Project;
+
+/**
+ * A collection of task utilities.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class Tasks
+{
+ /**
+ * Determine if a task should execute based on the given if and unless
+ * condtions.
+ *
+ * @param map The properties map.
+ * @param _if The <em>if</em> condition.
+ * @param unless The <em>unless</em> condition.
+ * @return True if the task can execute.
+ */
+ public static boolean canExecute(final Map props,
+ final String _if,
+ final String unless)
+ {
+ if (_if != null && !props.containsKey(_if)) {
+ return false;
+ }
+
+ if (unless != null && props.containsKey(unless)) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Determine if a task should execute based on the given if and unless
+ * condtions.
+ *
+ * @param project The project to get properties from.
+ * @param _if The <em>if</em> condition.
+ * @param unless The <em>unless</em> condition.
+ * @return True if the task can execute.
+ */
+ public static boolean canExecute(final Project project,
+ final String _if,
+ final String unless)
+ {
+ return canExecute(project.getProperties(), _if, unless);
+ }
+
+ /**
+ * Determine if a task should execute based on the given if and unless
+ * condtions.
+ *
+ * @param task The task to check.
+ * @param _if The <em>if</em> condition.
+ * @param unless The <em>unless</em> condition.
+ * @return True if the task can execute.
+ */
+ public static boolean canExecute(final Task task,
+ final String _if,
+ final String unless)
+ {
+ return canExecute(task.getProject(), _if, unless);
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/Tasks.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedAttributeException.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedAttributeException.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedAttributeException.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,27 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+
+/**
+ * Thrown to indicate that an attribute is not supported by a task.
+ *
+ * @version $Id$
+ * @author Jason Dillon <A href="mailto:jason at planet57.com"><jason at planet57.com></A>
+ */
+public class UnsupportedAttributeException
+ extends BuildException
+{
+ public UnsupportedAttributeException(String name, Task task) {
+ super(task.getClass() + " does not support the '" + name + "' attribute.",
+ task.getLocation());
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedAttributeException.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedElementException.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedElementException.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedElementException.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,27 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task;
+
+import org.apache.tools.ant.*;
+
+/**
+ * Thrown to indicate that an element is not supported by a task.
+ *
+ * @version $Id$
+ * @author Jason Dillon <A href="mailto:jason at planet57.com"><jason at planet57.com></A>
+ */
+public class UnsupportedElementException
+ extends BuildException
+{
+ public UnsupportedElementException(String name, Task task) {
+ super(task.getClass() + " does not support the '" + name + "' element.",
+ task.getLocation());
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/UnsupportedElementException.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,630 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task.module;
+
+import java.io.File;
+
+import java.util.List;
+import java.util.LinkedList;
+import java.util.Iterator;
+import java.util.StringTokenizer;
+import java.util.Map;
+
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.taskdefs.Ant;
+import org.apache.tools.ant.BuildEvent;
+import org.apache.tools.ant.Project;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.taskdefs.Property;
+import org.apache.tools.ant.taskdefs.Echo;
+
+import org.jboss.tools.buildmagic.task.ResolveProperties;
+import org.jboss.tools.buildmagic.task.AbstractBuildListener;
+import org.jboss.tools.buildmagic.task.util.TaskLogger;
+import org.jboss.util.Strings;
+
+/**
+ * Executes a set of modules (sub-projects).
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class ExecuteModules
+ extends Task
+{
+ /*
+ static {
+ Runtime.getRuntime().addShutdownHook(new Thread("Buildmagic Shutdown Hook")
+ {
+ public void run() {
+ // Halt when ask'd to shutdown
+ Runtime.getRuntime().halt(-1);
+ }
+ });
+ }
+ */
+
+ /** Instance logger. */
+ protected final TaskLogger log = new TaskLogger(this);
+
+ /** The target name to execute. */
+ protected String target;
+
+ /** The buildfile to use. */
+ protected String antfile;
+
+ /** The list of module names to exectue. */
+ protected List modules;
+
+ /** The root directory that contains modules. */
+ protected String root;
+
+ /** User properties that will be passed to each module. */
+ protected List properties = new LinkedList();
+
+ /** A internal project to hold property defs. */
+ protected Project _project;
+
+ protected String moduleProperty = "module";
+ protected String targetProperty = "target";
+
+ /** Skip over modules that do not exist. */
+ protected boolean skipMissing = false;
+ protected boolean inheritAll = false;
+
+ /** Tasks to echo some output before and after each module executes. */
+ protected List headers = new LinkedList();
+ protected List footers = new LinkedList();
+
+ protected List beforeHooks = new LinkedList();
+ protected List afterHooks = new LinkedList();
+
+ protected ModuleBuildListener listener = new ModuleBuildListener();
+
+ protected List exportProperties = new LinkedList();
+
+ protected String module;
+
+ protected boolean threading = false;
+
+ public void setThreading(boolean flag)
+ {
+ threading = flag;
+ }
+
+ public void setExportproperties(String list)
+ {
+ StringTokenizer stok = new StringTokenizer(list, ",");
+ while (stok.hasMoreTokens())
+ {
+ exportProperties.add(stok.nextToken().trim());
+ }
+ }
+
+ public void setModuleproperty(String property)
+ {
+ moduleProperty = property;
+ }
+
+ public void setTargetproperty(String property)
+ {
+ targetProperty = property;
+ }
+
+ public void setInheritAll(boolean flag)
+ {
+ inheritAll = flag;
+ }
+
+ /** Setup the internal project. */
+ public void init()
+ {
+ _project = new Project();
+ _project.setJavaVersionProperty();
+ Map tasks = project.getTaskDefinitions();
+ _project.addTaskDefinition("property", (Class) tasks.get("property"));
+ _project.addTaskDefinition("echo", (Class) tasks.get("echo"));
+ }
+
+ /** Re-initialize the internal project. */
+ protected void reinit()
+ {
+ init();
+
+ // copy the list of properties to the new internal project
+ for (int i = 0; i < properties.size(); i++)
+ {
+ Property a = (Property) properties.get(i);
+ Property b = (Property) _project.createTask("property");
+ copy(a, b);
+ properties.set(i, b);
+ }
+ }
+
+ /** Copy a property values to another property. */
+ protected void copy(final Property a, final Property b)
+ {
+ b.setName(a.getName());
+
+ if (a.getValue() != null)
+ {
+ b.setValue(a.getValue());
+ }
+
+ if (a.getFile() != null)
+ {
+ b.setFile(a.getFile());
+ }
+
+ if (a.getResource() != null)
+ {
+ b.setResource(a.getResource());
+ }
+ }
+
+ /** Set the target name. */
+ public void setTarget(final String target)
+ {
+ this.target = target;
+ }
+
+ /** Set the buildfile to use. */
+ public void setAntfile(final String antfile)
+ {
+ this.antfile = antfile;
+ }
+
+ /** Set the modules to execute. */
+ public void setModules(String names)
+ {
+ names = ResolveProperties.subst(names, project, true);
+ StringTokenizer stok = new StringTokenizer(names, ",");
+ modules = new LinkedList();
+ while (stok.hasMoreTokens())
+ {
+ modules.add(stok.nextToken().trim());
+ }
+ }
+
+ public void setSkipmissing(boolean flag)
+ {
+ skipMissing = flag;
+ }
+
+ /** Set the root. */
+ public void setRoot(final String dir) throws BuildException
+ {
+ this.root = dir;
+ }
+
+ /**
+ * Execute this task.
+ *
+ * @throws BuildException Failed to execute task.
+ */
+ public void execute() throws BuildException
+ {
+ try
+ {
+ // need at least one module name
+ if (modules == null || modules.size() == 0)
+ {
+ throw new BuildException
+ ("No module names were specified", location);
+ }
+
+ // need the root directory
+ if (root == null)
+ {
+ throw new BuildException
+ ("Root directory not specified", location);
+ }
+
+ Iterator iter = modules.iterator();
+ while (iter.hasNext())
+ {
+ String module = (String) iter.next();
+ executeModule(module);
+ }
+ }
+ finally
+ {
+ // help the gc
+ _project = null;
+ }
+ }
+
+ /**
+ * Execute a single module.
+ */
+ protected void executeModule(final String module)
+ throws BuildException
+ {
+ this.module = module;
+
+ // create and setup the ant task
+ final Ant ant = (Ant) project.createTask("ant");
+ ant.setInheritAll(inheritAll);
+ ant.init();
+
+ // add a property for the name of the module (our name that is)
+ Property p = createProperty(null);
+ p.setName(moduleProperty);
+ p.setValue(module);
+ _project.setProperty(moduleProperty, module);
+ copy(p, ant.createProperty());
+ p.execute();
+ // project.setUserProperty(moduleProperty, module);
+
+ // add a property for the target of the module (our name that is)
+ String temp = (target == null) ? "<default>" : target;
+ resolve(temp);
+ p = createProperty(null);
+ p.setName(targetProperty);
+ p.setValue(temp);
+ _project.setProperty(targetProperty, temp);
+ copy(p, ant.createProperty());
+ p.execute();
+ // project.setUserProperty(targetProperty, temp);
+
+ ant.setLocation(location);
+ temp = ResolveProperties.subst(root, project);
+ temp = Strings.subst("@MODULE@", module, temp);
+ temp = Strings.subst("@TARGET@", target, temp);
+
+ File moduleRoot = new File(temp);
+ log.verbose("module root: " + moduleRoot);
+ ant.setDir(moduleRoot);
+ ant.setAntfile(antfile);
+
+ if (target != null)
+ {
+ log.verbose("using target: " + target);
+ ant.setTarget(target);
+ }
+
+ Map props = project.getProperties();
+
+ // see if this is a valid ant file
+ /*
+ try
+ {
+ if (ant.getBuildFile() != null) ;
+ }
+ catch (BuildException e)
+ {
+ log.verbose("exception: " + e);
+ if (skipMissing)
+ {
+ listener.skipped(module);
+ log.warning("Missing build file; skipping module: " + module);
+
+ props.remove(moduleProperty);
+ props.remove(targetProperty);
+ return;
+ }
+
+ log.error("Missing build file: " + module);
+ throw e;
+ }
+ */
+
+ runHooks(beforeHooks);
+
+ // ant.addBuildListener(listener);
+
+ // set up any properties
+ Iterator iter = properties.iterator();
+ while (iter.hasNext())
+ {
+ Property a = (Property) iter.next();
+ Property b = ant.createProperty();
+ copy(a, b);
+ a.execute();
+ }
+
+ // export any listed property names
+ iter = exportProperties.iterator();
+ while (iter.hasNext())
+ {
+ String name = (String) iter.next();
+ String value = (String) props.get(name);
+ p = ant.createProperty();
+ p.setName(name);
+ p.setValue(value);
+
+ log.verbose("Exported property " + name + "=" + value);
+ }
+
+ final String targetName = temp;
+
+ Runnable runner = new Runnable()
+ {
+ public void run()
+ {
+ // execute the task
+ printHeading(headers);
+ log.verbose("Executing " + targetName + " in module '" + module + "'...");
+
+ ant.execute();
+
+ log.verbose("Finished with " + targetName + " in module '" + module + "'...");
+ printHeading(footers);
+
+ runHooks(afterHooks);
+ }
+ };
+
+ if (threading)
+ {
+ new Thread(runner, "Module Runner (" + module + ":" + targetName + ")").start();
+ }
+ else
+ {
+ runner.run();
+ }
+
+ // shit this sucks
+ // jason: this will not work in ant 1.5
+ // props.remove(moduleProperty);
+ // props.remove(targetProperty);
+
+ // iter = properties.iterator();
+ // while (iter.hasNext()) {
+ // Property a = (Property)iter.next();
+ // props.remove(a.getName());
+ // }
+ }
+
+ protected void printHeading(List list)
+ {
+ Iterator iter = list.iterator();
+ while (iter.hasNext())
+ {
+ MyEcho echo = (MyEcho) iter.next();
+ echo.execute();
+ }
+ }
+
+ /** Create a nested property. */
+ public Property createProperty()
+ {
+ Property prop = createProperty(properties);
+ return prop;
+ }
+
+ /** Create a nested property. */
+ public Property createProperty(List list)
+ {
+ if (_project == null)
+ {
+ reinit();
+ }
+
+ Property temp = (Property) _project.createTask("property");
+ temp.setUserProperty(true);
+
+ if (list != null)
+ {
+ list.add(0, temp);
+ }
+
+ return temp;
+ }
+
+ /** Create a nested header. */
+ public Echo createHeader()
+ {
+ if (_project == null)
+ {
+ reinit();
+ }
+
+ MyEcho header = new MyEcho(project);
+ headers.add(header);
+ return header;
+ }
+
+ /** Create a nested footer. */
+ public Echo createFooter()
+ {
+ if (_project == null)
+ {
+ reinit();
+ }
+
+
+ MyEcho footer = new MyEcho(project);
+ footers.add(footer);
+ return footer;
+ }
+
+ public String resolve(String property)
+ {
+ Map props = project.getUserProperties();
+ property = ResolveProperties.subst(property, props, false);
+
+ props = _project.getUserProperties();
+ property = ResolveProperties.subst(property, props, false);
+
+ props = _project.getProperties();
+ property = ResolveProperties.subst(property, props, false);
+
+ return property;
+ }
+
+ /**
+ * Nested echo class to hold header and footer data.
+ */
+ protected class MyEcho
+ extends Echo
+ {
+ Project project;
+
+ public MyEcho(Project project)
+ {
+ this.project = project;
+ }
+
+ public void addText(String msg)
+ {
+ message += msg;
+ }
+
+ public void execute() throws BuildException
+ {
+ String temp = resolve(message);
+
+ temp = Strings.subst("@MODULE@", module, temp);
+ temp = Strings.subst("@TARGET@", ExecuteModules.this.target, temp);
+
+ project.log(temp, logLevel);
+ }
+ }
+
+ public Hook createBefore()
+ {
+ Hook hook = new Hook(this);
+ beforeHooks.add(hook);
+ return hook;
+ }
+
+ public Hook createAfter()
+ {
+ Hook hook = new Hook(this);
+ afterHooks.add(hook);
+ return hook;
+ }
+
+ protected class Hook
+ {
+ public ExecuteModules task;
+ public String target;
+
+
+ public Hook(ExecuteModules task)
+ {
+ this.task = task;
+ }
+
+ public void setTarget(String target)
+ {
+ this.target = target;
+ }
+
+ public void execute() throws BuildException
+ {
+ Project project = task.getProject();
+ String t = task.resolve(target);
+
+ t = Strings.subst("@MODULE@", module, t);
+ t = Strings.subst("@TARGET@", ExecuteModules.this.target, t);
+
+ if (project.getTargets().containsKey(t))
+ {
+ project.executeTarget(t);
+ }
+ else
+ {
+ log.verbose("skipping missing hook: " + t);
+ }
+ }
+ }
+
+ protected void runHooks(List list) throws BuildException
+ {
+ log.verbose("executing hooks");
+ log.debug("list: " + list);
+
+ Iterator iter = list.iterator();
+ while (iter.hasNext())
+ {
+ Hook hook = (Hook) iter.next();
+ log.debug("executing hook: " + hook);
+ hook.execute();
+ }
+ }
+
+ /**
+ * This is meant to provide the ability to generate an xml file
+ * which contains what modules we have invoked, their targets and
+ * output.
+ *
+ * <p>The goal was to allow this to be applied to a stylesheet
+ * to produce documentaion for the build, only showing the relevant
+ * bits.
+ */
+ protected class ModuleBuildListener
+ extends AbstractBuildListener
+ {
+ //
+ // hookup xml output here
+ //
+ public void skipped(String module)
+ {
+ // System.out.println("skipped module: " + module);
+ }
+
+ public void buildStarted(BuildEvent event)
+ {
+ // System.out.println("started build: " + event);
+ }
+
+ public void buildFinished(BuildEvent event)
+ {
+ // System.out.println("finished build: " + event);
+ }
+
+ public void targetStarted(BuildEvent event)
+ {
+ // System.out.println("started target: " + event.getTarget());
+ }
+
+ public void targetFinished(BuildEvent event)
+ {
+ // System.out.println("finished target: " + event.getTarget());
+ }
+
+ public void taskStarted(BuildEvent event)
+ {
+ // System.out.println("started task: " + event.getTask());
+ }
+
+ public void taskFinished(BuildEvent event)
+ {
+ // System.out.println("finished task: " + event.getTask());
+ }
+
+ public void messageLogged(BuildEvent event)
+ {
+ Throwable t = event.getException();
+ int pri = event.getPriority();
+ String message = event.getMessage();
+
+ if (t != null)
+ {
+ // System.out.println("exception: " + t);
+ }
+
+ switch (pri)
+ {
+ case Project.MSG_ERR:
+ // System.out.println("error: " + message);
+ break;
+ case Project.MSG_WARN:
+ // System.out.println("warning: " + message);
+ break;
+ case Project.MSG_INFO:
+ case Project.MSG_VERBOSE:
+ case Project.MSG_DEBUG:
+ }
+ }
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ExecuteModules.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ModuleConfig.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ModuleConfig.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ModuleConfig.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,368 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task.module;
+
+import java.util.List;
+import java.util.LinkedList;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.StringTokenizer;
+
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.BuildException;
+
+import org.jboss.tools.buildmagic.task.Tasks;
+import org.jboss.tools.buildmagic.task.MissingAttributeException;
+import org.jboss.tools.buildmagic.task.MissingElementException;
+import org.jboss.tools.buildmagic.task.util.TaskLogger;
+import org.jboss.tools.buildmagic.task.util.ConditionalExecution;
+
+/**
+ * Module configuration task.
+ *
+ * @todo Merge groups and modules. they will share namespace, but
+ * will be easier to work with.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class ModuleConfig
+ extends Task
+{
+ /** Instance logger. */
+ protected TaskLogger log = new TaskLogger(this);
+
+ /** The list of modules. */
+ protected List modules = new LinkedList();
+
+ /** The list of groups. */
+ protected List groups = new LinkedList();
+
+ /** The name of the property that is to be set. */
+ protected String property = "modules";
+
+ /** The selected group. */
+ protected String selected;
+
+ /** The conditional execution helper. */
+ protected ConditionalExecution cond = new ConditionalExecution(this);
+
+ /** Set the property name. */
+ public void setProperty(String property) {
+ this.property = property;
+ }
+
+ /** Set the selected group. */
+ public void setSelected(String selected) {
+ this.selected = selected;
+ }
+
+ /** Create a module. */
+ public Module createModule() {
+ Module m = new Module(this);
+ modules.add(m);
+ return m;
+ }
+
+ /** Create a group. */
+ public Group createGroup() {
+ Group g = new Group(this);
+ groups.add(g);
+ return g;
+ }
+
+ /** Create a condition. */
+ public ConditionalExecution.Condition createCondition() {
+ return cond.createCondition();
+ }
+
+ /**
+ * Execute this task.
+ *
+ * @throws BuildException Failed to execute task.
+ */
+ public void execute() throws BuildException {
+ if (selected == null)
+ throw new MissingAttributeException("name", this);
+ if (modules.size() == 0)
+ throw new MissingElementException("module", this);
+ if (groups.size() == 0)
+ throw new MissingElementException("group", this);
+
+ if (!cond.canExecute()) return;
+
+ List list = new LinkedList();
+ StringTokenizer stok = new StringTokenizer(selected, ",");
+ while (stok.hasMoreTokens()) {
+ String name = stok.nextToken().trim();
+ log.verbose("selected group: " + name);
+ Group group = getGroup(name);
+ if (group == null)
+ throw new BuildException("Invalid module group: " + selected);
+
+ log.debug("group: " + group);
+
+ List allModules = group.getModules();
+ if (allModules == null)
+ throw new BuildException("Invalid group: " + name);
+
+ list.addAll(allModules);
+ }
+ log.debug("full module list: " + list);
+
+ String value = generatePropertyValue(list);
+ project.setProperty(property, value);
+ log.verbose("Module list: " + value);
+ }
+
+ /**
+ * Generate the property value from the given module list.
+ */
+ protected String generatePropertyValue(List list) {
+ StringBuffer buff = new StringBuffer();
+
+ Iterator iter = list.iterator();
+ while (iter.hasNext()) {
+ Module mod = (Module)iter.next();
+ if (mod == null)
+ throw new BuildException("Null module in list: " + list);
+
+ buff.append(mod.getName());
+ if (iter.hasNext()) {
+ buff.append(",");
+ }
+ }
+
+ return buff.toString();
+ }
+
+ /**
+ * Get an element by name.
+ */
+ protected NamedElement getNamedElement(List list, String name) {
+ Iterator iter = list.iterator();
+
+ while (iter.hasNext()) {
+ NamedElement elem = (NamedElement)iter.next();
+ if (elem.getName().equals(name)) {
+ return elem;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * Get a module by name.
+ */
+ protected Module getModule(String name) {
+ return (Module)getNamedElement(modules, name);
+ }
+
+ /**
+ * Get a group by name.
+ */
+ protected Group getGroup(String name) {
+ return (Group)getNamedElement(groups, name);
+ }
+
+
+ /////////////////////////////////////////////////////////////////////////
+ // Nested Elements //
+ /////////////////////////////////////////////////////////////////////////
+
+ /**
+ * An abstract element which has a name.
+ */
+ protected abstract class NamedElement
+ {
+ protected Task parent;
+ protected String name;
+
+ protected NamedElement(Task parent) {
+ this.parent = parent;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+ }
+
+ /**
+ * A module element.
+ */
+ protected class Module
+ extends NamedElement
+ {
+ protected List depends = new LinkedList();
+
+ public Module(Task parent) {
+ super(parent);
+ }
+
+ public void addDependency(String name) {
+ depends.add(name);
+ }
+
+ public void setDepends(String depends) {
+ StringTokenizer stok = new StringTokenizer(depends, ",", false);
+ while (stok.hasMoreTokens()) {
+ addDependency(stok.nextToken().trim());
+ }
+ }
+
+ public String toString() {
+ return "{ name=" + name + ", depends=" + depends + " }";
+ }
+ }
+
+
+ /**
+ * A group element.
+ */
+ protected class Group
+ extends NamedElement
+ {
+ /** The list of includes. */
+ protected List includes = new LinkedList();
+
+ /** The conditional execution helper. */
+ protected ConditionalExecution cond;
+
+ public Group(Task parent) {
+ super(parent);
+ cond = new ConditionalExecution(parent);
+ }
+
+ /** Create a condition. */
+ public ConditionalExecution.Condition createCondition() {
+ return cond.createCondition();
+ }
+
+ public Include createInclude() {
+ Include inc = new Include(this);
+ includes.add(inc);
+ return inc;
+ }
+
+ public void setModules(String modules) {
+ Include inc = new Include(this);
+ inc.setModules(modules);
+ includes.add(inc);
+ }
+
+ public void setGroups(String groups) {
+ Include inc = new Include(this);
+ inc.setGroups(groups);
+ includes.add(inc);
+ }
+
+ public List getModules() {
+ List list = new LinkedList();
+ if (!cond.canExecute()) return list;
+
+ Iterator iter = includes.iterator();
+ while (iter.hasNext()) {
+ Include inc = (Include)iter.next();
+ log.debug("adding modules from include: " + inc);
+ list.addAll(inc.getModules());
+ }
+
+ return list;
+ }
+
+ public String toString() {
+ return "{ name=" + name + ", includes=" + includes + " }";
+ }
+
+ /**
+ * An include elemnt.
+ */
+ protected class Include
+ {
+ /** The conditional execution helper. */
+ protected ConditionalExecution cond;
+
+ protected Group parent;
+ protected String modules = "";
+ protected String groups = "";
+
+ public Include(Group parent) {
+ this.parent = parent;
+ cond = new ConditionalExecution(parent.parent);
+ }
+
+ /** Create a condition. */
+ public ConditionalExecution.Condition createCondition() {
+ return cond.createCondition();
+ }
+
+ public void setModules(String modules) {
+ this.modules = modules;
+ }
+
+ public void setGroups(String groups) {
+ this.groups = groups;
+ }
+
+ public List getGroups() {
+ List list = new LinkedList();
+ if (!cond.canExecute()) return list;
+
+ StringTokenizer stok = new StringTokenizer(groups, ",");
+ while (stok.hasMoreTokens()) {
+ String name = stok.nextToken().trim();
+ Group group = getGroup(name);
+ if (group == null)
+ throw new BuildException("Invalid group include: " + name);
+
+ list.add(group);
+ log.debug("adding group: " + group);
+ }
+
+ return list;
+ }
+
+ public List getModules() {
+ List list = new LinkedList();
+ if (!cond.canExecute()) return list;
+
+ StringTokenizer stok = new StringTokenizer(modules, ",");
+ while (stok.hasMoreTokens()) {
+ String name = stok.nextToken().trim();
+ Module module = getModule(name);
+ if (module == null)
+ throw new BuildException("Invalid module include: " + name);
+
+ list.add(module);
+ log.debug("adding module: " + module);
+ }
+
+ List groups = getGroups();
+ Iterator iter = groups.iterator();
+ while (iter.hasNext()) {
+ Group group = (Group)iter.next();
+ list.addAll(group.getModules());
+ }
+
+ return list;
+ }
+
+ public String toString() {
+ return "{ modules=" + modules + ", groups=" + groups + " }";
+ }
+ }
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/module/ModuleConfig.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/ConditionalExecution.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/ConditionalExecution.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/ConditionalExecution.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,70 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task.util;
+
+import java.util.List;
+import java.util.LinkedList;
+import java.util.Iterator;
+
+import org.apache.tools.ant.Task;
+
+import org.jboss.tools.buildmagic.task.Tasks;
+
+/**
+ * A helper for creating tasks which can have one or more nested conditions.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public class ConditionalExecution
+{
+ protected List conditions = new LinkedList();
+ protected Task task;
+
+ public ConditionalExecution(final Task task) {
+ this.task = task;
+ }
+
+ public Condition createCondition() {
+ Condition cond = new Condition();
+ conditions.add(cond);
+ return cond;
+ }
+
+ public boolean canExecute() {
+ Iterator iter = conditions.iterator();
+ boolean can = true;
+ while (iter.hasNext()) {
+ Condition cond = (Condition)iter.next();
+ if (!cond.canExecute())
+ can = false;
+ }
+
+ return can;
+ }
+
+ public class Condition
+ {
+ protected String _if;
+ protected String unless;
+
+ public void setIf(String property) {
+ _if = property;
+ }
+
+ public void setUnless(String property) {
+ unless = property;
+ }
+
+ public boolean canExecute() {
+ return Tasks.canExecute(task, _if, unless);
+ }
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/ConditionalExecution.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/TaskLogger.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/TaskLogger.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/TaskLogger.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,47 @@
+/***************************************
+ * *
+ * JBoss: The OpenSource J2EE WebOS *
+ * *
+ * Distributable under LGPL license. *
+ * See terms of license at gnu.org. *
+ * *
+ ***************************************/
+
+package org.jboss.tools.buildmagic.task.util;
+
+import org.apache.tools.ant.*;
+
+/**
+ * A helper class to make logging from a task nicer.
+ *
+ * @version <pre>$Id$</pre>
+ * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
+ */
+public final class TaskLogger
+{
+ protected Task task;
+
+ public TaskLogger(final Task task) {
+ this.task = task;
+ }
+
+ public void info(final String message) {
+ task.log(message, Project.MSG_INFO);
+ }
+
+ public void error(final String message) {
+ task.log(message, Project.MSG_ERR);
+ }
+
+ public void warning(final String message) {
+ task.log(message, Project.MSG_WARN);
+ }
+
+ public void verbose(final String message) {
+ task.log(message, Project.MSG_VERBOSE);
+ }
+
+ public void debug(final String message) {
+ task.log(message, Project.MSG_DEBUG);
+ }
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/main/org/jboss/tools/buildmagic/task/util/TaskLogger.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,36 @@
+### ====================================================================== ###
+## ##
+## Copyright (c) 1998-2000 by Jason Dillon <jason at planet57.com> ##
+## ##
+## This file is part of BuildMagic; an extension to Ant. ##
+## ##
+## This library is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU Lesser General Public License as ##
+## published by the Free Software Foundation; either version 2 of the ##
+## License, or (at your option) any later version. ##
+## ##
+## This library is distributed in the hope that it will be useful, but ##
+## WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ##
+## Lesser General Public License for more details. ##
+## ##
+### ====================================================================== ###
+## ##
+## Common Properties ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+buildmagic.resolveproperties.force=false
+buildmagic.propertyfilter.all=true
+
+### Jython Support ###
+
+true=1
+false=0
+
+### Misc ###
+
+/=${file.separator}
+sun.boot.classpath=${sun.boot.class.path}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,322 @@
+<!-- $Id$ -->
+
+<!-- ================================================================== -->
+<!-- Initialization -->
+<!-- ================================================================== -->
+
+<!-- Load Buildmagic extention tasks. -->
+<taskdef resource="org/jboss/tools/buildmagic/task/autoload.properties"/>
+<taskdef name="property" classname="org.jboss.tools.buildmagic.task.Property"/>
+
+<!-- Initialize the build system. -->
+<target name="_buildmagic:init">
+ <!-- fail unless we have been started from the build script -->
+ <require property="build.script">
+
+ The build system MUST be executed with one of the provided build scripts.
+
+ </require>
+
+ <!-- JDK Detection -->
+ <available classname="java.lang.Void" property="HAVE_JDK_1.1"/>
+ <available classname="java.lang.ThreadLocal" property="HAVE_JDK_1.2"/>
+ <available classname="java.lang.StrictMath" property="HAVE_JDK_1.3"/>
+ <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
+
+ <!-- Setup the basic project roots. -->
+ <property name="_project.root" value=".."/>
+ <path id="project.root"><pathelement location="${_project.root}"/></path>
+ <property name="project.root" refid="project.root"/>
+ <property name="project.build" value="${project.root}/build"/>
+
+ <!-- Include user and project property overrides. -->
+ <property file="${user.home}/.buildmagic.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Setup the project environment. -->
+ <property file="${project.build}/local.properties"/>
+ <property name="project.tools" value="${project.root}/tools"/>
+ <property name="project.thirdparty" value="${project.root}/thirdparty"/>
+
+ <!-- Setup the module environment. -->
+ <property name="module.root" value="${basedir}"/>
+
+ <available file="${module.root}/etc/local.properties-example"
+ property="init.have-local-properties"/>
+ <call target="_buildmagic:init:local-properties" if="init.have-local-properties"/>
+
+ <property file="${module.root}/local.properties"/>
+ <property name="module.source" value="${module.root}/src"/>
+ <property name="module.output" value="${module.root}/output"/>
+ <property name="module.tools" value="${module.root}/tools"/>
+ <property name="module.thirdparty" value="${module.root}/thirdparty"/>
+
+ <!-- Setup the build.log -->
+ <call target="_buildmagic:init:buildlog" unless="init-buildlog.disable"/>
+
+ <!-- Load common properties -->
+ <property resource="org/jboss/tools/buildmagic/common.properties"/>
+
+ <!-- Setup the build timestamp & build identifer properties -->
+ <tstamp>
+ <format property="build.number" pattern="yyyyMMddHHmm"/>
+ <format property="YEAR" pattern="yyyy"/>
+ </tstamp>
+ <property name="build.id" value="${build.number}"/>
+
+ <!-- Invoke the configure task -->
+ <call target="configure" unless="configure.disable"/>
+
+ <!-- Load common task properties -->
+ <property resource="org/jboss/tools/buildmagic/task.properties"/>
+
+ <!-- Late bind properties & install filters -->
+ <resolver force="${buildmagic.resolveproperties.force}"/>
+ <propertyfilter all="${buildmagic.propertyfilter.all}"/>
+
+ <call target="_buildmagic:init:show-environment" if="init.verbose"/>
+
+ <!-- Finish up -->
+ <property name="init.disable" value="true"/>
+</target>
+
+<!-- Install the local.properties example if it is there -->
+<target name="_buildmagic:init:local-properties">
+ <!-- Setup the local.properties file as needed -->
+ <copy file="${module.root}/etc/local.properties-example"
+ tofile="${module.root}/local.properties" filtering="yes"/>
+ <property file="${module.root}/local.properties"/>
+</target>
+
+<!-- Initialize the build.log -->
+<target name="_buildmagic:init:buildlog">
+ <record name="${basedir}/build.log" append="no"/>
+ <property name="init-buildlog.disable" value="true" system="true"/>
+</target>
+
+<!-- Show the running environment if -Dinit.verbose=true -->
+<target name="_buildmagic:init:show-environment">
+ <echo><![CDATA[
+project.root: ${project.root}
+module.root: ${module.root}
+user.home: ${user.home}
+build.compiler: ${build.compiler}
+java.home: ${java.home}
+java.class.path: ${java.class.path}
+java.version: ${java.version}
+java.vendor: ${java.vendor}
+java.vm.version: ${java.vm.version}
+java.vm.name: ${java.vm.name}
+java.vm.info: ${java.vm.info}
+os.name: ${os.name}
+os.arch: ${os.arch}
+os.version: ${os.version}
+]]></echo>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_buildmagic:clean" depends="init">
+ <delete dir="${module.output}"/>
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_buildmagic:clobber" depends="init">
+ <delete file="${module.root}/local.properties"/>
+
+ <!--
+ | Try to stop the build log before we delete the file.
+ -->
+ <record name="${module.root}/build.log" action="stop"/>
+
+ <!--
+ | This file may be opened still due and fail to be removed on win32
+ | systems, so lets just ignore those errors for now.
+ -->
+ <delete file="${module.root}/build.log" quiet="true" failonerror="false"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Help -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:help:standard" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+<target name="_buildmagic:help:build" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -Dgroups=<group>[(,<group>)*] Specify the module groups.
+ -Dmodules=<module>[(,<module>)*] Specify the modules.
+ (overrides groups).
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Release -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:release:zip" depends="init">
+ <zip zipfile="${module.output}/${release.id}.zip">
+ <fileset dir="${module.output}">
+ <include name="${release.id}/**"/>
+ </fileset>
+ </zip>
+</target>
+
+<target name="_buildmagic:release:tar" depends="init">
+ <tar tarfile="${module.output}/${release.id}.tar" longfile="gnu"
+ basedir="${module.output}"
+ includes="${release.id}/**">
+ </tar>
+</target>
+
+<target name="_buildmagic:release:tgz" depends="_buildmagic:release:tar">
+ <gzip src="${module.output}/${release.id}.tar"
+ zipfile="${module.output}/${release.id}.tgz"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Install -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:install:default" depends="init">
+ <!-- Copy the output directory to the install directory -->
+ <mkdir dir="${install.root}"/>
+ <copy todir="${install.root}" filtering="no">
+ <fileset dir="${module.output}">
+ <include name="**/*"/>
+ <exclude name="${install.id}/**"/>
+ </fileset>
+ </copy>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Module Pass-through Targets -->
+<!-- ================================================================== -->
+
+<!-- Invoke the 'all' on all configured modules -->
+<target name="_buildmagic:modules:all" depends="init">
+ <execmodules target="all"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'most' on all configured modules -->
+<target name="_buildmagic:modules:most" depends="init">
+ <execmodules target="most"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module-${module}-${target}-prepare"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'main' on all configured modules -->
+<target name="_buildmagic:modules:main" depends="init">
+ <execmodules target="main"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module-${module}-${target}-prepare"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'release' on all configured modules -->
+<target name="_buildmagic:modules:release" depends="init">
+ <execmodules target="release"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'tests' on all configured modules -->
+<target name="_buildmagic:modules:tests" depends="init">
+ <execmodules target="tests"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clean' on all configured modules -->
+<target name="_buildmagic:modules:clean" depends="init">
+ <execmodules target="clean"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clobber' on all configured modules -->
+<target name="_buildmagic:modules:clobber" depends="init">
+ <execmodules target="clobber"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/common.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/autoload.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/autoload.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/autoload.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,20 @@
+### ====================================================================== ###
+## ##
+## BuildMagic tasks which will be autoloaded. ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+### Stuff that glues things together ###
+
+resolver=org.jboss.tools.buildmagic.task.ResolveProperties
+propertyfilter=org.jboss.tools.buildmagic.task.PropertyFilter
+require=org.jboss.tools.buildmagic.task.Require
+call=org.jboss.tools.buildmagic.task.CallTarget
+Ant=org.jboss.tools.buildmagic.task.Ant
+
+### Project/Module tasks ###
+
+execmodules=org.jboss.tools.buildmagic.task.module.ExecuteModules
+moduleconfig=org.jboss.tools.buildmagic.task.module.ModuleConfig
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task/autoload.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,83 @@
+### ====================================================================== ###
+## ##
+## Default Task Properties ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+### Javac Defaults ###
+
+javac.includes=**/*.java
+javac.excludes=
+javac.defaultexcludes=yes
+
+javac.boot.classpath=${sun.boot.classpath}
+javac.classpath=${classpath}
+
+javac.debug=off
+javac.optimize=on
+javac.deprecation=on
+javac.target=1.2
+javac.verbose=off
+javac.depend=off
+javac.source=1.3
+
+javac.include.ant.runtime=no
+javac.include.java.runtime=no
+javac.fail.onerror=true
+
+classpath=
+classpath.local=
+classpath.thirdparty=
+
+### Javadoc Defaults ###
+
+javadoc.classpath=${javac.classpath}
+javadoc.sourcepath=
+javadoc.source.path=
+javadoc.source.files=
+
+javadoc.public=false
+javadoc.package=false
+javadoc.protected=true
+javadoc.private=false
+javadoc.version=true
+javadoc.author=true
+javadoc.use=true
+javadoc.verbose=false
+
+javadoc.windowtitle=${module.Name} API
+javadoc.doctitle=${module.Name}
+javadoc.splitindex=no
+
+### RMIC Defaults ###
+
+rmic.base=${build.classes}
+rmic.stubVersion=${javac.target}
+rmic.verify=true
+rmic.sourcebase=
+rmic.debug=false
+rmic.iiop=false
+rmic.iiopopts=
+rmic.idl=false
+rmic.idlopts=
+rmic.includes=
+rmic.excludes=
+
+### JUnit Defaults ###
+
+junit.printsummary=true
+junit.haltonerror=false
+junit.haltonfailure=false
+junit.fork=true
+junit.timeout=300000
+junit.jvm=java
+junit.jvm.options=
+
+junit.formatter.type=xml
+junit.formatter.usefile=true
+
+junit.batchtest.fork=${junit.fork}
+junit.batchtest.haltonerror=${junit.haltonerror}
+junit.batchtest.haltonfailure=${junit.haltofailure}
Property changes on: labs/jbossbuild/buildmagic/trunk/tasks/src/resources/org/jboss/tools/buildmagic/task.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/LICENSE
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/LICENSE (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/LICENSE 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,53 @@
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" and
+ * "Apache BCEL" must not be used to endorse or promote products
+ * derived from this software without prior written permission. For
+ * written permission, please contact apache at apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * "Apache BCEL", nor may "Apache" appear in their name, without
+ * prior written permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/VERSION
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/VERSION (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/VERSION 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1 @@
+5.1 2003-04-25 md5=54f27d984f1862815219b524038c7177
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,19 @@
+<project name="apache-bcel-component-info">
+
+ <!-- ============================================================ -->
+ <!-- Apache BCEL -->
+ <!-- ============================================================ -->
+
+ <component id="apache-bcel"
+ licenseType="apache-2.0"
+ version="5.1"
+ projectHome="http://jakarta.apache.org/bcel/index.html"
+ description="Byte Code Engineering Library">
+ <artifact id="bcel.jar"/>
+ <export>
+ <include input="bcel.jar"/>
+ </export>
+ </component>
+
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/lib/bcel.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-bcel/lib/bcel.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/LICENSE.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/LICENSE.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/LICENSE.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,60 @@
+/*
+ * $Header: /cvsroot/jboss/thirdparty/apache/commons/LICENSE.txt,v 1.1.1.1 2002/10/29 00:39:12 user57 Exp $
+ * $Revision$
+ * $Date$
+ *
+ * ====================================================================
+ *
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact apache at apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache"
+ * nor may "Apache" appear in their names without prior written
+ * permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/LICENSE.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/README.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/README.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/README.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,17 @@
+This is a list of the files and versions in this directory. Please keep it up
+to date:
+
+commons-collections.jar: The 2,1 release of commons-collections obtained from
+http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections/v2.1/
+
+commons-logging.jar: The 1.0.3 release of the commons logging wrapper from
+http://archive.apache.org/dist/jakarta/commons/logging/binaries/
+NOTE: See jboss.patch.txt for a patch to use a WeakHashMap in the LogFactory
+which avoids memory leaks caused by hard references to classloaders in the
+apache distribution.
+
+commons-httpclient.jar: The 2.0 release of the commons http client from
+http://www.apache.org/dist/jakarta/commons/httpclient/binary/commons-httpclient-2.0.zip
+
+commons-vfs.jar: The 1.0-dev release of the commons vfs library obtained from
+http://cvs.apache.org/builds/jakarta-commons/nightly/commons-vfs/
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/README.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,21 @@
+<project name="apache-commons-component-info">
+
+ <!-- ============================================================ -->
+ <!-- Apache Commons -->
+ <!-- ============================================================ -->
+
+ <component id="apache-commons"
+ licenseType="apache-2.0"
+ version="mixed"
+ projectHome="http://jakarta.apache.org/commons/index.html">
+
+ <artifact id="commons-logging.jar"/>
+ <artifact id="commons-httpclient.jar"/>
+ <artifact id="commons-discovery.jar"/>
+ <export>
+ <include input="commons-logging.jar"/>
+ <include input="commons-httpclient.jar"/>
+ <include input="commons-discovery.jar"/>
+ </export>
+ </component>
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/jboss.patch.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/jboss.patch.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/jboss.patch.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,38 @@
+--- LogFactory.java.1.0.3 2005-06-08 19:02:38.000000000 -0400
++++ LogFactory.java 2005-06-08 19:10:21.000000000 -0400
+@@ -70,9 +70,12 @@
+ import java.lang.reflect.Method;
+ import java.security.AccessController;
+ import java.security.PrivilegedAction;
++import java.util.Collections;
+ import java.util.Enumeration;
+-import java.util.Hashtable;
++import java.util.Iterator;
++import java.util.Map;
+ import java.util.Properties;
++import java.util.WeakHashMap;
+
+
+ /**
+@@ -225,7 +228,7 @@
+ * The previously constructed <code>LogFactory</code> instances, keyed by
+ * the <code>ClassLoader</code> with which it was created.
+ */
+- protected static Hashtable factories = new Hashtable();
++ protected static Map factories = Collections.synchronizedMap(new WeakHashMap());
+
+
+ // --------------------------------------------------------- Static Methods
+@@ -448,9 +451,9 @@
+ public static void releaseAll() {
+
+ synchronized (factories) {
+- Enumeration elements = factories.elements();
+- while (elements.hasMoreElements()) {
+- LogFactory element = (LogFactory) elements.nextElement();
++ Iterator elements = factories.values().iterator();
++ while (elements.hasNext()) {
++ LogFactory element = (LogFactory) elements.next();
+ element.release();
+ }
+ factories.clear();
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/jboss.patch.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-beanutils.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-beanutils.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-codec-1.2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-codec-1.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-collections.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-digester-1.6.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-digester-1.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-discovery.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-discovery.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-fileupload.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-fileupload.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-httpclient.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-httpclient.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-lang-2.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-lang-2.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging-api.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging-api.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-pool.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-pool.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-validator-1.1.3.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-validator-1.1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-vfs.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-commons/lib/commons-vfs.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="apache-log4j-component-info">
+ <!-- ============================================================ -->
+ <!-- Apache Log4j -->
+ <!-- ============================================================ -->
+
+ <component id="apache-log4j"
+ licenseType="apache-2.0"
+ version="1.2.8"
+ projectHome="http://logging.apache.org/"
+ description="Java logging framework">
+ <artifact id="log4j.jar"/>
+ <artifact id="snmpTrapAppender.jar"/>
+ <export>
+ <include input="log4j.jar"/>
+ </export>
+ </component>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/README
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/README (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/README 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,3 @@
+This is a list of the files and versions in this directory. Please keep it up to date:
+
+log4j.jar - jakarta-log4j-1.2.8
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/README
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/log4j.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/log4j.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/snmpTrapAppender.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-log4j/lib/snmpTrapAppender.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/LICENSE
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/LICENSE (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/LICENSE 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,61 @@
+/* ========================================================================= *
+ * *
+ * The Apache Software License, Version 1.1 *
+ * *
+ * Copyright (c) 1999, 2000, 2001 The Apache Software Foundation. *
+ * All rights reserved. *
+ * *
+ * ========================================================================= *
+ * *
+ * Redistribution and use in source and binary forms, with or without modi- *
+ * fication, are permitted provided that the following conditions are met: *
+ * *
+ * 1. Redistributions of source code must retain the above copyright notice *
+ * notice, this list of conditions and the following disclaimer. *
+ * *
+ * 2. Redistributions in binary form must reproduce the above copyright *
+ * notice, this list of conditions and the following disclaimer in the *
+ * documentation and/or other materials provided with the distribution. *
+ * *
+ * 3. The end-user documentation included with the redistribution, if any, *
+ * must include the following acknowlegement: *
+ * *
+ * "This product includes software developed by the Apache Software *
+ * Foundation <http://www.apache.org/>." *
+ * *
+ * Alternately, this acknowlegement may appear in the software itself, if *
+ * and wherever such third-party acknowlegements normally appear. *
+ * *
+ * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software *
+ * Foundation" must not be used to endorse or promote products derived *
+ * from this software without prior written permission. For written *
+ * permission, please contact <apache at apache.org>. *
+ * *
+ * 5. Products derived from this software may not be called "Apache" nor may *
+ * "Apache" appear in their names without prior written permission of the *
+ * Apache Software Foundation. *
+ * *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES *
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY *
+ * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL *
+ * THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY *
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL *
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS *
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) *
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, *
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN *
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
+ * POSSIBILITY OF SUCH DAMAGE. *
+ * *
+ * ========================================================================= *
+ * *
+ * This software consists of voluntary contributions made by many indivi- *
+ * duals on behalf of the Apache Software Foundation. For more information *
+ * on the Apache Software Foundation, please see <http://www.apache.org/>. *
+ * *
+ * ========================================================================= */
+
+/* CVS information: $Revision: 1.1 $ $Date: 2002/12/13 22:24:06 $
+ * $Source: /cvsroot/jboss/thirdparty/apache/slide/LICENSE,v $
+ * $Author: jboynes $
+ */
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/README
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/README (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/README 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1 @@
+This is a stripped down extract from Slide 1.0.16 containing the WebDAV Client library
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/README
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/client/lib/webdavlib.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/client/lib/webdavlib.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="apache-slide-component-info">
+
+ <!-- ============================================================ -->
+ <!-- Apache Slide -->
+ <!-- ============================================================ -->
+
+ <component id="apache-slide"
+ licenseType="apache-2.0"
+ version="2.0"
+ projectHome="http://jakarta.apache.org/slide/index.html"
+ description="WebDAV Support Library">
+
+ <artifact id="webdavlib.jar"/>
+ <export>
+ <include input="webdavlib.jar"/>
+ </export>
+ </component>
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/apache-slide/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/README
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/README (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/README 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,4 @@
+$Id$
+
+Version 1.5 of dom4j from http://www.dom4j.org. This also includes the
+jaxen-1.1-beta-4.jar from the same dist.
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/README
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,19 @@
+<project name="dom4j-dom4j-component-info">
+
+ <!-- ============================================================ -->
+ <!-- DOM4J -->
+ <!-- ============================================================ -->
+
+ <component id="dom4j-dom4j"
+ licenseType="dom4j"
+ version="1.5"
+ projectHome="http://dom4j.org/"
+ description="Library for XML, XPath and XSLT on the Java platform">
+ <artifact id="dom4j.jar"/>
+ <export>
+ <include input="dom4j.jar"/>
+ </export>
+ </component>
+
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/dom4j.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/dom4j.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/jaxen-1.1-beta-4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/dom4j-dom4j/lib/jaxen-1.1-beta-4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/LICENSE.lgpl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/LICENSE.lgpl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/LICENSE.lgpl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,482 @@
+ GNU LIBRARY GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL. It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it. You can use it for
+your libraries, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library. If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software. To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+ Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs. This
+license, the GNU Library General Public License, applies to certain
+designated libraries. This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+ The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it. Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program. However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+ Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries. We
+concluded that weaker conditions might promote sharing better.
+
+ However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves. This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them. (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.) The hope is that this
+will lead to faster development of free libraries.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+ Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+
+ GNU LIBRARY GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License"). Each licensee is
+addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ c) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ d) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ MA 02111-1307, USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="gnu-getopt-component-info">
+ <!-- ============================================================ -->
+ <!-- GNU Getopt -->
+ <!-- ============================================================ -->
+
+ <component id="gnu-getopt"
+ licenseType="lgpl"
+ version="1.0.10"
+ projectHome="http://www.urbanophile.com/arenn/hacking/download.html"
+ description="Java getopt classes for short and long argument parsing">
+
+ <artifact id="getopt.jar"/>
+ <export>
+ <include input="getopt.jar"/>
+ </export>
+ </component>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/lib/getopt.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-getopt/lib/getopt.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,19 @@
+<project name="gnu-regexp-component-info">
+
+ <!-- ============================================================ -->
+ <!-- GNU Regular Expressions -->
+ <!-- ============================================================ -->
+
+ <component id="gnu-regexp"
+ licenseType="lgpl"
+ version="1.1.14"
+ projectHome="http://freshmeat.net/projects/gnu.regexp/"
+ description="Regular expression package for Java">
+
+ <artifact id="gnu-regexp.jar"/>
+ <export>
+ <include input="gnu-regexp.jar"/>
+ </export>
+ </component>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/lib/gnu-regexp.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/gnu-regexp/lib/gnu-regexp.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/VERSION
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/VERSION (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/VERSION 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1 @@
+2.2
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/lib/bsf.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/lib/bsf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/license.html
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/license.html (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/license.html 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,254 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<HTML>
+<HEAD>
+<TITLE>
+IBM PUBLIC LICENSE VERSION 1.0 - BEAN SCRIPTING FRAMEWORK
+</TITLE>
+</HEAD>
+<BODY>
+<h2 align=center>
+IBM PUBLIC LICENSE VERSION 1.0 - BEAN SCRIPTING FRAMEWORK
+</h2>
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM
+PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
+OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+<h3>
+1. DEFINITIONS
+</h3>
+<p>"Contribution" means:
+<ol type=a>
+<li>
+in the case of International Business Machines Corporation ("IBM"), the Original Program, and
+<li>
+in the case of each Contributor,
+<ol type=i>
+<li>
+changes to the Program, and
+<li>
+additions to the Program;
+</ol>
+where such changes and/or additions to the Program originate from and
+are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program by
+such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program which:
+(i) are separate modules of software distributed in conjunction with
+the Program under their own license agreement, and (ii) are not
+derivative works of the Program.
+</ol>
+<p>
+"Contributor" means IBM and any other entity that distributes the Program.
+<p>
+"Licensed Patents " mean patent claims licensable by a
+Contributor which are necessarily infringed by the use or sale of its
+Contribution alone or when combined with the Program.
+<p>
+"Original Program" means the original version of the software
+accompanying this Agreement as released by IBM, including source
+code, object code and documentation, if any.
+<p>
+"Program" means the Original Program and Contributions.
+<p>
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+<h3>
+2. GRANT OF RIGHTS
+</h3>
+<ol type=a>
+<li>
+Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and
+object code form.
+<li>
+Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor, such
+addition of the Contribution causes such combination to be covered by
+the Licensed Patents. The patent license shall not apply to any
+other combinations which include the Contribution. No hardware per
+se is licensed hereunder.
+<li>
+Recipient understands that although each Contributor grants the
+licenses to its Contributions set forth herein, no assurances are
+provided by any Contributor that the Program does not infringe the
+patent or other intellectual property rights of any other entity.
+Each Contributor disclaims any liability to Recipient for claims
+brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the
+rights and licenses granted hereunder, each Recipient hereby assumes
+sole responsibility to secure any other intellectual property rights
+needed, if any. For example, if a third party patent license is
+required to allow Recipient to distribute the Program, it is
+Recipient's responsibility to acquire that license before
+distributing the Program.
+<li>
+Each Contributor represents that to its knowledge it has
+sufficient copyright rights in its Contribution, if any, to grant the
+copyright license set forth in this Agreement.
+</ol>
+<h3>
+3. REQUIREMENTS
+</h3>
+A Contributor may choose to distribute
+the Program in object code form under its own license agreement,
+provided that:
+<ol type=a>
+<li>
+it complies with the terms and conditions of this Agreement; and
+<li>
+its license agreement:
+<ol type=i>
+<li>
+effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties or
+conditions of merchantability and fitness for a particular purpose;
+<li>
+effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental and
+consequential damages, such as lost profits;
+<li>
+states that any provisions which differ from this Agreement are
+offered by that Contributor alone and not by any other party; and
+<li>states that source code for the Program is available from such
+Contributor, and informs licensees how to obtain it in a reasonable
+manner on or through a medium customarily used for software exchange.
+</ol>
+</ol>
+When the Program is made available in source code form:
+<ol type=a>
+<li>
+it must be made available under this Agreement; and
+<li>
+a copy of this Agreement must be included with each copy of the
+Program.
+</ol>
+Each Contributor must include the following in a conspicuous location in the Program:
+<blockquote>
+Copyright (C) 1996, 1999 International Business Machines Corporation and others. All Rights Reserved.
+</blockquote>
+<p>
+In addition, each Contributor must identify itself as the originator
+of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution.
+<h3>
+4. COMMERCIAL DISTRIBUTION
+</h3>
+<p>
+Commercial distributors of software may accept certain
+responsibilities with respect to end users, business partners and the
+like. While this license is intended to facilitate the commercial
+use of the Program, the Contributor who includes the Program in a
+commercial product offering should do so in a manner which does not
+create potential liability for other Contributors. Therefore, if a
+Contributor includes the Program in a commercial product offering,
+such Contributor ("Commercial Contributor") hereby agrees to defend
+and indemnify every other Contributor ("Indemnified Contributor")
+against any losses, damages and costs (collectively "Losses") arising
+from claims, lawsuits and other legal actions brought by a third
+party against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection with
+its distribution of the Program in a commercial product offering.
+The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement.
+In order to qualify, an Indemnified Contributor must: a) promptly
+notify the Commercial Contributor in writing of such claim, and b)
+allow the Commercial Contributor to control, and cooperate with the
+Commercial Contributor in, the defense and any related settlement
+negotiations. The Indemnified Contributor may participate in any
+such claim at its own expense.
+<p>
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's
+responsibility alone. Under this section, the Commercial Contributor
+would have to defend claims against the other Contributors related to
+those performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+<h3>
+5. NO WARRANTY
+</h3>
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
+PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
+WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with its
+exercise of rights under this Agreement, including but not limited to
+the risks and costs of program errors, compliance with applicable
+laws, damage to or loss of data, programs or equipment, and
+unavailability or interruption of operations.
+<h3>
+6. DISCLAIMER OF LIABILITY
+</h3>
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+<h3>
+7. GENERAL
+</h3>
+If any provision of this Agreement is invalid or unenforceable under
+applicable law, it shall not affect the validity or enforceability of
+the remainder of the terms of this Agreement, and without further
+action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.
+<p>
+If Recipient institutes patent litigation against a Contributor with
+respect to a patent applicable to software (including a cross-claim
+or counterclaim in a lawsuit), then any patent licenses granted by
+that Contributor to such Recipient under this Agreement shall
+terminate as of the date such litigation is filed. In addition, if
+Recipient institutes patent litigation against any entity (including
+a cross-claim or counterclaim in a lawsuit) alleging that the Program
+itself (excluding combinations of the Program with other software or
+hardware) infringes such Recipient's patent(s), then such Recipient's
+rights granted under Section 2(b) shall terminate as of the date such
+litigation is filed.
+<p>
+All Recipient's rights under this Agreement shall terminate if it
+fails to comply with any of the material terms or conditions of this
+Agreement and does not cure such failure in a reasonable period of
+time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use
+and distribution of the Program as soon as reasonably practicable.
+However, Recipient's obligations under this Agreement and any
+licenses granted by Recipient relating to the Program shall continue
+and survive.
+<p>
+IBM may publish new versions (including revisions) of this Agreement
+from time to time. Each new version of the Agreement will be given a
+distinguishing version number. The Program (including Contributions)
+may always be distributed subject to the version of the Agreement
+under which it was received. In addition, after a new version of the
+Agreement is published, Contributor may elect to distribute the
+Program (including its Contributions) under the new version. No one
+other than IBM has the right to modify this Agreement. Except as
+expressly stated in Sections 2(a) and 2(b) above, Recipient receives
+no rights or licenses to the intellectual property of any Contributor
+under this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+<p>
+This Agreement is governed by the laws of the State of New York and
+the intellectual property laws of the United States of America. No
+party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each
+party waives its rights to a jury trial in any resulting litigation.
+</BODY>
+</HTML>
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/ibm-bsf/license.html
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="junit-junit-component-info">
+ <!-- ============================================================ -->
+ <!-- JUnit -->
+ <!-- ============================================================ -->
+
+ <component id="junit-junit"
+ licenseType="lgpl"
+ version="3.8.1"
+ projectHome="http://www.junit.org/index.htm"
+ description="Java unit testing framework">
+
+ <artifact id="junit.jar"/>
+ <export>
+ <include input="junit.jar"/>
+ </export>
+ </component>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/README.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/README.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/README.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1 @@
+Version 3.8.1 of JUnit from http://www.junit.org/index.htm
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/README.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/junit.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/junit-junit/lib/junit.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="oswego-concurrent-component-info">
+
+ <!-- ============================================================ -->
+ <!-- Oswego Concurrent Library -->
+ <!-- ============================================================ -->
+
+ <component id="oswego-concurrent"
+ licenseType="opensaml"
+ version="1.3.4"
+ projectHome="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"
+ description="Oswego util.concurrent package">
+
+ <artifact id="concurrent.jar"/>
+ <export>
+ <include input="concurrent.jar"/>
+ </export>
+ </component>
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/LICENSE.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/LICENSE.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/LICENSE.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,4 @@
+Originally written by Doug Lea and released into the public domain.
+This may be used for any purposes whatsoever without acknowledgment.
+Thanks for the assistance and support of Sun Microsystems Labs,
+and everyone contributing, testing, and using this code.
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/LICENSE.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/README.txt
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/README.txt (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/README.txt 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,104 @@
+$Id$
+NAME: Oswego util.concurrent package
+VERSION: 1.3.3
+PROJECT: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
+PURPOSE: Used by many modules for non-trival concurrency primatives
+
+# 10Jul1998 1.0
+# 11Jul1998 1.0.1: removed .class files from release, Fixed documentation error, included Barrier interface.
+# 12Jul1998 1.0.2: Fixed return value for swap; fixed documentation errors.
+# 15Jul1998 1.0.3: Fixed more documentation errors; re-fixed swap; other cosmetic improvements.
+# 18Jul1998 1.0.4: Simplified some classes by removing some alleged optimizations that do not actually help on some platforms; improved SynchronizationTimer; added some documentation.
+# 1Sep1998 version 1.1.0:
+
+ * Replace SynchronousChannel algorithm with fairer, more scalable one
+ * TimeoutException now extends InterruptedException
+ * Replace int counters with longs to avoid wrapping.
+ * new LayeredSync class
+ * new ObservableSync class
+ * new NullSync class
+ * new TimeoutSync class
+ * new SyncCollection classes
+ * new ReentrantWriterPreferenceReadWriteLock class
+ * peek added to Channel
+ * new ClockDaemon class
+ * Refactorings to standardize usage of thread factories
+ * removed reliance on ThreadGroups in PooledExecutor
+
+# 7Jan 1999 Version 1.2
+
+ * ClockDaemon.shutdown allows immediate restart
+ * Callable.call throws Throwable, not Exception
+ * new Task, TaskRunner, TaskRunnerGroup classes
+ * new taskDemo subdirectory
+
+# 13Jan1999 version 1.2.1
+
+ * Minor cleanup of Task classes
+
+# 17Jan1999 version 1.2.2:
+
+ * Simplify Task classes; improve documentation; add priority control; they are no longer labeled as `preliminary'.
+ * More sample programs in taskDemos
+ * Add warnings about reentrancy to RW locks
+ * Callable throws Exception again, but FutureResult handles Throwables
+
+# 25Mar1999 version 1.2.3
+
+ * PooledExecutor -- allow pool to shrink when max size decreased
+ * Task -- add reset, array-based operations
+ * new PropertyChangeMulticaster, VetoableChangeMulticaster
+
+# 21may1999 version 1.2.4
+
+ * PooledExecutor -- allow supplied Channel in constructor; new methods createThreads(), drain()
+ * Task, TaskRunner, TaskRunnerGroup renamed to FJTask, FJTaskRunner, FJTaskRunnerGroup to avoid clashes with commonly used class name of `Task'.
+ * Misc documentation improvements
+ * WriterPreferenceReadWriteLock -- fix to notify on interrupt
+
+# 23oct1999 version 1.2.5
+
+ * PooledExecutor -- add minimumPoolSize settings
+ * LU in taskDemo
+ * Minor improvements to LinkedQueue, FJTaskRunner
+
+# 29dec1999 version 1.2.6
+
+ * FJTaskRunner -- now works on MP JVMs that do not correctly implement read-after-write of volatiles.
+ * added TimedCallable
+
+# 12jan2001 version 1.3.0
+
+ * new ConcurrentHashMap, ConcurrentReaderHashMap classes.
+ * BoundedLinkedQueue.setCapacity: immediately reconcile permits.
+ * ReentrantWriterPreferenceReadWriteLock: Both readers and writers are now reentrant.
+ * PooledExecutor: policy now an interface, not abstract class.
+ * QueuedExecutor, PooledExecutor: new shutdown methods
+
+# 2dec2001 Version 1.3.1
+
+ * PooledExecutor: declare inner class constructor as protected, more flexible shutdown support, blocked exec handlers can throw InterruptedExceptions.
+ * Ensure all serialization methods are private.
+ * Joe Bowbeer's SwingWorker now in misc
+ * Improvements to ConcurrentHashMap, ConcurrentReaderHashMap, FIFOReadWriteLock, ReentrantWriterPreferenceReadWriteLock. WaitFreeQueue, SynchronousChannel.
+
+# 12dec2002 Version 1.3.2
+
+ * SemaphoreControlledChannel - fix constructor to use longs, not its.
+ * Improvements to Heap.
+ * Fix interference check in ConcurrentReaderHashMap.
+ * ReentrantWriterPreferenceReadWriteLock throw IllegalStateException instead of NullPointerException on release errors.
+
+# 20feb2004 Version 1.3.3
+
+ * PooledExecutor: Create new threads if needed when terminating. (Thanks to Bruno Dumon), and replace dying thread if it is only one.
+ * Clarify by-permission wordings.
+ * Fix synchronization scope error in SynchronizedLong (Thanks to Aaron Greenhouse.)
+
+# 20may2004 Version 1.3.4
+ * WaitableX: notify on bitwise operations
+ * QueuedExecutor: can shutdown before thread created (thanks to Wolfgang Hoschek)
+
+# Coming attractions
+
+ * This package is entering maintenance mode because improved versions of main functionality are part of JDK1.5 java.util.concurrent via JSR 166.
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/README.txt
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent-src.zip
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent-src.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/oswego-concurrent/lib/concurrent.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,22 @@
+<project name="sun-jaxp-component-info">
+ <!-- ============================================================ -->
+ <!-- Sun Java XML Parser (JAXP) -->
+ <!-- ============================================================ -->
+
+ <component id="sun-jaxp"
+ version="1.2.3"
+ licenseType="sun-jaxp"
+ projectHome="http://java.sun.com/xml/jaxp/"
+ description="Java API for XML Processing"
+ >
+ <artifact id="jaxp.jar"/>
+ <!-- <artifact id="crimson.jar"/> -->
+ <export>
+ <include input="jaxp.jar"/>
+ <!-- <include input="crimson.jar"/>-->
+ <!--include input="xalan.jar"/-->
+ </export>
+ </component>
+
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/crimson.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/crimson.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/jaxp.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/jaxp.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/xalan.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jaxp/lib/xalan.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,15 @@
+<project name="sun-jmx-component-info">
+ <!-- ============================================================ -->
+ <!-- Sun Java Management Extensions -->
+ <!-- ============================================================ -->
+
+ <component id="sun-jmx" version="1.2.8">
+ <artifact id="jmxri.jar"/>
+ <artifact id="jmxtools.jar"/>
+ <export>
+ <include input="jmxri.jar"/>
+ <include input="jmxtools.jar"/>
+ </export>
+ </component>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxgrinder.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxgrinder.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxri.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxri.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxtools.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/sun-jmx/lib/jmxtools.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-bea-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-bea-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-ejb-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-ejb-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-java-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-java-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jboss-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jboss-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jdo-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jdo-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jmx-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-jmx-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-web-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-web-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xdoclet-module-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xdoclet-module-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xjavadoc-jb4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xdoclet-xdoclet/lib/xdoclet-xjavadoc-jb4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/component-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/component-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/component-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,18 @@
+<project name="xml-sax-component-info">
+
+ <!-- ============================================================ -->
+ <!-- SAX2 & SAX2 Extensions -->
+ <!-- ============================================================ -->
+
+ <component id="xml-sax"
+ version="2.0.x">
+ <artifact id="sax2.jar"/>
+ <artifact id="sax2-ext.jar"/>
+ <export>
+ <include input="sax2.jar"/>
+ <include input="sax2-ext.jar"/>
+ </export>
+ </component>
+
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/component-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2-ext.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2-ext.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/thirdparty/xml-sax/lib/sax2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/.project
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/.project (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/.project 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>tools</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/.project
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/ant
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/ant (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/ant 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,299 @@
+#! /bin/sh
+
+# Copyright 2001-2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Extract launch and ant arguments, (see details below).
+ant_exec_args=
+no_config=false
+use_jikes_default=false
+ant_exec_debug=false
+show_help=false
+for arg in "$@" ; do
+ if [ "$arg" = "--noconfig" ] ; then
+ no_config=true
+ elif [ "$arg" = "--usejikes" ] ; then
+ use_jikes_default=true
+ elif [ "$arg" = "--execdebug" ] ; then
+ ant_exec_debug=true
+ elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then
+ show_help=true
+ ant_exec_args="$ant_exec_args -h"
+ else
+ if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then
+ show_help=true
+ fi
+ ant_exec_args="$ant_exec_args \"$arg\""
+ fi
+done
+
+# Source/default ant configuration
+if $no_config ; then
+ rpm_mode=false
+ usejikes=$use_jikes_default
+else
+ # load system-wide ant configuration
+ if [ -f "/etc/ant.conf" ] ; then
+ . /etc/ant.conf
+ fi
+
+ # load user ant configuration
+ if [ -f "$HOME/.ant/ant.conf" ] ; then
+ . $HOME/.ant/ant.conf
+ fi
+ if [ -f "$HOME/.antrc" ] ; then
+ . "$HOME/.antrc"
+ fi
+
+ # provide default configuration values
+ if [ -z "$rpm_mode" ] ; then
+ rpm_mode=false
+ fi
+ if [ -z "$usejikes" ] ; then
+ usejikes=$use_jikes_default
+ fi
+fi
+
+# Setup Java environment in rpm mode
+if $rpm_mode ; then
+ if [ -f /usr/share/java-utils/java-functions ] ; then
+ . /usr/share/java-utils/java-functions
+ set_jvm
+ set_javacmd
+ fi
+fi
+
+# OS specific support. $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+case "`uname`" in
+ CYGWIN*) cygwin=true ;;
+ Darwin*) darwin=true
+ if [ -z "$JAVA_HOME" ] ; then
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
+ fi
+ ;;
+esac
+
+if [ -z "$ANT_HOME" -o ! -d "$ANT_HOME" ] ; then
+ ## resolve links - $0 may be a link to ant's home
+ PRG="$0"
+ progname=`basename "$0"`
+
+ # need this for relative symlinks
+ while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+ done
+
+ ANT_HOME=`dirname "$PRG"`/..
+
+ # make it fully qualified
+ ANT_HOME=`cd "$ANT_HOME" && pwd`
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$ANT_HOME" ] &&
+ ANT_HOME=`cygpath --unix "$ANT_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# set ANT_LIB location
+ANT_LIB="${ANT_HOME}/lib"
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD=`which java 2> /dev/null `
+ if [ -z "$JAVACMD" ] ; then
+ JAVACMD=java
+ fi
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly."
+ echo " We cannot execute $JAVACMD"
+ exit 1
+fi
+
+# Build local classpath using just the launcher in non-rpm mode or
+# use the Jpackage helper in rpm mode with basic and default jars
+# specified in the ant.conf configuration. Because the launcher is
+# used, libraries linked in ANT_HOME will also be include, but this
+# is discouraged as it is not java-version safe. A user should
+# request optional jars and their dependencies via the OPT_JAR_LIST
+# variable
+if $rpm_mode && [ -f /usr/bin/build-classpath ] ; then
+ LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-commons-apis)"
+ # If the user requested to try to add some other jars to the classpath
+ if [ -n "$OPT_JAR_LIST" ] ; then
+ _OPTCLASSPATH="$(/usr/bin/build-classpath $OPT_JAR_LIST 2> /dev/null)"
+ if [ -n "$_OPTCLASSPATH" ] ; then
+ LOCALCLASSPATH="$LOCALCLASSPATH:$_OPTCLASSPATH"
+ fi
+ fi
+
+ # Explicitly add javac path to classpath, assume JAVA_HOME set
+ # properly in rpm mode
+ if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
+ LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar"
+ fi
+ if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
+ LOCALCLASSPATH="$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip"
+ fi
+
+ # if CLASSPATH_OVERRIDE env var is set, LOCALCLASSPATH will be
+ # user CLASSPATH first and ant-found jars after.
+ # In that case, the user CLASSPATH will override ant-found jars
+ #
+ # if CLASSPATH_OVERRIDE is not set, we'll have the normal behaviour
+ # with ant-found jars first and user CLASSPATH after
+ if [ -n "$CLASSPATH" ] ; then
+ # merge local and specified classpath
+ if [ -z "$LOCALCLASSPATH" ] ; then
+ LOCALCLASSPATH="$CLASSPATH"
+ elif [ -n "$CLASSPATH_OVERRIDE" ] ; then
+ LOCALCLASSPATH="$CLASSPATH:$LOCALCLASSPATH"
+ else
+ LOCALCLASSPATH="$LOCALCLASSPATH:$CLASSPATH"
+ fi
+
+ # remove class path from launcher -cp option
+ CLASSPATH=""
+ fi
+else
+ # not using rpm_mode; use launcher to determine classpaths
+ if [ -z "$LOCALCLASSPATH" ] ; then
+ LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar
+ else
+ LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH
+ fi
+fi
+
+if [ -n "$JAVA_HOME" ] ; then
+ # OSX hack to make Ant work with jikes
+ if $darwin ; then
+ OSXHACK="${JAVA_HOME}/../Classes"
+ if [ -d "${OSXHACK}" ] ; then
+ for i in "${OSXHACK}"/*.jar
+ do
+ JIKESPATH="$JIKESPATH:$i"
+ done
+ fi
+ fi
+fi
+
+# Allow Jikes support (off by default)
+if $usejikes; then
+ ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
+fi
+
+# For Cygwin, switch paths to appropriate format before running java
+# For PATHs convert to unix format first, then to windows format to ensure
+# both formats are supported. Probably this will fail on directories with ;
+# in the name in the path. Let's assume that paths containing ; are more
+# rare than windows style paths on cygwin.
+if $cygwin; then
+ if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then
+ format=mixed
+ else
+ format=windows
+ fi
+ ANT_HOME=`cygpath --$format "$ANT_HOME"`
+ ANT_LIB=`cygpath --$format "$ANT_LIB"`
+ JAVA_HOME=`cygpath --$format "$JAVA_HOME"`
+ LCP_TEMP=`cygpath --path --unix "$LOCALCLASSPATH"`
+ LOCALCLASSPATH=`cygpath --path --$format "$LCP_TEMP"`
+ if [ -n "$CLASSPATH" ] ; then
+ CP_TEMP=`cygpath --path --unix "$CLASSPATH"`
+ CLASSPATH=`cygpath --path --$format "$CP_TEMP"`
+ fi
+ CYGHOME=`cygpath --$format "$HOME"`
+fi
+
+# Show script help if requested
+if $show_help ; then
+ echo $0 '[script options] [options] [target [target2 [target3] ..]]'
+ echo 'Script Options:'
+ echo ' --help, --h print this message and ant help'
+ echo ' --noconfig suppress sourcing of /etc/ant.conf,'
+ echo ' $HOME/.ant/ant.conf, and $HOME/.antrc'
+ echo ' configuration files'
+ echo ' --usejikes enable use of jikes by default, unless'
+ echo ' set explicitly in configuration files'
+ echo ' --execdebug print ant exec line generated by this'
+ echo ' launch script'
+ echo ' '
+fi
+# add a second backslash to variables terminated by a backslash under cygwin
+if $cygwin; then
+ case "$ANT_HOME" in
+ *\\ )
+ ANT_HOME="$ANT_HOME\\"
+ ;;
+ esac
+ case "$CYGHOME" in
+ *\\ )
+ CYGHOME="$CYGHOME\\"
+ ;;
+ esac
+ case "$JIKESPATH" in
+ *\\ )
+ JIKESPATH="$JIKESPATH\\"
+ ;;
+ esac
+ case "$LOCALCLASSPATH" in
+ *\\ )
+ LOCALCLASSPATH="$LOCALCLASSPATH\\"
+ ;;
+ esac
+ case "$CLASSPATH" in
+ *\\ )
+ CLASSPATH="$CLASSPATH\\"
+ ;;
+ esac
+fi
+# Execute ant using eval/exec to preserve spaces in paths,
+# java options, and ant args
+ant_sys_opts=
+if [ -n "$CYGHOME" ]; then
+ if [ -n "$JIKESPATH" ]; then
+ ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\" -Dcygwin.user.home=\"$CYGHOME\""
+ else
+ ant_sys_opts="-Dcygwin.user.home=\"$CYGHOME\""
+ fi
+else
+ if [ -n "$JIKESPATH" ]; then
+ ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
+ fi
+fi
+ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args"
+if $ant_exec_debug ; then
+ echo $ant_exec_command
+fi
+eval $ant_exec_command
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/ant.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/ant.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/ant.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,126 @@
+ at echo off
+
+REM Copyright 2001,2004-2005 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+
+if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
+
+if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="WINNT" @setlocal
+
+rem %~dp0 is expanded pathname of the current script under NT
+set DEFAULT_ANT_HOME=%~dp0..
+
+if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME%
+set DEFAULT_ANT_HOME=
+
+set _USE_CLASSPATH=yes
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of arguments (up to the command line limit, anyway).
+set ANT_CMD_LINE_ARGS=%1
+if ""%1""=="""" goto doneStart
+shift
+:setupArgs
+if ""%1""=="""" goto doneStart
+if ""%1""==""-noclasspath"" goto clearclasspath
+set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
+shift
+goto setupArgs
+
+rem here is there is a -noclasspath in the options
+:clearclasspath
+set _USE_CLASSPATH=no
+shift
+goto setupArgs
+
+rem This label provides a place for the argument list loop to break out
+rem and for NT handling to skip to.
+
+:doneStart
+rem find ANT_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if exist "%ANT_HOME%\lib\ant.jar" goto checkJava
+
+rem check for ant in Program Files
+if not exist "%ProgramFiles%\ant" goto checkSystemDrive
+set ANT_HOME=%ProgramFiles%\ant
+goto checkJava
+
+:checkSystemDrive
+rem check for ant in root directory of system drive
+if not exist %SystemDrive%\ant\lib\ant.jar goto checkCDrive
+set ANT_HOME=%SystemDrive%\ant
+goto checkJava
+
+:checkCDrive
+rem check for ant in C:\ant for Win9X users
+if not exist C:\ant\lib\ant.jar goto noAntHome
+set ANT_HOME=C:\ant
+goto checkJava
+
+:noAntHome
+echo ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
+goto end
+
+:checkJava
+set _JAVACMD=%JAVACMD%
+
+if "%JAVA_HOME%" == "" goto noJavaHome
+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
+if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe
+goto checkJikes
+
+:noJavaHome
+if "%_JAVACMD%" == "" set _JAVACMD=java.exe
+
+:checkJikes
+if not "%JIKESPATH%"=="" goto runAntWithJikes
+
+:runAnt
+if "%_USE_CLASSPATH%"=="no" goto runAntNoClasspath
+if not "%CLASSPATH%"=="" goto runAntWithClasspath
+"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
+goto end
+
+:runAntNoClasspath
+"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
+goto end
+
+:runAntWithClasspath
+"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
+goto end
+
+:runAntWithJikes
+if "%_USE_CLASSPATH%"=="no" goto runAntWithJikesNoClasspath
+if not "%CLASSPATH%"=="" goto runAntWithJikesAndClasspath
+
+:runAntWithJikesNoClasspath
+"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS%
+goto end
+
+:runAntWithJikesAndClasspath
+"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
+goto end
+
+:end
+set _JAVACMD=
+set ANT_CMD_LINE_ARGS=
+
+if "%OS%"=="Windows_NT" @endlocal
+if "%OS%"=="WINNT" @endlocal
+
+:mainEnd
+if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat"
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/bin/ant.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/antRun
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/antRun (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/antRun 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+#
+# Copyright 2001-2002,2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# Args: DIR command
+cd "$1"
+CMD="$2"
+shift
+shift
+
+exec "$CMD" "$@"
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/antRun.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/antRun.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/antRun.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,47 @@
+ at echo off
+
+REM
+REM Copyright 2001-2002,2004-2005 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM
+REM
+
+if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="WINNT" @setlocal
+
+if ""%1""=="""" goto runCommand
+
+rem Change drive and directory to %1
+if "%OS%"=="Windows_NT" cd /d ""%1""
+if not "%OS%"=="Windows_NT" cd ""%1""
+shift
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of agruments (up to the command line limit, anyway).
+set ANT_RUN_CMD=%1
+if ""%1""=="""" goto runCommand
+shift
+:loop
+if ""%1""=="""" goto runCommand
+set ANT_RUN_CMD=%ANT_RUN_CMD% %1
+shift
+goto loop
+
+:runCommand
+rem echo %ANT_RUN_CMD%
+%ANT_RUN_CMD%
+
+if "%OS%"=="Windows_NT" @endlocal
+if "%OS%"=="WINNT" @endlocal
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/bin/antRun.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/antx.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/antx.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/antx.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,6 @@
+ at echo off
+ at setlocal
+set CLASSPATH=%~dp0..\lib\ant.jar;%CLASSPATH%
+java org.apache.tools.ant.Launcher %*
+rem java -jar %ANT_HOME%\lib\ant.jar org.apache.tools.ant.Launcher
+ at endlocal
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/bin/antx.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/bin/lcp.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/bin/lcp.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/bin/lcp.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,30 @@
+REM
+REM Copyright 2001-2004 The Apache Software Foundation
+REM
+REM Licensed under the Apache License, Version 2.0 (the "License");
+REM you may not use this file except in compliance with the License.
+REM You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM
+REM
+
+set _CLASSPATHCOMPONENT=%1
+if ""%1""=="""" goto gotAllArgs
+shift
+
+:argCheck
+if ""%1""=="""" goto gotAllArgs
+set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
+shift
+goto argCheck
+
+:gotAllArgs
+set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/bin/lcp.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/aliases.ent
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/aliases.ent (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/aliases.ent 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,97 @@
+<!-- list of aliases used to bridge gap between buildmagic defs and jbossbuild -->
+
+
+<path id="apache.commons.classpath">
+ <pathelement path="${apache.collections.lib}/commons-collections.jar"/>
+ <pathelement path="${apache.logging.lib}/commons-logging.jar"/>
+ <pathelement path="${apache.httpclient.lib}/commons-httpclient.jar"/>
+ <pathelement path="${apache.pool.lib}/commons-pool.jar"/>
+ <pathelement path="${apache.discovery.lib}/commons-discovery.jar"/>
+ <pathelement path="${apache.fileupload.lib}/commons-fileupload.jar"/>
+ <pathelement path="${apache.lang.lib}/commons-lang-2.0.jar"/>
+</path>
+
+<path id="sax.classpath">
+ <pathelement path="${xml-sax.classpath}"/>
+</path>
+
+<property name="xdoclet-xdoclet.lib" value="${xdoclet.xdoclet.lib}"/>
+<path id="xdoclet.task.classpath">
+ <path refid="xdoclet.xdoclet.classpath"/>
+</path>
+
+<property name="gjt.jpl-util.lib" value="${gjt.jpl.util.lib}"/>
+<path id="gjt.jpl-util.classpath">
+ <path refid="gjt.jpl.util.classpath"/>
+</path>
+
+<property name="opennms.joesnmp.lib" value="${joesnmp.joesnmp.lib}"/>
+<path id="opennms.joesnmp.classpath">
+ <path refid="joesnmp.joesnmp.classpath"/>
+</path>
+
+<path id="jacorb.idl.classpath">
+ <path refid="apache.avalon.logkit.classpath"/>
+ <pathelement path="${jacorb.jacorb.lib}/idl.jar"/>
+</path>
+
+<property name="jacorb.idl.include" value="${jacorb.jacorb.resources}"/>
+<property name="jacorb.jacorb.properties" value="${jacorb.jacorb.resources}"/>
+
+<property name="sleepycat.lib" value="${sleepycat.sleepycat.lib}"/>
+<path id="sleepycat.classpath">
+ <path refid="sleepycat.sleepycat.classpath"/>
+</path>
+
+<property name="apache.tomcat55.root" value="${apache.tomcat.root}"/>
+<property name="apache.tomcat55.lib" value="${apache.tomcat.lib}"/>
+<path id="apache.tomcat55.classpath">
+ <path refid="apache.tomcat.classpath"/>
+</path>
+
+<property name="trove.lib" value="${trove.trove.lib}"/>
+<path id="trove.classpath">
+ <path refid="trove.trove.classpath"/>
+</path>
+
+<path id="qdox.classpath">
+ <path refid="qdox.qdox.classpath"/>
+</path>
+
+<property name="javassist.lib" value="${javassist.javassist.lib}"/>
+<path id="javassist.classpath">
+ <path refid="javassist.javassist.classpath"/>
+</path>
+
+<property name="hibernate.lib" value="${hibernate.hibernate.lib}"/>
+<path id="hibernate3.classpath">
+ <path refid="hibernate.hibernate.classpath"/>
+</path>
+
+<property name="odmg.lib" value="${odmg.odmg.lib}"/>
+<path id="odmg.classpath">
+ <path refid="odmg.odmg.classpath"/>
+</path>
+
+<property name="cglib.lib" value="${cglib.cglib.lib}"/>
+<path id="cglib.classpath">
+ <path refid="cglib.cglib.classpath"/>
+</path>
+
+<path id="ejb3-persistence.classpath">
+ <path refid="hibernate.annotations.classpath"/>
+ <path refid="hibernate.entitymanager.classpath"/>
+</path>
+
+<property name="spring.lib" value="${spring.spring.lib}"/>
+<path id="spring.classpath">
+ <path refid="spring.spring.classpath"/>
+</path>
+
+<!-- Ant -->
+<property name="apache.ant.root" value="${project.tools}"/>
+<property name="apache.ant.lib" value="${apache.ant.root}/lib"/>
+<path id="apache.ant.classpath">
+ <pathelement path="${apache.ant.lib}/ant.jar"/>
+</path>
+
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/aliases.ent
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/autoload.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/autoload.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/autoload.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,42 @@
+### ====================================================================== ###
+## ##
+## BuildMagic tasks which will be autoloaded. ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+### Stuff that glues things together ###
+
+resolveproperties=org.jboss.tools.buildmagic.task.ResolveProperties
+resolver=org.jboss.tools.buildmagic.task.ResolveProperties
+propertyfilter=org.jboss.tools.buildmagic.task.PropertyFilter
+require=org.jboss.tools.buildmagic.task.Require
+call=org.jboss.tools.buildmagic.task.CallTarget
+Ant=org.jboss.tools.buildmagic.task.Ant
+
+### Project/Module tasks ###
+
+execmodules=org.jboss.tools.buildmagic.task.module.ExecuteModules
+projectinfo=org.jboss.tools.buildmagic.task.module.ProjectInfo
+moduleinfo=org.jboss.tools.buildmagic.task.module.ModuleInfo
+moduleconfig=org.jboss.tools.buildmagic.task.module.ModuleConfig
+moduleinit=org.jboss.tools.buildmagic.task.module.ModuleInit
+
+### Configuration Helpers ###
+library=org.jboss.tools.buildmagic.task.config.Library
+modulelibrary=org.jboss.tools.buildmagic.task.config.ModuleLibrary
+libraryset=org.jboss.tools.buildmagic.task.config.LibrarySet
+
+### Misc ###
+
+projecthelp=org.jboss.tools.buildmagic.task.ProjectHelp
+_puke=org.jboss.tools.buildmagic.task.util.Puke
+_dump=org.jboss.tools.buildmagic.task.util.Dump
+
+### Unused ??? ###
+
+#set=org.jboss.tools.buildmagic.task.Set
+#unset=org.jboss.tools.buildmagic.task.Unset
+#appendpath=org.jboss.tools.buildmagic.task.AppendPath
+#findroot=org.jboss.tools.buildmagic.task.FindRoot
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/autoload.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/build-common.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/build-common.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/build-common.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,912 @@
+<project name="common tasks">
+
+ <!-- Make sure we have the right version of Ant -->
+ <property name="buildmagic.ant16.baseversion" value="1.6"/>
+
+ <!--
+ | Add new conditions for other supported Ant versions when they
+ | become avaialble.
+ -->
+
+ <condition property="buildmagic.ant.compatible">
+ <or>
+ <contains string="${ant.version}"
+ substring="Ant version ${buildmagic.ant16.baseversion}"/>
+ </or>
+ </condition>
+
+ <fail unless="buildmagic.ant.compatible">
+ Unsupported Ant version:
+ ${ant.version}
+ Please install a version which is compatible with Ant ${buildmagic.ant16.baseversion}.
+ </fail>
+
+ <!-- JDK Detection -->
+ <available classname="java.lang.StrictMath" property="HAVE_JDK_1.3"/>
+ <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
+ <available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>
+
+ <fail unless="HAVE_JDK_1.4">
+ Unsupported Java version: You need at least JDK1.4 to build JBoss5
+ </fail>
+
+ <!--JDK Vendor Detection -->
+ <condition property="IBM_JDK">
+ <not>
+ <available classname="com.sun.net.ssl.internal.ssl.Provider"/>
+ </not>
+ </condition>
+
+ <!-- Define the environment varaible. This needs to be first. -->
+ <property environment="env"/>
+
+ <!-- Setup the project environment. -->
+ <dirname property="project.root" file="${basedir}"/>
+ <property name="project.build" value="${project.root}/build"/>
+ <property name="project.tools" value="${project.root}/tools"/>
+ <property name="project.thirdparty" value="${project.root}/thirdparty"/>
+
+ <!-- Setup the module environment. -->
+ <property name="module.root" value="${basedir}"/>
+ <property file="${module.root}/local.properties"/>
+ <property name="module.source" value="${module.root}/src"/>
+ <property name="module.output" value="${module.root}/output"/>
+ <property name="module.tools" value="${module.root}/tools"/>
+ <property name="module.thirdparty" value="${module.root}/thirdparty"/>
+
+ <!-- Load Buildmagic extention tasks. -->
+ <property name="buildmagic.local.classpath" value="."/>
+ <path id="buildmagic.task.classpath">
+ <fileset dir="${project.tools}/lib">
+ <include name="*"/>
+ </fileset>
+ <pathelement location="${project.tools}/lib"/>
+ <pathelement location="${project.tools}/etc"/>
+ <pathelement location="${project.tools}"/>
+ <pathelement path="${buildmagic.local.classpath}"/>
+ </path>
+
+ <!-- Include user and project property overrides. -->
+ <import file="version-info.xml" />
+ <property file="${project.build}/local.properties"/>
+
+ <available file="${module.root}/etc/local.properties-example"
+ property="init.have-local-properties"/>
+
+ <!-- Load common properties -->
+ <property file="${project.tools}/etc/buildmagic/common.properties"/>
+
+ <!-- Load common task properties -->
+ <property file="${project.tools}/etc/buildmagic/task.properties"/>
+
+ <!-- Marker to disable build -->
+ <property name="build-bypass.marker" value="${module.output}/build-marker"/>
+
+ <!-- Marker to disable mbeans -->
+ <property name="mbean-bypass.marker" value="${module.output}/mbean-marker"/>
+
+
+<!-- Initialize the build.log -->
+<target name="_buildmagic:init:buildlog">
+ <property name="buildlog.level" value="info"/>
+ <record name="${basedir}/build.log" append="no" loglevel="${buildlog.level}"/>
+ <property name="init-buildlog.disable" value="true" system="true"/>
+</target>
+
+<!-- Show the running environment if -Dinit.verbose=true -->
+<target name="_buildmagic:init:show-environment">
+ <echo><![CDATA[
+project.root: ${project.root}
+module.root: ${module.root}
+user.home: ${user.home}
+build.compiler: ${build.compiler}
+java.home: ${java.home}
+java.class.path: ${java.class.path}
+java.version: ${java.version}
+java.vendor: ${java.vendor}
+java.vm.version: ${java.vm.version}
+java.vm.name: ${java.vm.name}
+java.vm.info: ${java.vm.info}
+os.name: ${os.name}
+os.arch: ${os.arch}
+os.version: ${os.version}
+]]></echo>
+</target>
+
+<!-- ================================================================== -->
+<!-- Build Bypass -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:build-bypass-checker" unless="build-bypass.disabled">
+
+ <uptodate property="build-bypass.on" targetfile="${build-bypass.marker}">
+ <srcfiles dir="${module.source}" includes="**/*"/>
+ <srcfiles dir="${module.root}" includes="build.xml,local.properties"/>
+ <srcfiles dir="${project.root}" includes="build/build.xml,build/local.properties"/>
+ <srcfiles dir="${project.thirdparty}" includes="**/*"/>
+ <srcfiles dir="${project.tools}" includes="**/*"/>
+ </uptodate>
+
+</target>
+
+<target name="_buildmagic:build-bypass-notice" if="build-bypass.on">
+ <echo>
+Build disabled because module is already built. To force the module
+to build define build-bypass.disabled=true.
+ </echo>
+</target>
+
+<target name="_buildmagic:build-bypass-check" depends="_buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice"/>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_buildmagic:clean">
+ <available file="${module.output}" property="module.output.present"/>
+ <antcall target="_buildmagic:clean-internal"/>
+</target>
+
+<!-- Actuall cleanup, fails if ${module.output} is missing -->
+<target name="_buildmagic:clean-internal" if="module.output.present">
+ <delete includeEmptyDirs="true">
+ <fileset dir="${module.output}">
+ <exclude name="eclipse-classes/**"/>
+ </fileset>
+ </delete>
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_buildmagic:clobber">
+ <delete file="${module.root}/local.properties"/>
+ <delete dir="${module.output}"/>
+
+ <!-- Try to stop the build log before we delete the file. -->
+ <record name="${module.root}/build.log" action="stop"/>
+
+ <!--
+ | This file may be opened still due and fail to be removed on win32
+ | systems, so lets just ignore those errors for now.
+ -->
+ <delete file="${module.root}/build.log" quiet="true" failonerror="false"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Help -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:help:standard">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+<target name="_buildmagic:help:build">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -Dgroups=<group>[(,<group>)*] Specify the module groups.
+ -Dmodules=<module>[(,<module>)*] Specify the modules.
+ (overrides groups).
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Release -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:release:zip">
+ <zip zipfile="${module.output}/${release.id}.zip">
+ <fileset dir="${module.output}">
+ <include name="${release.id}/**"/>
+ </fileset>
+ </zip>
+</target>
+
+<target name="_buildmagic:release:tar">
+ <tar tarfile="${module.output}/${release.id}.tar" longfile="gnu"
+ basedir="${module.output}"
+ includes="${release.id}/**">
+ </tar>
+</target>
+
+<target name="_buildmagic:release:tgz" depends="_buildmagic:release:tar">
+ <gzip src="${module.output}/${release.id}.tar"
+ zipfile="${module.output}/${release.id}.tgz"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Install -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:install:default">
+ <!-- Copy the output directory to the install directory -->
+ <mkdir dir="${install.root}"/>
+ <copy todir="${install.root}" filtering="no">
+ <fileset dir="${module.output}">
+ <include name="**/*"/>
+ <exclude name="${install.id}/**"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- ================================================================== -->
+<!-- Initialization -->
+<!-- ================================================================== -->
+
+<!-- ================================================================== -->
+<!-- Tasks -->
+<!-- ================================================================== -->
+
+<target name="_default:task-init">
+
+ <!-- Where source files live -->
+ <property name="source.java" value="${module.source}/main"/>
+ <property name="source.etc" value="${module.source}/etc"/>
+ <property name="source.bin" value="${module.source}/bin"/>
+ <property name="source.docs" value="${module.source}/docs"/>
+ <property name="source.resources" value="${module.source}/resources"/>
+ <property name="source.examples" value="${module.source}/examples"/>
+
+ <!-- Where build generated files will go -->
+ <property name="build.classes" value="${module.output}/classes"/>
+ <property name="build.lib" value="${module.output}/lib"/>
+ <property name="build.api" value="${module.output}/api"/>
+ <property name="build.etc" value="${module.output}/etc"/>
+ <property name="build.bin" value="${module.output}/bin"/>
+ <property name="build.docs" value="${module.output}/docs"/>
+ <property name="build.parsers" value="${module.output}/gen-parsers"/>
+ <property name="build.resources" value="${module.output}/resources"/>
+ <property name="build.examples" value="${module.output}/examples"/>
+ <property name="build.reports" value="${module.output}/reports"/>
+ <property name="build.gen" value="${module.output}/gen"/>
+ <property name="build.gen-src" value="${module.output}/gen-src"/>
+ <property name="build.todo" value="${module.output}/todo"/>
+
+ <!-- Install/Release structure -->
+ <property name="install.id" value="${module.name}-${module.version}"/>
+ <property name="release.id" value="${install.id}"/>
+ <property name="install.root" value="${module.output}/${install.id}"/>
+
+ <!-- The combined thirdparty classpath -->
+ <path id="thirdparty.classpath">
+ <path refid="library.classpath"/>
+ <path refid="dependentmodule.classpath"/>
+ </path>
+
+ <!-- This module is based on Java 1.4 -->
+ <property name="javac.target" value="1.4"/>
+ <property name="javac.source" value="1.4"/>
+
+ <!-- RMIC should generate stubs compatible with Java 1.2+ -->
+ <property name="rmic.stubVersion" value="1.2"/>
+
+ <!-- classpath and local.classpath must have a value using with a path -->
+ <property name="classpath" value=""/>
+ <property name="local.classpath" value=""/>
+
+ <!-- The classpath required to build classes. -->
+ <path id="javac.classpath">
+ <pathelement path="${classpath}"/>
+ <pathelement path="${local.classpath}"/>
+ <path refid="thirdparty.classpath"/>
+ </path>
+
+ <!-- The classpath required to build javadocs. -->
+ <path id="javadoc.classpath">
+ <path refid="javac.classpath"/>
+ </path>
+
+ <!-- The default prefix -->
+ <property name="jar.prefix" value="jboss-${module.name}"/>
+
+ <!-- The default server and client jar name -->
+ <property name="jar.server.name" value="${jar.prefix}.jar"/>
+ <property name="jar.client.name" value="${jar.prefix}-client.jar"/>
+
+ <!-- Packages to include when generating api documentation -->
+ <property name="javadoc.packages" value="org.jboss.*"/>
+</target>
+
+<!-- ================================================================== -->
+<!-- Compile -->
+<!-- ================================================================== -->
+
+<!-- Compile all class files -->
+<target name="_default:compile-classes" unless="compile.disable">
+ <mkdir dir="${build.classes}"/>
+
+ <!-- Hack, required to avoid duplicate javac targets -->
+ <mkdir dir="${build.gen-src}"/>
+
+ <javac destdir="${build.classes}"
+ optimize="${javac.optimize}"
+ target="${javac.target}"
+ source="${javac.source}"
+ debug="${javac.debug}"
+ depend="${javac.depend}"
+ verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}"
+ includeAntRuntime="${javac.include.ant.runtime}"
+ includeJavaRuntime="${javac.include.java.runtime}"
+ failonerror="${javac.fail.onerror}">
+ <src path="${source.java}:${build.gen-src}"/>
+ <classpath refid="javac.classpath"/>
+ <include name="${javac.includes}"/>
+ <exclude name="${javac.excludes}"/>
+ </javac>
+</target>
+
+<!--
+ | Compile mbeans
+ -->
+
+<target name="_buildmagic:mbean-bypass-checker" unless="mbean-bypass.disabled">
+
+ <uptodate property="mbean-bypass.on" targetfile="${mbean-bypass.marker}">
+ <srcfiles dir="${module.source}" includes="${mbean.includes}"/>
+ </uptodate>
+
+</target>
+<target name="_default:compile-mbean-sources"
+ depends="_buildmagic:mbean-bypass-checker"
+ unless="mbean-bypass.on">
+
+ <taskdef name="jmxdoclet"
+ classname="xdoclet.modules.jmx.JMXDocletTask"
+ classpathref="xdoclet.task.classpath"/>
+
+ <mkdir dir="${build.gen-src}"/>
+
+ <jmxdoclet destdir="${build.gen-src}"
+ excludedtags="@version, at author">
+ <fileset dir="${source.java}"
+ includes="${mbean.includes}"/>
+ <mbeaninterface mergedir="${project.tools}/etc/xdoclet/templates"/>
+ </jmxdoclet>
+
+ <touch file="${mbean-bypass.marker}"/>
+</target>
+
+<!-- Compile all module test class files -->
+<target name="_default:compile-test-classes" unless="compile.disable">
+
+ <mkdir dir="${build.test}"/>
+
+ <!-- Hack, required to avoid duplicate javac targets -->
+ <mkdir dir="${build.gen.test}"/>
+
+ <javac destdir="${build.test}"
+ optimize="${javac.optimize}"
+ target="${javac.target}"
+ source="${javac.source}"
+ debug="${javac.debug}"
+ depend="${javac.depend}"
+ verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}"
+ includeAntRuntime="${javac.include.ant.runtime}"
+ includeJavaRuntime="${javac.include.java.runtime}"
+ failonerror="${javac.fail.onerror}">
+ <src path="${source.test}:${build.gen.test}"/>
+ <classpath>
+ <path refid="javac.classpath"/>
+ <pathelement location="${build.classes}"/>
+ </classpath>
+ <include name="${javac.includes}"/>
+ <exclude name="${javac.excludes}"/>
+ </javac>
+</target>
+
+<!-- Compile manifests -->
+<target name="_default:compile-etc" unless="compile.disable">
+ <mkdir dir="${build.etc}"/>
+ <copy todir="${build.etc}" filtering="yes">
+ <fileset dir="${source.etc}">
+ <include name="**"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- Compile resource files -->
+<target name="_default:compile-resources" unless="compile.disable">
+ <mkdir dir="${build.resources}"/>
+ <copy todir="${build.resources}" filtering="yes">
+ <fileset dir="${source.resources}">
+ <patternset refid="compile-resources.filter.pattern"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.resources}" filtering="no">
+ <fileset dir="${source.resources}">
+ <patternset refid="compile-resources.pattern"/>
+ </fileset>
+ </copy>
+</target>
+
+<patternset id="compile-resources.filter.pattern">
+ <include name="**/*"/>
+</patternset>
+
+<patternset id="compile-resources.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<!-- Compile stylesheets files -->
+<target name="_default:compile-stylesheets" unless="compile.disable">
+ <mkdir dir="${build.stylesheets}"/>
+ <copy todir="${build.stylesheets}" filtering="yes">
+ <fileset dir="${source.stylesheets}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- Compile bin scripts -->
+<target name="_default:compile-bin" unless="compile.disable">
+ <mkdir dir="${build.bin}"/>
+ <copy todir="${build.bin}" filtering="yes">
+ <fileset dir="${source.bin}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+</target>
+
+<target name="_default:fix-bin">
+ <fixcrlf srcdir="${build.bin}"
+ eol="lf" eof="remove"
+ includes="**/*.sh, **/*.conf"/>
+
+ <fixcrlf srcdir="${build.bin}"
+ eol="crlf" eof="remove"
+ includes="**/*.bat, **/*.cmd"/>
+
+ <chmod perm="+x">
+ <fileset dir="${build.bin}">
+ <include name="**/*.sh"/>
+ </fileset>
+ </chmod>
+</target>
+
+<target name="_default:compile-web" unless="compile.disable">
+ <mkdir dir="${build.web}"/>
+ <copy todir="${build.web}" filtering="yes">
+ <fileset dir="${source.web}">
+ <patternset refid="compile-web.filter.pattern"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.web}" filtering="no">
+ <fileset dir="${source.web}">
+ <patternset refid="compile-web.pattern"/>
+ </fileset>
+ </copy>
+</target>
+
+<patternset id="compile-web.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<patternset id="compile-web.filter.pattern">
+ <include name="**/*"/>
+</patternset>
+
+<target name="_default:compile-checksums" unless="compile.disable">
+ <checksum>
+ <fileset dir="${build.lib}">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ </checksum>
+</target>
+
+<!-- Compile RMI stubs -->
+<target name="_default:compile-rmi" unless="compile.disable">
+ <rmic base="${build.classes}"
+ verify="${rmic.verify}"
+ iiop="${rmic.iiop}"
+ iiopopts="${rmic.iiopops}"
+ idl="${rmic.idl}"
+ idlopts="${rmic.idlops}"
+ debug="${rmic.debug}"
+ stubVersion="${rmic.stubVersion}">
+ <classpath refid="javac.classpath"/>
+ <patternset refid="compile-rmi.pattern"/>
+ </rmic>
+</target>
+
+<patternset id="compile-rmi.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<!-- ================================================================== -->
+<!-- Jars -->
+<!-- ================================================================== -->
+
+<target name="_default:server-client-jars">
+
+ <!-- Build the server jar -->
+ <jar jarfile="${build.lib}/${jar.server.name}"
+ manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}"
+ includes="${jar.server.includes}"/>
+ </jar>
+
+ <!-- Build jbossmq-client.jar -->
+ <jar jarfile="${build.lib}/${jar.client.name}"
+ manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}"
+ includes="${jar.client.includes}"/>
+ </jar>
+
+</target>
+
+<!-- ================================================================== -->
+<!-- Documents -->
+<!-- ================================================================== -->
+
+<target name="docs" description="Builds all documentation."
+ depends="docs-api, docs-todo"/>
+
+<!-- ======== -->
+<!-- JavaDocs -->
+<!-- ======== -->
+
+
+<target name="docs-javadocs-check">
+
+ <!-- if index.html is newer than the sources we are up to date -->
+ <uptodate property="docs-javadocs.disable"
+ targetfile="${build.api}/index.html">
+ <srcfiles dir="${source.java}" includes="**/*.java"/>
+ </uptodate>
+</target>
+ <!-- Generate Javadoc if we are out of date -->
+<target name="docs-javadocs"
+ depends="docs-javadocs-check"
+ unless="docs-javadocs.disable">
+
+ <mkdir dir="${build.api}"/>
+ <mkdir dir="${module.output}/gen-src"/>
+ <javadoc packagenames="${javadoc.packages}"
+ sourcepath="${source.java}:${module.output}/gen-src"
+ destdir="${build.api}"
+ classpathref="javadoc.classpath"
+ windowtitle="${javadoc.windowtitle}"
+ splitindex="${javadoc.splitindex}"
+ author="${javadoc.author}"
+ version="${javadoc.version}"
+ public="${javadoc.public}"
+ package="${javadoc.package}"
+ protected="${javadoc.protected}"
+ private="${javadoc.private}"
+ use="${javadoc.use}"
+ verbose="${javadoc.verbose}">
+ <doctitle><![CDATA[<h1>${module.Name} API Documentation</h1>]]></doctitle>
+ <bottom><![CDATA[
+ <i>
+ <div align="center">
+ <font size="-1">Copyright © 2002 JBoss Group, LLC. All Rights Reserved.</font>
+ </div>
+ </i>
+ ]]></bottom>
+
+ <!--
+ <link href="http://java.sun.com/j2se/1.3/docs/api"/>
+ -->
+
+ <!-- Added links and tags by Yanik Crepeau <yanik at exScriptis.com> 2003-05-13 -->
+ <!--Thes tag declarations will shut down the Unknown tag warning during the javadoc process -->
+ <link href="http://java.sun.com/j2se/1.4.1/docs/api/"/>
+ <tag name="ejb.interface-method" description="ejb interface method delcaration" enabled="false" />
+ <tag name="ejb.persistence" description="ejb persistence declaration" enabled="false" />
+ <tag name="ejb.pk-field" description="ejb primary-key field declaration" enabled="false" />
+ <tag name="ejb.pk" description="ejb" enabled="false" />
+ <tag name="ejb.bean" description="ejb" enabled="false" />
+ <tag name="ejb.transaction" description="ejb" enabled="false" />
+ <tag name="ejb.finder" description="ejb" enabled="false" />
+ <tag name="ejb.relation" description="ejb" enabled="false" />
+ <tag name="ejb.create-method" description="ejb" enabled="false" />
+
+ <tag name="jboss.query" description="jboss" enabled="false" />
+ <tag name="jboss.lazy-load-group" description="jboss" enabled="false" />
+ <tag name="jboss.load-group" description="jboss" enabled="false" />
+ <tag name="jboss.persistence" description="jboss" enabled="false" />
+ <tag name="jboss.entity-command" description="jboss" enabled="false" />
+ <tag name="jboss.method-attribute" description="jboss" enabled="false" />
+ <tag name="jboss.relation" description="jboss" enabled="false" />
+ <tag name="jboss.method-attribute" description="jboss" enabled="false" />
+ <tag name="jboss.relation-read-ahead" description="jboss" enabled="false" />
+ <tag name="jboss.relation-table" description="jboss" enabled="false" />
+ <tag name="jboss.table-attribute" description="jboss" enabled="false" />
+
+ <tag name="jmx.managed-attribute" description="jmx" enabled="false" />
+ <tag name="jmx.managed-constructor" description="jmx" enabled="false" />
+ <tag name="jboss.method-attributes" description="jboss" enabled="false" />
+
+ </javadoc>
+</target>
+
+
+<target name="docs-api" depends="docs-javadocs"/>
+
+<target name="javadocs" depends="docs-javadocs"/>
+
+<!-- ========= -->
+<!-- TODO Docs -->
+<!-- ========= -->
+<target name="xdoclet-task-classpath-check" unless="xdoclet.task.classpath">
+ <path id="xdoclet.task.classpath">
+ <path refid="xdoclet.base.classpath"/>
+ <path refid="apache.commons.classpath"/>
+ <path refid="javac.classpath" />
+ </path>
+ <property name="xdoclet.task.classpath"
+ refid="xdoclet.task.classpath"/>
+</target>
+
+<target name="docs-todo-check">
+ <!-- if index.html is newer than the sources we are up to date -->
+ <uptodate property="docs-todo.disable"
+ targetfile="${build.todo}/index.html">
+ <srcfiles dir="${source.java}" includes="**/*.java"/>
+ </uptodate>
+ </target>
+
+ <!-- Generate TODO list from @todo tags -->
+ <target name="docs-todo"
+ depends="docs-todo-check"
+ unless="docs-todo.disable">
+
+ <taskdef name="todo"
+ classname="xdoclet.modules.doc.DocumentDocletTask"
+ classpath="${xdoclet.task.classpath}"/>
+ <mkdir dir="${build.todo}"/>
+ <todo destdir="${build.todo}">
+ <fileset dir="${source.java}">
+ <include name="**/*.java"/>
+ </fileset>
+
+ <info/>
+ </todo>
+</target>
+
+<target name="todo" depends="docs-todo"/>
+
+<!-- ============== -->
+<!-- JMX MBean Docs -->
+<!-- ============== -->
+
+ <target name="jmx-docs">
+ <taskdef name="jmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask" classpathref="xdoclet.task.classpath"/>
+
+ <mkdir dir="${build.jmx-doc}"/>
+ <jmxdoclet
+ destdir="${build.jmx-doc}"
+ force="false"
+ excludedtags="@version, at author">
+ <fileset dir="${source.java}">
+ <include name="**/*.java"/>
+ </fileset>
+ <jbossXmlDoc/>
+ </jmxdoclet>
+
+ </target>
+
+ <!-- Generate the plain HTML jmx docs -->
+ <target name="jmx-docs-html-plain" depends="jmx-docs">
+
+
+ <!-- Force the use of SAXON XSLT -->
+ <property system="true"
+ name="javax.xml.transform.TransformerFactory"
+ value="com.icl.saxon.TransformerFactoryImpl"/>
+
+ <mkdir dir="${build.jmx-api}"/>
+ <style style="${project.thirdparty}/oasis/docbook-xsl/html/docbook.xsl"
+ processor="trax"
+ extension=".html"
+ basedir="${build.jmx-doc}"
+ destdir="${build.jmx-api}">
+ <include name="**/*.xml"/>
+ <param name="quiet" expression="${oasis.docbook.xsl.chunker.quiet}"/>
+ <param name="base.dir" expression="${build.jmx-api}${file.separator}"/>
+ </style>
+
+ </target>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_default:clean"
+ depends="_buildmagic:clean">
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_default:clobber"
+ depends="_buildmagic:clobber, clean">
+</target>
+
+<!-- ================================================================== -->
+<!-- Install & Release -->
+<!-- ================================================================== -->
+
+ <!-- ================================================================== -->
+ <!-- Project (build module) Targets -->
+ <!-- ================================================================== -->
+
+<target name="configure-project" unless="configure-project.disable">
+
+ <!-- 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 '@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>
+
+ <!-- Show the module configuration -->
+ <echo>groups: ${groups}</echo>
+ <echo>modules: ${modules}</echo>
+
+ <property name="configure-project.disable" value="true" system="true"/>
+
+</target>
+
+<!-- ================================================================== -->
+<!-- Module Pass-through Targets -->
+<!-- ================================================================== -->
+
+<!-- Invoke the 'all' on all configured modules -->
+<target name="_buildmagic:modules:all">
+ <execmodules target="all"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'most' on all configured modules -->
+<target name="_buildmagic:modules:most">
+ <execmodules target="most"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'main' on all configured modules -->
+<target name="_buildmagic:modules:main">
+ <execmodules target="main"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'release' on all configured modules -->
+<target name="_buildmagic:modules:release">
+ <execmodules target="release"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'tests' on all configured modules -->
+<target name="_buildmagic:modules:tests">
+ <execmodules target="tests"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ <property name="build.reports" value="${project.root}/testsuite/output/reports"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clean' on all configured modules -->
+<target name="_buildmagic:modules:clean">
+ <execmodules target="clean"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clobber' on all configured modules -->
+<target name="_buildmagic:modules:clobber">
+ <execmodules target="clobber"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/build-common.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/buildmagic.ent
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/buildmagic.ent (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/buildmagic.ent 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,1139 @@
+<!-- $Id$ -->
+
+<!-- ================================================================== -->
+<!-- Initialization -->
+<!-- ================================================================== -->
+
+<!-- Initialize the build system. -->
+<target name="_buildmagic:init" unless="init.disable">
+
+ <!-- Make sure we have the right version of Ant -->
+ <property name="buildmagic.ant15.baseversion" value="1.5"/>
+ <property name="buildmagic.ant16.baseversion" value="1.6"/>
+
+ <!--
+ | Add new conditions for other supported Ant versions when they
+ | become avaialble.
+ -->
+
+ <condition property="buildmagic.ant.compatible">
+ <or>
+ <contains string="${ant.version}"
+ substring="Ant version ${buildmagic.ant15.baseversion}"/>
+ <contains string="${ant.version}"
+ substring="Ant version ${buildmagic.ant16.baseversion}"/>
+ </or>
+ </condition>
+
+ <fail unless="buildmagic.ant.compatible">
+
+ Unsupported Ant version:
+
+ ${ant.version}
+
+ Please install a version which is compatible with Ant ${buildmagic.ant15.baseversion} or ${buildmagic.ant16.baseversion}.
+
+ </fail>
+
+ <!-- JDK Detection -->
+ <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
+ <available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>
+ <fail unless="HAVE_JDK_1.4">
+ Unsupported Java version: You need at least JDK1.4 to build JBoss5
+ </fail>
+
+ <!-- Setup the project environment. -->
+ <dirname property="project.root" file="${basedir}"/>
+ <property name="project.build" value="${project.root}/build"/>
+ <property name="project.tools" value="${project.root}/tools"/>
+ <property name="project.thirdparty" value="${project.root}/thirdparty"/>
+
+ <!-- Setup the module environment. -->
+ <property name="module.root" value="${basedir}"/>
+ <property file="${module.root}/local.properties"/>
+ <property name="module.source" value="${module.root}/src"/>
+ <property name="module.output" value="${module.root}/output"/>
+ <property name="module.tools" value="${module.root}/tools"/>
+ <property name="module.thirdparty" value="${module.root}/thirdparty"/>
+
+ <!-- Load Buildmagic extention tasks. -->
+ <property name="buildmagic.local.classpath" value="."/>
+ <path id="buildmagic.task.classpath">
+ <fileset dir="${project.tools}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <pathelement location="${project.tools}/lib"/>
+ <pathelement location="${project.tools}/etc"/>
+ <pathelement location="${project.tools}"/>
+ <pathelement path="${buildmagic.local.classpath}"/>
+ </path>
+ <taskdef file="${project.tools}/etc/buildmagic/autoload.properties"
+ classpathref="buildmagic.task.classpath"/>
+ <taskdef name="property" classname="org.jboss.tools.buildmagic.task.Property"
+ classpathref="buildmagic.task.classpath"/>
+
+ <path id="retrotranslator.task.classpath">
+ <fileset dir="${project.thirdparty}/retrotranslator/lib">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ <taskdef name="retrotranslator"
+ classname="net.sf.retrotranslator.transformer.RetrotranslatorTask"
+ classpathref="retrotranslator.task.classpath"/>
+
+ <!-- Include user and project property overrides. -->
+ <property file="${project.build}/local.properties"/>
+ <property file="${user.home}/.buildmagic.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <call target="_buildmagic:init:local-properties">
+ <available file="${module.root}/etc/local.properties-example"
+ property="init.have-local-properties"/>
+ </call>
+
+ <!-- Setup the build.log -->
+ <call target="_buildmagic:init:buildlog" unless="init-buildlog.disable"/>
+
+ <!-- Load common properties -->
+ <property file="${project.tools}/etc/buildmagic/common.properties"/>
+
+ <!-- Setup the build timestamp & build identifer properties -->
+ <tstamp>
+ <format property="build.number" pattern="yyyyMMddHHmm"/>
+ <format property="YEAR" pattern="yyyy"/>
+ </tstamp>
+ <property name="build.id" value="${build.number}"/>
+
+ <!-- Version identifiers for the server. -->
+ <property name="version.major" value="5"/>
+ <property name="version.minor" value="0"/>
+ <property name="version.revision" value="0"/>
+ <property name="version.tag" value="Beta"/>
+ <property name="version.name" value="Morpheus"/>
+ <!-- This must be set to the CVS tag for any release -->
+ <property name="version.cvstag" value="HEAD"/>
+
+ <!-- Manifest version info -->
+ <property name="specification.title" value="JBoss"/>
+ <property name="specification.version" value="${version.major}.${version.minor}.${version.revision}.${version.tag}"/>
+ <property name="specification.vendor" value="JBoss (http://www.jboss.org/)"/>
+
+ <property name="implementation.title" value="JBoss [${version.name}]"/>
+ <property name="implementation.url" value="http://www.jboss.org/"/>
+ <property name="implementation.version"
+ value="${version.major}.${version.minor}.${version.revision}.${version.tag} (build: CVSTag=${version.cvstag} date=${build.id})"/>
+ <property name="implementation.vendor" value="JBoss.org"/>
+ <property name="implementation.vendor.id" value="${implementation.url}"/>
+
+ <!-- Invoke the configure task -->
+ <call target="configure" unless="configure.disable"/>
+
+ <!-- Load common task properties -->
+ <property file="${project.tools}/etc/buildmagic/task.properties"/>
+
+ <!-- Marker to disable build -->
+ <property name="build-bypass.marker" value="${module.output}/build-marker"/>
+
+ <!-- Marker to disable mbeans -->
+ <property name="mbean-bypass.marker" value="${module.output}/mbean-marker"/>
+
+ <!-- Install filters -->
+ <propertyfilter all="${buildmagic.propertyfilter.all}"/>
+
+ <call target="_buildmagic:init:show-environment" if="init.verbose"/>
+
+ <!-- Finish up -->
+ <property name="init.disable" value="true"/>
+</target>
+
+<!-- Install the local.properties example if it is there -->
+<target name="_buildmagic:init:local-properties">
+ <!-- Setup the local.properties file as needed -->
+ <copy file="${module.root}/etc/local.properties-example"
+ tofile="${module.root}/local.properties" filtering="yes"/>
+ <property file="${module.root}/local.properties"/>
+</target>
+
+<!-- Initialize the build.log -->
+<target name="_buildmagic:init:buildlog">
+ <property name="buildlog.level" value="info"/>
+ <record name="${basedir}/build.log" append="no" loglevel="${buildlog.level}"/>
+ <property name="init-buildlog.disable" value="true" system="true"/>
+</target>
+
+<!-- Show the running environment if -Dinit.verbose=true -->
+<target name="_buildmagic:init:show-environment">
+ <echo><![CDATA[
+project.root: ${project.root}
+module.root: ${module.root}
+user.home: ${user.home}
+build.compiler: ${build.compiler}
+java.home: ${java.home}
+java.class.path: ${java.class.path}
+java.version: ${java.version}
+java.vendor: ${java.vendor}
+java.vm.version: ${java.vm.version}
+java.vm.name: ${java.vm.name}
+java.vm.info: ${java.vm.info}
+os.name: ${os.name}
+os.arch: ${os.arch}
+os.version: ${os.version}
+ ]]></echo>
+</target>
+
+<!-- ================================================================== -->
+<!-- Build Bypass -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:build-bypass-checker" depends="init" unless="build-bypass.disabled">
+
+ <uptodate property="build-bypass.on" targetfile="${build-bypass.marker}">
+ <srcfiles dir="${module.source}" includes="**/*"/>
+ <srcfiles dir="${module.root}" includes="build.xml,local.properties"/>
+ <srcfiles dir="${project.root}" includes="build/build.xml,build/local.properties"/>
+ <srcfiles dir="${project.thirdparty}" includes="**/*"/>
+ <srcfiles dir="${project.tools}" includes="**/*"/>
+ </uptodate>
+
+</target>
+
+<target name="_buildmagic:build-bypass-notice" if="build-bypass.on">
+ <echo>
+Build disabled because module is already built. To force the module
+to build define build-bypass.disabled=true.
+ </echo>
+</target>
+
+<target name="_buildmagic:build-bypass-check" depends="_buildmagic:build-bypass-checker, _buildmagic:build-bypass-notice"/>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_buildmagic:clean" depends="init">
+ <call target="_buildmagic:clean-internal">
+ <available file="${module.output}" property="module.output.present"/>
+ </call>
+</target>
+
+<!-- Actuall cleanup, fails if ${module.output} is missing -->
+<target name="_buildmagic:clean-internal">
+ <delete includeEmptyDirs="true">
+ <fileset dir="${module.output}">
+ <exclude name="eclipse-classes*/**"/>
+ </fileset>
+ </delete>
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_buildmagic:clobber" depends="init">
+ <delete file="${module.root}/local.properties"/>
+ <delete dir="${module.output}"/>
+
+ <!-- Try to stop the build log before we delete the file. -->
+ <record name="${module.root}/build.log" action="stop"/>
+
+ <!--
+ | This file may be opened still due and fail to be removed on win32
+ | systems, so lets just ignore those errors for now.
+ -->
+ <delete file="${module.root}/build.log" quiet="true" failonerror="false"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Help -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:help:standard" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+ ]]></header>
+ <footer><![CDATA[
+ -projecthelp for all targets
+ -help for full options
+ ]]></footer>
+ </projecthelp>
+</target>
+
+<target name="_buildmagic:help:build" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+ ]]></header>
+ <footer><![CDATA[
+ -Dgroups=<group>[(,<group>)*] Specify the module groups.
+ -Dmodules=<module>[(,<module>)*] Specify the modules.
+ (overrides groups).
+ -projecthelp for all targets
+ -help for full options
+ ]]></footer>
+ </projecthelp>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Release -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:release:zip" depends="init">
+ <zip zipfile="${module.output}/${release.id}.zip">
+ <fileset dir="${module.output}">
+ <include name="${release.id}/**"/>
+ </fileset>
+ </zip>
+</target>
+
+<target name="_buildmagic:release:tar" depends="init">
+ <tar tarfile="${module.output}/${release.id}.tar" longfile="gnu"
+ basedir="${module.output}"
+ includes="${release.id}/**">
+ </tar>
+</target>
+
+<target name="_buildmagic:release:tgz" depends="_buildmagic:release:tar">
+ <gzip src="${module.output}/${release.id}.tar"
+ zipfile="${module.output}/${release.id}.tgz"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Install -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:install:default" depends="init">
+ <!-- Copy the output directory to the install directory -->
+ <mkdir dir="${install.root}"/>
+ <copy todir="${install.root}" filtering="no">
+ <fileset dir="${module.output}">
+ <include name="**/*"/>
+ <exclude name="build-marker"/>
+ <exclude name="classes/**"/>
+ <exclude name="eclipse-classes*/**"/>
+ <exclude name="etc/**"/>
+ <exclude name="gen-src/**"/>
+ <exclude name="mbean-marker"/>
+ <exclude name="resources/**"/>
+ <exclude name="${install.id}/**"/>
+ <exclude name="${install.id}.zip"/>
+ <exclude name="${install.id}.tar"/>
+ <exclude name="${install.id}.tgz"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- ================================================================== -->
+<!-- Initialization -->
+<!-- ================================================================== -->
+
+<!--
+ | Initialize the build system. Must depend on '_buildmagic:init'.
+ | Other targets should depend on 'init' or things will mysteriously fail.
+ -->
+
+<target name="_default:init" unless="init.disable" depends="_buildmagic:init">
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Tasks -->
+<!-- ================================================================== -->
+
+<target name="_default:task-init">
+
+ <!-- Where source files live -->
+ <property name="source.java" value="${module.source}/main"/>
+ <property name="source.etc" value="${module.source}/etc"/>
+ <property name="source.bin" value="${module.source}/bin"/>
+ <property name="source.docs" value="${module.source}/docs"/>
+ <property name="source.resources" value="${module.source}/resources"/>
+ <property name="source.examples" value="${module.source}/examples"/>
+
+ <!-- Where build generated files will go -->
+ <property name="build.classes" value="${module.output}/classes"/>
+ <property name="build.classes.retro.src" value="${build.classes}"/>
+ <property name="build.classes.retro" value="${module.output}/classes-retro"/>
+ <property name="build.lib" value="${module.output}/lib"/>
+ <property name="build.api" value="${module.output}/api"/>
+ <property name="build.etc" value="${module.output}/etc"/>
+ <property name="build.bin" value="${module.output}/bin"/>
+ <property name="build.docs" value="${module.output}/docs"/>
+ <property name="build.parsers" value="${module.output}/gen-parsers"/>
+ <property name="build.resources" value="${module.output}/resources"/>
+ <property name="build.examples" value="${module.output}/examples"/>
+ <property name="build.reports" value="${module.output}/reports"/>
+ <property name="build.gen" value="${module.output}/gen"/>
+ <property name="build.gen-src" value="${module.output}/gen-src"/>
+ <property name="build.todo" value="${module.output}/todo"/>
+
+ <!-- Install/Release structure -->
+ <property name="install.id" value="${module.name}-${module.version}"/>
+ <property name="release.id" value="${install.id}"/>
+ <property name="install.root" value="${module.output}/${install.id}"/>
+
+ <!-- The combined thirdparty classpath -->
+ <path id="thirdparty.classpath">
+ <path refid="library.classpath"/>
+ <path refid="dependentmodule.classpath"/>
+ </path>
+
+ <!-- This module is based on Java 1.4 -->
+ <property name="javac.target" value="1.4"/>
+ <property name="javac.source" value="1.4"/>
+
+ <!-- RMIC should generate stubs compatible with Java 1.2+ -->
+ <property name="rmic.stubVersion" value="1.2"/>
+
+ <!-- classpath and local.classpath must have a value using with a path -->
+ <property name="classpath" value=""/>
+ <property name="local.classpath" value=""/>
+
+ <!-- The classpath required to build classes. -->
+ <path id="javac.classpath">
+ <pathelement path="${classpath}"/>
+ <pathelement path="${local.classpath}"/>
+ <path refid="thirdparty.classpath"/>
+ </path>
+ <!-- The bootstrap classpath used to override jdk classes -->
+ <path id="javac.bootclasspath">
+ <!-- Optional module override boot classpath -->
+ <pathelement path="${local.bootclasspath}"/>
+ <!-- The sun jdk boot classpath property -->
+ <pathelement path="${sun.boot.classpath}"/>
+ </path>
+
+ <!-- The classpath required to build javadocs. -->
+ <path id="javadoc.classpath">
+ <path refid="javac.classpath"/>
+ </path>
+
+ <!-- The default prefix -->
+ <property name="jar.prefix" value="jboss-${module.name}"/>
+
+ <!-- The default server and client jar name -->
+ <property name="jar.server.name" value="${jar.prefix}.jar"/>
+ <property name="jar.client.name" value="${jar.prefix}-client.jar"/>
+
+ <!-- Packages to include when generating api documentation -->
+ <property name="javadoc.packages" value="org.jboss.*"/>
+</target>
+
+<!-- ================================================================== -->
+<!-- Compile -->
+<!-- ================================================================== -->
+
+<!-- Compile all class files -->
+<target name="_default:compile-classes" depends="init" unless="compile.disable">
+ <mkdir dir="${build.classes}"/>
+
+ <!-- Hack, required to avoid duplicate javac targets -->
+ <mkdir dir="${build.gen-src}"/>
+
+ <!-- Remove classes which depend on changed files, so they will rebuild. -->
+ <depend srcdir="${source.java}:${build.gen-src}"
+ destdir="${build.classes}"
+ dump="${javac.depend.dump}"
+ closure="${javac.depend.closure}">
+ <include name="${javac.includes}"/>
+ <exclude name="${javac.excludes}"/>
+ </depend>
+
+ <javac destdir="${build.classes}"
+ optimize="${javac.optimize}"
+ target="${javac.target}"
+ source="${javac.source}"
+ debug="${javac.debug}"
+ depend="${javac.depend}"
+ verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}"
+ includeAntRuntime="${javac.include.ant.runtime}"
+ includeJavaRuntime="${javac.include.java.runtime}"
+ includes="${javac.includes}"
+ excludes="${javac.excludes}"
+ failonerror="${javac.fail.onerror}">
+ <bootclasspath>
+ <path refid="javac.bootclasspath"/>
+ </bootclasspath>
+ <src path="${source.java}:${build.gen-src}"/>
+ <classpath refid="javac.classpath"/>
+ </javac>
+</target>
+
+<!--
+ | Compile mbeans
+ -->
+
+<target name="_buildmagic:mbean-bypass-checker" depends="init" unless="mbean-bypass.disabled">
+ <uptodate property="mbean-bypass.on" targetfile="${mbean-bypass.marker}">
+ <srcfiles dir="${source.java}" includes="${mbean.includes}"/>
+ </uptodate>
+
+</target>
+<target name="_default:compile-mbean-sources"
+ depends="_buildmagic:mbean-bypass-checker"
+ unless="mbean-bypass.on">
+
+ <taskdef name="jmxdoclet"
+ classname="xdoclet.modules.jmx.JMXDocletTask"
+ classpathref="xdoclet.task.classpath"/>
+
+ <mkdir dir="${build.gen-src}"/>
+
+ <jmxdoclet destdir="${build.gen-src}"
+ excludedtags="@version, at author">
+ <fileset dir="${source.java}"
+ includes="${mbean.includes}"/>
+ <mbeaninterface mergedir="${project.tools}/etc/xdoclet/templates"/>
+ </jmxdoclet>
+
+ <touch file="${mbean-bypass.marker}"/>
+</target>
+<target name="_default:compile-xmbean-sources"
+ depends="_buildmagic:mbean-bypass-checker"
+ unless="mbean-bypass.on">
+
+ <taskdef name="jmxdoclet"
+ classname="xdoclet.modules.jmx.JMXDocletTask"
+ classpathref="xdoclet.task.classpath"/>
+
+ <mkdir dir="${build.gen-src}"/>
+
+ <jmxdoclet destdir="${build.gen-src}"
+ excludedtags="@version, at author">
+ <fileset dir="${source.java}"
+ includes="${mbean.includes}"/>
+ <mbeaninterface mergedir="${project.tools}/etc/xdoclet/templates"/>
+ <jbossxmbean/>
+ </jmxdoclet>
+
+ <touch file="${mbean-bypass.marker}"/>
+</target>
+
+<!-- Compile all module test class files -->
+<target name="_default:compile-test-classes" depends="init" unless="compile.disable">
+
+ <mkdir dir="${build.test}"/>
+
+ <!-- Hack, required to avoid duplicate javac targets -->
+ <mkdir dir="${build.gen.test}"/>
+
+ <!-- Remove classes which depend on changed files, so they will rebuild. -->
+ <depend srcdir="${source.test}:${build.gen.test}"
+ destdir="${build.test}"
+ dump="${javac.depend.dump}"
+ closure="${javac.depend.closure}">
+ <include name="${javac.includes}"/>
+ <exclude name="${javac.excludes}"/>
+ </depend>
+
+ <javac destdir="${build.test}"
+ optimize="${javac.optimize}"
+ target="${javac.target}"
+ source="${javac.source}"
+ debug="${javac.debug}"
+ depend="${javac.depend}"
+ verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}"
+ includeAntRuntime="${javac.include.ant.runtime}"
+ includeJavaRuntime="${javac.include.java.runtime}"
+ includes="${javac.includes}"
+ excludes="${javac.excludes}"
+ failonerror="${javac.fail.onerror}">
+ <src path="${source.test}:${build.gen.test}"/>
+ <classpath>
+ <path refid="javac.classpath"/>
+ <pathelement location="${build.classes}"/>
+ </classpath>
+ </javac>
+</target>
+
+<!-- Compile manifests -->
+<target name="_default:compile-etc" depends="init" unless="compile.disable">
+ <mkdir dir="${build.etc}"/>
+ <copy todir="${build.etc}" filtering="yes">
+ <fileset dir="${source.etc}">
+ <include name="**"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- Compile resource files -->
+<target name="_default:compile-resources" depends="init" unless="compile.disable">
+ <mkdir dir="${build.resources}"/>
+ <copy todir="${build.resources}" filtering="yes">
+ <fileset dir="${source.resources}">
+ <patternset refid="compile-resources.filter.pattern"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.resources}" filtering="no">
+ <fileset dir="${source.resources}">
+ <patternset refid="compile-resources.pattern"/>
+ </fileset>
+ </copy>
+</target>
+
+<patternset id="compile-resources.filter.pattern">
+ <include name="**/*"/>
+</patternset>
+
+<patternset id="compile-resources.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<!-- Compile stylesheets files -->
+<target name="_default:compile-stylesheets" depends="init" unless="compile.disable">
+ <mkdir dir="${build.stylesheets}"/>
+ <copy todir="${build.stylesheets}" filtering="yes">
+ <fileset dir="${source.stylesheets}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+</target>
+
+<!-- Compile bin scripts -->
+<target name="_default:compile-bin" depends="init" unless="compile.disable">
+ <mkdir dir="${build.bin}"/>
+ <copy todir="${build.bin}" filtering="yes">
+ <fileset dir="${source.bin}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <call target="_default:fix-bin"/>
+</target>
+
+<target name="_default:fix-bin" depends="init">
+ <fixcrlf srcdir="${build.bin}"
+ eol="lf" eof="remove"
+ includes="**/*.sh, **/*.conf"/>
+
+ <fixcrlf srcdir="${build.bin}"
+ eol="crlf" eof="remove"
+ includes="**/*.bat, **/*.cmd"/>
+
+ <chmod perm="+x">
+ <fileset dir="${build.bin}">
+ <include name="**/*.sh"/>
+ </fileset>
+ </chmod>
+</target>
+
+<target name="_default:compile-web" depends="init" unless="compile.disable">
+ <mkdir dir="${build.web}"/>
+ <copy todir="${build.web}" filtering="yes">
+ <fileset dir="${source.web}">
+ <patternset refid="compile-web.filter.pattern"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.web}" filtering="no">
+ <fileset dir="${source.web}">
+ <patternset refid="compile-web.pattern"/>
+ </fileset>
+ </copy>
+</target>
+
+<patternset id="compile-web.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<patternset id="compile-web.filter.pattern">
+ <include name="**/*"/>
+</patternset>
+
+<target name="_default:compile-checksums" depends="init" unless="compile.disable">
+ <checksum>
+ <fileset dir="${build.lib}">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ </checksum>
+</target>
+
+<!-- Compile RMI stubs -->
+<target name="_default:compile-rmi" depends="init" unless="compile.disable">
+ <rmic base="${build.classes}"
+ verify="${rmic.verify}"
+ iiop="${rmic.iiop}"
+ iiopopts="${rmic.iiopops}"
+ idl="${rmic.idl}"
+ idlopts="${rmic.idlops}"
+ debug="${rmic.debug}"
+ stubVersion="${rmic.stubVersion}">
+ <classpath refid="javac.classpath"/>
+ <patternset refid="compile-rmi.pattern"/>
+ </rmic>
+</target>
+
+<patternset id="compile-rmi.pattern">
+ <exclude name="INVALID_FILE_DOES_NOT_EXISTS"/>
+</patternset>
+
+<!-- ================================================================== -->
+<!-- Jars -->
+<!-- ================================================================== -->
+
+<target name="_default:server-client-jars">
+
+ <!-- Build the server jar -->
+ <jar jarfile="${build.lib}/${jar.server.name}"
+ manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}"
+ includes="${jar.server.includes}"/>
+ </jar>
+
+ <!-- Build jbossmq-client.jar -->
+ <jar jarfile="${build.lib}/${jar.client.name}"
+ manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}"
+ includes="${jar.client.includes}"/>
+ </jar>
+
+</target>
+
+
+<!-- ================================================================== -->
+<!-- JBossRetro -->
+<!-- ================================================================== -->
+
+<target name="_default:init-jbossretro" depends="init">
+ <path id="jbossretro.classpath">
+ <path refid="apache.ant.classpath"/>
+ <path refid="javassist.classpath"/>
+ <path refid="jboss.jbossretro.classpath"/>
+ </path>
+
+ <path id="jbossretrort.classpath">
+ <path refid="jboss/backport.concurrent.classpath"/>
+ <pathelement path="${jboss.jbossretro.lib}/jbossretro-rt.jar"/>
+ </path>
+
+ <mkdir dir="${build.classes.retro}"/>
+
+</target>
+
+
+<target name="_default:jbossretro" depends="_default:init-jbossretro">
+
+ <!-- Weave the build.classes to build.classes14 -->
+ <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jbossretro.classpath"/>
+
+ <retro compilerclasspathref="jbossretro.classpath" destdir="${build.classes.retro}">
+ <classpath refid="jbossretrort.classpath"/>
+ <classpath>
+ <pathelement path="${build.classes.retro.src}"/>
+ </classpath>
+ <classpath refid="javac.classpath"/>
+ <src path="${build.classes.retro.src}"/>
+ </retro>
+</target>
+
+<target name="_default:jbossretro-check" depends="_default:init-jbossretro">
+
+ <!-- Are the retroweaved classes valid jdk 1.4 bytecode? -->
+ <!-- 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 checks" unless="jdk14x"/>
+
+ <taskdef name="retrocheck" classname="org.jboss.ant.tasks.retrocheck.RetroCheck" classpathref="jbossretro.classpath"/>
+
+
+ <retrocheck compilerclasspathref="jbossretro.classpath">
+ <classpath refid="jbossretro.classpath"/>
+ <src path="${build.classes.retro}"/>
+ <classpath>
+ <pathelement path="${build.classes.retro}"/>
+ <path refid="jbossretrort.classpath"/>
+ <path refid="javac.classpath"/>
+ </classpath>
+ </retrocheck>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Documents -->
+<!-- ================================================================== -->
+
+<target name="docs" description="Builds all documentation."
+ depends="docs-api"/>
+
+<!-- ======== -->
+<!-- JavaDocs -->
+<!-- ======== -->
+
+<target name="docs-javadocs-check" depends="init">
+
+ <!-- if index.html is newer than the sources we are up to date -->
+ <uptodate property="docs-javadocs.disable"
+ targetfile="${build.api}/index.html">
+ <srcfiles dir="${source.java}">
+ <include name="**/*.java"/>
+ <include name="**/*.html"/>
+ </srcfiles>
+ </uptodate>
+</target>
+<target name="docs-javadocs" depends="init" unless="docs-javadocs.disable">
+ <call target="docs-javadocs_1_4" if="HAVE_JDK_1.4"/>
+</target>
+<!-- Generate Javadoc if we are out of date -->
+<target name="docs-javadocs_1_4"
+ depends="docs-javadocs-check"
+ unless="docs-javadocs.disable">
+
+ <mkdir dir="${build.api}"/>
+ <mkdir dir="${module.output}/gen-src"/>
+ <javadoc packagenames="org.jboss.*,${javadoc.packages}"
+ excludepackagenames="${javadoc.excludes}"
+ sourcepath="${source.java}:${module.output}/gen-src"
+ destdir="${build.api}"
+ classpathref="javac.classpath"
+ windowtitle="${javadoc.windowtitle}"
+ splitindex="${javadoc.splitindex}"
+ author="${javadoc.author}"
+ version="${javadoc.version}"
+ public="${javadoc.public}"
+ package="${javadoc.package}"
+ protected="${javadoc.protected}"
+ private="${javadoc.private}"
+ use="${javadoc.use}"
+ verbose="${javadoc.verbose}">
+ <doctitle><![CDATA[<h1>${module.Name} API Documentation</h1>]]></doctitle>
+ <bottom><![CDATA[
+ <i>
+ <div align="center">
+ <font size="-1">Copyright © 2004 JBoss Inc. All Rights Reserved.</font>
+ </div>
+ </i>
+ ]]></bottom>
+
+ <!--
+ <link href="http://java.sun.com/j2se/1.3/docs/api"/>
+ -->
+
+ <!-- Added links and tags by Yanik Crepeau <yanik at exScriptis.com> 2003-05-13 -->
+ <!--Thes tag declarations will shut down the Unknown tag warning during the javadoc process -->
+ <link href="http://java.sun.com/j2se/1.4.1/docs/api/"/>
+ <tag name="ejb.interface-method" description="ejb interface method delcaration" enabled="false"/>
+ <tag name="ejb.persistence" description="ejb persistence declaration" enabled="false"/>
+ <tag name="ejb.pk-field" description="ejb primary-key field declaration" enabled="false"/>
+ <tag name="ejb.pk" description="ejb" enabled="false"/>
+ <tag name="ejb.bean" description="ejb" enabled="false"/>
+ <tag name="ejb.transaction" description="ejb" enabled="false"/>
+ <tag name="ejb.finder" description="ejb" enabled="false"/>
+ <tag name="ejb.relation" description="ejb" enabled="false"/>
+ <tag name="ejb.create-method" description="ejb" enabled="false"/>
+
+ <tag name="jboss.query" description="jboss" enabled="false"/>
+ <tag name="jboss.lazy-load-group" description="jboss" enabled="false"/>
+ <tag name="jboss.load-group" description="jboss" enabled="false"/>
+ <tag name="jboss.persistence" description="jboss" enabled="false"/>
+ <tag name="jboss.entity-command" description="jboss" enabled="false"/>
+ <tag name="jboss.method-attribute" description="jboss" enabled="false"/>
+ <tag name="jboss.relation" description="jboss" enabled="false"/>
+ <tag name="jboss.method-attribute" description="jboss" enabled="false"/>
+ <tag name="jboss.relation-read-ahead" description="jboss" enabled="false"/>
+ <tag name="jboss.relation-table" description="jboss" enabled="false"/>
+ <tag name="jboss.table-attribute" description="jboss" enabled="false"/>
+
+ <tag name="jmx.managed-attribute" description="jmx" enabled="false"/>
+ <tag name="jmx.managed-constructor" description="jmx" enabled="false"/>
+ <tag name="jboss.method-attributes" description="jboss" enabled="false"/>
+
+ <tag name="todo" description="todo" enabled="false"/>
+
+ </javadoc>
+</target>
+
+<target name="docs-api" depends="docs-javadocs"/>
+
+<target name="javadocs" depends="docs-javadocs"/>
+
+<!-- ========= -->
+<!-- TODO Docs -->
+<!-- ========= -->
+
+<target name="docs-todo-check" depends="init">
+
+ <!-- if index.html is newer than the sources we are up to date -->
+ <uptodate property="docs-todo.disable"
+ targetfile="${build.todo}/index.html">
+ <srcfiles dir="${source.java}" includes="**/*.java"/>
+ </uptodate>
+</target>
+
+<!-- Generate TODO list from @todo tags -->
+<target name="docs-todo"
+ depends="docs-todo-check"
+ unless="docs-todo.disable">
+
+ <!-- tdi: todo task not defined
+ <mkdir dir="${build.todo}"/>
+ <todo destdir="${build.todo}">
+ <fileset dir="${source.java}">
+ <include name="**/*.java"/>
+ </fileset>
+ <info/>
+ </todo>
+ -->
+</target>
+
+<target name="todo" depends="docs-todo"/>
+
+<!-- ============== -->
+<!-- JMX MBean Docs -->
+<!-- ============== -->
+
+<target name="jmx-docs" depends="init">
+ <taskdef name="jmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask" classpathref="xdoclet.task.classpath"/>
+
+ <mkdir dir="${build.jmx-doc}"/>
+ <jmxdoclet
+ destdir="${build.jmx-doc}"
+ force="false"
+ excludedtags="@version, at author">
+ <fileset dir="${source.java}">
+ <include name="**/*.java"/>
+ </fileset>
+ <jbossXmlDoc/>
+ </jmxdoclet>
+
+</target>
+
+<!-- Generate the plain HTML jmx docs -->
+<target name="jmx-docs-html-plain" depends="jmx-docs">
+
+
+ <!-- Force the use of SAXON XSLT -->
+ <property system="true"
+ name="javax.xml.transform.TransformerFactory"
+ value="com.icl.saxon.TransformerFactoryImpl"/>
+
+ <mkdir dir="${build.jmx-api}"/>
+ <style style="${project.thirdparty}/oasis/docbook-xsl/html/docbook.xsl"
+ processor="trax"
+ extension=".html"
+ basedir="${build.jmx-doc}"
+ destdir="${build.jmx-api}">
+ <include name="**/*.xml"/>
+ <param name="quiet" expression="${oasis.docbook.xsl.chunker.quiet}"/>
+ <param name="base.dir" expression="${build.jmx-api}${file.separator}"/>
+ </style>
+
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_default:clean"
+ depends="_buildmagic:clean">
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_default:clobber"
+ depends="_buildmagic:clobber, clean">
+</target>
+
+<target name="rebuild" depends="clean,most" description="clean and rebuild"/>
+
+
+<!-- ================================================================== -->
+<!-- Install & Release -->
+<!-- ================================================================== -->
+
+<!-- ================================================================== -->
+<!-- Project (build module) Targets -->
+<!-- ================================================================== -->
+
+<!-- jason: this needs to be cleaned up -->
+
+<target name="configure-project" unless="configure-project.disable">
+
+ <!-- Bits for building source archives -->
+ <patternset id="source.ignore">
+ <exclude name="**/output/**"/>
+ </patternset>
+ <patternset id="source.free">
+ <exclude name="tools/**"/>
+ <exclude name="thirdparty/**"/>
+ <include name="**"/>
+ </patternset>
+ <patternset id="source.external">
+ <include name="tools/**"/>
+ <include name="thirdparty/**"/>
+ </patternset>
+
+ <!-- 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 '@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>
+
+ <!-- Show the module configuration -->
+ <echo>groups: ${groups}</echo>
+ <echo>modules: ${modules}</echo>
+
+ <property name="configure-project.disable" value="true" system="true"/>
+
+</target>
+
+<!-- ================================================================== -->
+<!-- Module Pass-through Targets -->
+<!-- ================================================================== -->
+
+<!-- Invoke the 'all' on all configured modules -->
+<target name="_buildmagic:modules:all" depends="init">
+ <execmodules target="all"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'most' on all configured modules -->
+<target name="_buildmagic:modules:most" depends="init">
+ <execmodules target="most"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'main' on all configured modules -->
+<target name="_buildmagic:modules:main" depends="init">
+ <execmodules target="main"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'release' on all configured modules -->
+<target name="_buildmagic:modules:release" depends="init">
+ <execmodules target="release"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'tests' on all configured modules -->
+<target name="_buildmagic:modules:tests" depends="init">
+ <execmodules target="tests"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ <property name="build.reports" value="${project.root}/testsuite/output/reports"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clean' on all configured modules -->
+<target name="_buildmagic:modules:clean" depends="init">
+ <execmodules target="clean"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clobber' on all configured modules -->
+<target name="_buildmagic:modules:clobber" depends="init">
+ <execmodules target="clobber"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'docs' on all configured modules -->
+<target name="_buildmagic:modules:docs" depends="init">
+ <execmodules target="docs"
+ modules="${modules}"
+ root="${project.root}/@MODULE@"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module- at MODULE@- at TARGET@-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module- at MODULE@- at TARGET@"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/buildmagic.ent
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,36 @@
+### ====================================================================== ###
+## ##
+## Copyright (c) 1998-2000 by Jason Dillon <jason at planet57.com> ##
+## ##
+## This file is part of BuildMagic; an extension to Ant. ##
+## ##
+## This library is free software; you can redistribute it and/or modify ##
+## it under the terms of the GNU Lesser General Public License as ##
+## published by the Free Software Foundation; either version 2 of the ##
+## License, or (at your option) any later version. ##
+## ##
+## This library is distributed in the hope that it will be useful, but ##
+## WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ##
+## Lesser General Public License for more details. ##
+## ##
+### ====================================================================== ###
+## ##
+## Common Properties ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+buildmagic.resolveproperties.force=false
+buildmagic.propertyfilter.all=true
+
+### Jython Support ###
+
+true=1
+false=0
+
+### Misc ###
+
+/=${file.separator}
+sun.boot.classpath=${sun.boot.class.path}
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,324 @@
+<!-- $Id$ -->
+
+<!-- ================================================================== -->
+<!-- Initialization -->
+<!-- ================================================================== -->
+
+<!-- Load Buildmagic extention tasks. -->
+<taskdef resource="org/jboss/tools/buildmagic/task/autoload.properties"/>
+<taskdef name="property" classname="org.jboss.tools.buildmagic.task.Property"/>
+
+<!-- Initialize the build system. -->
+<target name="_buildmagic:init">
+ <!-- fail unless we have been started from the build script -->
+ <require property="build.script">
+
+ The build system MUST be executed with one of the provided build scripts.
+
+ </require>
+
+ <!-- JDK Detection -->
+ <available classname="java.lang.Void" property="HAVE_JDK_1.1"/>
+ <available classname="java.lang.ThreadLocal" property="HAVE_JDK_1.2"/>
+ <available classname="java.lang.StrictMath" property="HAVE_JDK_1.3"/>
+ <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
+ <available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>
+
+ <!-- Setup the basic project roots. -->
+ <property name="_project.root" value=".."/>
+ <path id="project.root"><pathelement location="${_project.root}"/></path>
+ <property name="project.root" refid="project.root"/>
+ <property name="project.build" value="${project.root}/build"/>
+
+ <!-- Include user and project property overrides. -->
+ <property file="${user.home}/.buildmagic.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Setup the project environment. -->
+ <property file="${project.build}/local.properties"/>
+ <property name="project.tools" value="${project.root}/tools"/>
+ <property name="project.thirdparty" value="${project.root}/thirdparty"/>
+
+ <!-- Setup the module environment. -->
+ <property name="module.root" value="${basedir}"/>
+
+ <available file="${module.root}/etc/local.properties-example"
+ property="init.have-local-properties"/>
+ <call target="_buildmagic:init:local-properties" if="init.have-local-properties"/>
+
+ <property file="${module.root}/local.properties"/>
+ <property name="module.source" value="${module.root}/src"/>
+ <property name="module.output" value="${module.root}/output"/>
+ <property name="module.tools" value="${module.root}/tools"/>
+ <property name="module.thirdparty" value="${module.root}/thirdparty"/>
+
+ <!-- Setup the build.log -->
+ <call target="_buildmagic:init:buildlog" unless="init-buildlog.disable"/>
+
+ <!-- Load common properties -->
+ <property resource="org/jboss/tools/buildmagic/common.properties"/>
+
+ <!-- Setup the build timestamp & build identifer properties -->
+ <tstamp>
+ <format property="build.number" pattern="yyyyMMddHHmm"/>
+ <format property="YEAR" pattern="yyyy"/>
+ </tstamp>
+ <property name="build.id" value="${build.number}"/>
+
+ <!-- Invoke the configure task -->
+ <call target="configure" unless="configure.disable"/>
+
+ <!-- Load common task properties -->
+ <property resource="org/jboss/tools/buildmagic/task.properties"/>
+
+ <!-- Late bind properties & install filters -->
+ <resolver force="${buildmagic.resolveproperties.force}"/>
+ <propertyfilter all="${buildmagic.propertyfilter.all}"/>
+
+ <call target="_buildmagic:init:show-environment" if="init.verbose"/>
+
+ <!-- Finish up -->
+ <property name="init.disable" value="true"/>
+</target>
+
+<!-- Install the local.properties example if it is there -->
+<target name="_buildmagic:init:local-properties">
+ <!-- Setup the local.properties file as needed -->
+ <copy file="${module.root}/etc/local.properties-example"
+ tofile="${module.root}/local.properties" filtering="yes"/>
+ <property file="${module.root}/local.properties"/>
+</target>
+
+<!-- Initialize the build.log -->
+<target name="_buildmagic:init:buildlog">
+ <record name="${basedir}/build.log" append="no"/>
+ <property name="init-buildlog.disable" value="true" system="true"/>
+</target>
+
+<!-- Show the running environment if -Dinit.verbose=true -->
+<target name="_buildmagic:init:show-environment">
+ <echo><![CDATA[
+project.root: ${project.root}
+module.root: ${module.root}
+user.home: ${user.home}
+build.compiler: ${build.compiler}
+java.home: ${java.home}
+java.class.path: ${java.class.path}
+java.version: ${java.version}
+java.vendor: ${java.vendor}
+java.vm.version: ${java.vm.version}
+java.vm.name: ${java.vm.name}
+java.vm.info: ${java.vm.info}
+os.name: ${os.name}
+os.arch: ${os.arch}
+os.version: ${os.version}
+]]></echo>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Cleaning -->
+<!-- ================================================================== -->
+
+<!-- Clean up all build output -->
+<target name="_buildmagic:clean" depends="init">
+ <delete dir="${module.output}"/>
+</target>
+
+<!-- Clean up all generated files -->
+<target name="_buildmagic:clobber" depends="init">
+ <delete file="${module.root}/local.properties"/>
+
+ <!--
+ | Try to stop the build log before we delete the file.
+ -->
+ <record name="${module.root}/build.log" action="stop"/>
+
+ <!--
+ | This file may be opened still due and fail to be removed on win32
+ | systems, so lets just ignore those errors for now.
+ -->
+ <delete file="${module.root}/build.log" quiet="true" failonerror="false"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Help -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:help:standard" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+<target name="_buildmagic:help:build" depends="init">
+ <projecthelp taskname="help">
+ <header><![CDATA[
+ The ${module.Name} module.
+]]></header>
+ <footer><![CDATA[
+ -Dgroups=<group>[(,<group>)*] Specify the module groups.
+ -Dmodules=<module>[(,<module>)*] Specify the modules.
+ (overrides groups).
+ -projecthelp for all targets
+ -help for full options
+]]></footer>
+ </projecthelp>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Release -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:release:zip" depends="init">
+ <zip zipfile="${module.output}/${release.id}.zip">
+ <fileset dir="${module.output}">
+ <include name="${release.id}/**"/>
+ </fileset>
+ </zip>
+</target>
+
+<target name="_buildmagic:release:tar" depends="init">
+ <tar tarfile="${module.output}/${release.id}.tar" longfile="gnu"
+ basedir="${module.output}"
+ includes="${release.id}/**">
+ </tar>
+</target>
+
+<target name="_buildmagic:release:tgz" depends="_buildmagic:release:tar">
+ <gzip src="${module.output}/${release.id}.tar"
+ zipfile="${module.output}/${release.id}.tgz"/>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Install -->
+<!-- ================================================================== -->
+
+<target name="_buildmagic:install:default" depends="init">
+ <!-- Copy the output directory to the install directory -->
+ <mkdir dir="${install.root}"/>
+ <copy todir="${install.root}" filtering="no">
+ <fileset dir="${module.output}">
+ <include name="**/*"/>
+ <exclude name="${install.id}/**"/>
+ </fileset>
+ </copy>
+</target>
+
+
+<!-- ================================================================== -->
+<!-- Module Pass-through Targets -->
+<!-- ================================================================== -->
+
+<!-- Invoke the 'all' on all configured modules -->
+<target name="_buildmagic:modules:all" depends="init">
+ <execmodules target="all"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'most' on all configured modules -->
+<target name="_buildmagic:modules:most" depends="init">
+ <execmodules target="most"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module-${module}-${target}-prepare"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'main' on all configured modules -->
+<target name="_buildmagic:modules:main" depends="init">
+ <execmodules target="main"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <before target="_module-${module}-${target}-prepare"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'release' on all configured modules -->
+<target name="_buildmagic:modules:release" depends="init">
+ <execmodules target="release"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'tests' on all configured modules -->
+<target name="_buildmagic:modules:tests" depends="init">
+ <execmodules target="tests"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}"
+ exportproperties="${executemodules.exportproperties}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clean' on all configured modules -->
+<target name="_buildmagic:modules:clean" depends="init">
+ <execmodules target="clean"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
+<!-- Invoke the 'clobber' on all configured modules -->
+<target name="_buildmagic:modules:clobber" depends="init">
+ <execmodules target="clobber"
+ modules="${modules}"
+ root="${project.root}/${module}"
+ skipmissing="${executemodules.skipmissing}">
+ <before target="_module-${module}-${target}-prepare"/>
+ <header message="${executemodules.header}"/>
+ <footer message="${executemodules.footer}"/>
+ <after target="_module-${module}-${target}"/>
+ <property name="init.have-parent" value="true"/>
+ </execmodules>
+</target>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/common.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/libraries.ent
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/libraries.ent (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/libraries.ent 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,641 @@
+<!-- $Id$ -->
+
+ <!-- Spring -->
+ <property name="spring.root" value="${project.thirdparty}/spring"/>
+ <property name="spring.lib" value="${spring.root}/lib"/>
+ <path id="spring.classpath">
+ <pathelement path="${spring.lib}/spring-beans.jar"/>
+ <pathelement path="${spring.lib}/spring-core.jar"/>
+ <pathelement path="${spring.lib}/spring-context.jar"/>
+ </path>
+ <path id="spring-example.classpath">
+ <pathelement path="${spring.lib}/spring-aop.jar"/>
+ <pathelement path="${spring.lib}/spring-web.jar"/>
+ <pathelement path="${spring.lib}/spring-webmvc.jar"/>
+ </path>
+
+ <!-- Dom4j -->
+ <property name="dom4j.dom4j.root" value="${project.thirdparty}/dom4j-dom4j"/>
+ <property name="dom4j.dom4j.lib" value="${dom4j.dom4j.root}/lib"/>
+ <path id="dom4j.dom4j.classpath">
+ <pathelement path="${dom4j.dom4j.lib}/dom4j.jar"/>
+ </path>
+
+ <!-- Properties used for transtion to thirdparty build -->
+ <property name="jaxen.jaxen.lib" value="${dom4j.dom4j.root}/lib"/>
+
+ <!-- Javassist -->
+ <property name="javassist.root" value="${project.thirdparty}/javassist"/>
+ <property name="javassist.lib" value="${javassist.root}/lib"/>
+ <path id="javassist.classpath">
+ <pathelement path="${javassist.lib}/javassist.jar"/>
+ </path>
+
+ <!-- qdox -->
+ <property name="qdox.root" value="${project.thirdparty}/qdox"/>
+ <property name="qdox.lib" value="${qdox.root}/lib"/>
+ <path id="qdox.classpath">
+ <pathelement path="${qdox.lib}/qdox.jar"/>
+ </path>
+
+ <!-- hibernate3 -->
+ <property name="hibernate.root" value="${project.thirdparty}/hibernate"/>
+ <property name="hibernate.lib" value="${hibernate.root}/lib"/>
+ <path id="hibernate3.classpath">
+ <pathelement path="${hibernate.lib}/hibernate3.jar"/>
+ <pathelement path="${hibernate.lib}/asm.jar"/>
+ <pathelement path="${hibernate.lib}/asm-attrs.jar"/>
+ <pathelement path="${hibernate.lib}/antlr*.jar"/>
+ </path>
+
+ <!-- hibernate entity manager -->
+ <property name="hibernate.entitymanager.root" value="${project.thirdparty}/hibernate"/>
+ <property name="hibernate.entitymanager.lib" value="${hibernate.entitymanager.root}/lib"/>
+ <path id="hibernate.entitymanager.classpath">
+ <pathelement path="${hibernate.entitymanager.lib}/ejb3-persistence.jar"/>
+ <pathelement path="${hibernate.entitymanager.lib}/hibernate-entitymanager.jar"/>
+ </path>
+
+ <!-- hibernate annotations manager -->
+ <property name="hibernate.annotations.root" value="${project.thirdparty}/hibernate"/>
+ <property name="hibernate.annotations.lib" value="${hibernate.annotations.root}/lib"/>
+ <path id="hibernate.annotations.classpath">
+ <pathelement path="${hibernate.annotations.lib}/hibernate-annotations.jar"/>
+ </path>
+
+ <!-- asm alias used for bridging to thirdparty build-->
+ <property name="asm.asm.root" value="${project.thirdparty}/hibernate"/>
+ <property name="asm.asm.lib" value="${asm.asm.root}/lib/"/>
+ <property name="asm.asm.resources" value="${asm.asm.root}/resources/"/>
+ <path id="asm.asm.classpath">
+ <pathelement path="${asm.asm.lib}/asm.jar"/>
+ <pathelement path="${asm.asm.lib}/asm-attrs.jar"/>
+ </path>
+
+
+ <!-- ejb3-persistence -->
+ <path id="ejb3-persistence.classpath">
+ <pathelement path="${hibernate.lib}/hibernate-annotations.jar"/>
+ <pathelement path="${hibernate.lib}/hibernate-entitymanager.jar"/>
+ <pathelement path="${hibernate.lib}/ejb3-persistence.jar"/>
+ </path>
+
+ <!-- ODMG (needed for Hibernate) -->
+ <property name="odmg.root" value="${project.thirdparty}/odmg"/>
+ <property name="odmg.lib" value="${odmg.root}/lib"/>
+ <path id="odmg.classpath">
+ <pathelement path="${odmg.lib}/odmg-3.0.jar"/>
+ </path>
+
+ <!-- CGLIB (needed for Hibernate) -->
+ <property name="cglib.root" value="${project.thirdparty}/cglib"/>
+ <property name="cglib.lib" value="${cglib.root}/lib"/>
+ <path id="cglib.classpath">
+ <pathelement path="${cglib.lib}/cglib-2.1.1.jar"/>
+ </path>
+
+
+ <!-- Trove -->
+ <property name="trove.root" value="${project.thirdparty}/trove"/>
+ <property name="trove.lib" value="${trove.root}/lib"/>
+ <path id="trove.classpath">
+ <pathelement path="${trove.lib}/trove.jar"/>
+ </path>
+
+ <!-- Ant -->
+ <property name="apache.ant.root" value="${project.tools}"/>
+ <property name="apache.ant.lib" value="${apache.ant.root}/lib"/>
+ <path id="apache.ant.classpath">
+ <pathelement path="${apache.ant.lib}/ant.jar"/>
+ </path>
+
+ <!-- Apache Avalon -->
+ <property name="apache.avalon.root" value="${project.thirdparty}/apache-avalon"/>
+ <property name="apache.avalon.lib" value="${apache.avalon.root}/lib"/>
+ <path id="apache.avalon.classpath">
+ <pathelement path="${apache.avalon.lib}/avalon-framework.jar"/>
+ </path>
+ <property name="apache.avalon.logkit.lib" value="${apache.avalon.lib}"/>
+ <path id="apache.avalon.logkit.classpath">
+ <pathelement path="${apache.avalon.logkit.lib}/logkit.jar"/>
+ </path>
+
+ <!-- Apache BCEL -->
+ <property name="apache.bcel.root" value="${project.thirdparty}/apache-bcel"/>
+ <property name="apache.bcel.lib" value="${apache.bcel.root}/lib"/>
+ <path id="apache.bcel.classpath">
+ <pathelement path="${apache.bcel.lib}/bcel.jar"/>
+ </path>
+
+ <!-- Apache Commons -->
+ <property name="apache.commons.root" value="${project.thirdparty}/apache-commons"/>
+ <property name="apache.commons.lib" value="${apache.commons.root}/lib"/>
+ <path id="apache.commons.classpath">
+ <pathelement path="${apache.commons.lib}/commons-collections.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-logging.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-httpclient.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-pool.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-discovery.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-fileupload.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-lang-2.0.jar"/>
+ <pathelement path="${apache.commons.lib}/commons-vfs.jar"/>
+ </path>
+
+ <!-- Properties used for transtion to thirdparty build -->
+ <property name="apache.collections.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.codec.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.beanutils.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.digester.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.httpclient.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.logging.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.pool.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.fileupload.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.lang.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.vfs.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.discovery.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.validator.lib" value="${apache.commons.root}/lib"/>
+ <property name="apache.logging.api.lib" value="${apache.commons.root}/lib"/>
+
+ <path id="apache.httpclient.classpath">
+ <pathelement path="${apache.commons.lib}/commons-httpclient.jar"/>
+ </path>
+
+ <path id="apache.logging.classpath">
+ <pathelement path="${apache.commons.lib}/commons-logging.jar"/>
+ </path>
+
+ <path id="apache.beanutils.classpath">
+ <pathelement path="${apache.commons.lib}/commons-beanutils.jar"/>
+ </path>
+
+ <path id="apache.validator.classpath">
+ <pathelement path="${apache.commons.lib}/commons-validator-1.1.3.jar"/>
+ </path>
+
+ <!-- Apache Log4j -->
+ <property name="apache.log4j.root" value="${project.thirdparty}/apache-log4j"/>
+ <property name="apache.log4j.lib" value="${apache.log4j.root}/lib"/>
+ <path id="apache.log4j.classpath">
+ <pathelement path="${apache.log4j.lib}/log4j.jar"/>
+ </path>
+
+ <!-- Apache Lucene -->
+ <property name="apache.lucene.root"
+ value="${project.thirdparty}/apache-lucene"/>
+ <property name="apache.lucene.lib" value="${apache.lucene.root}/lib"/>
+ <path id="apache.lucene.classpath">
+ <pathelement path="${apache.lucene.lib}/lucene.jar"/>
+ </path>
+
+ <!-- Apache Myfaces -->
+ <property name="apache.myfaces.root"
+ value="${project.thirdparty}/apache-myfaces"/>
+ <property name="apache.myfaces.lib" value="${apache.myfaces.root}/lib"/>
+
+ <!-- Apache Tomcat 5.5.x -->
+ <property name="apache.tomcat55.root" value="${project.thirdparty}/apache-tomcat55"/>
+ <property name="apache.tomcat55.lib" value="${apache.tomcat55.root}"/>
+ <path id="apache.tomcat55.classpath">
+ <fileset dir="${apache.tomcat55.root}">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <!-- Apache commons-el -->
+ <property name="commons.el.root" value="${apache.tomcat55.root}"/>
+ <property name="commons.el.lib" value="${apache.tomcat55.root}"/>
+ <path id="commons.el.classpath">
+ <pathelement path="${commons.el.lib}/commons-el.jar"/>
+ </path>
+
+ <!-- Apache Modeler -->
+ <property name="apache.modeler.root" value="${project.thirdparty}/apache-tomcat55"/>
+ <property name="apache.modeler.lib" value="${apache.modeler.root}"/>
+ <path id="apache.modeler.classpath">
+ <fileset dir="${apache.modeler.root}">
+ <include name="commons-modeler.jar" />
+ </fileset>
+ </path>
+
+ <!-- Apache Velocity -->
+ <property name="apache.velocity.root" value="${project.thirdparty}/apache-velocity"/>
+ <property name="apache.velocity.lib" value="${apache.velocity.root}/lib"/>
+ <path id="apache.velocity.classpath">
+ <pathelement path="${apache.velocity.lib}/velocity.jar"/>
+ </path>
+
+ <!-- Apache Xerces -->
+ <property name="apache.xerces.root" value="${project.thirdparty}/apache-xerces"/>
+ <property name="apache.xerces.lib" value="${apache.xerces.root}/lib"/>
+ <path id="apache.xerces.classpath">
+ <pathelement path="${apache.xerces.lib}/xml-apis.jar"/>
+ <pathelement path="${apache.xerces.lib}/xercesImpl.jar"/>
+ <pathelement path="${apache.xerces.lib}/resolver.jar"/>
+ </path>
+
+ <!-- Apache Xalan -->
+ <property name="apache.xalan.root" value="${project.thirdparty}/apache-xalan"/>
+ <property name="apache.xalan.lib" value="${apache.xalan.root}/lib"/>
+ <path id="apache.xalan.classpath">
+ <pathelement path="${apache.xalan.lib}/xalan.jar"/>
+ <path refid="apache.xerces.classpath"/>
+ </path>
+
+ <!-- Apache Scout -->
+ <property name="apache.scout.root" value="${project.thirdparty}/apache-scout"/>
+ <property name="apache.scout.lib" value="${apache.scout.root}/lib"/>
+ <path id="apache.scout.classpath">
+ <pathelement path="${apache.scout.lib}/scout.jar"/>
+ </path>
+
+ <!-- Apache Slide -->
+ <property name="apache.slide.root" value="${project.thirdparty}/apache-slide"/>
+ <property name="apache.slide.lib" value="${apache.slide.root}/client/lib"/>
+ <path id="apache.slide.classpath">
+ <pathelement path="${apache.slide.lib}/webdavlib.jar"/>
+ <pathelement path="${apache.slide.lib}/commons-httpclient.jar"/>
+ </path>
+
+ <!-- Apache JaxMe2 -->
+ <property name="apache.jaxme.root" value="${project.thirdparty}/apache-jaxme"/>
+ <property name="apache.jaxme.lib" value="${apache.jaxme.root}/lib"/>
+ <path id="apache.jaxme.classpath">
+ <pathelement path="${apache.jaxme.lib}/jaxmexs.jar"/>
+ </path>
+
+ <!-- Apache WSS4J -->
+ <property name="apache.wss4j.root" value="${project.thirdparty}/apache-wss4j"/>
+ <property name="apache.wss4j.lib" value="${apache.wss4j.root}/lib"/>
+ <path id="apache.wss4j.classpath">
+ <pathelement path="${apache.wss4j.lib}/wss4j.jar"/>
+ </path>
+
+ <!-- Apache XMLSec -->
+ <property name="apache.xmlsec.root" value="${project.thirdparty}/apache-xmlsec"/>
+ <property name="apache.xmlsec.lib" value="${apache.xmlsec.root}/lib"/>
+ <path id="apache.xmlsec.classpath">
+ <pathelement path="${apache.xmlsec.lib}/xmlsec.jar"/>
+ </path>
+
+ <!-- Bouncy Castle JCE Provider -->
+ <property name="bouncycastle.root" value="${project.thirdparty}/bouncycastle"/>
+ <property name="bouncycastle.lib" value="${bouncycastle.root}/lib"/>
+ <path id="bouncycastle.classpath">
+ <pathelement path="${bouncycastle.lib}/bcprov-jdk14-122.jar"/>
+ </path>
+
+ <!-- OpenSAML -->
+ <property name="opensaml.root" value="${project.thirdparty}/opensaml"/>
+ <property name="opensaml.lib" value="${opensaml.root}/lib"/>
+ <path id="opensaml.classpath">
+ <pathelement path="${opensaml.lib}/opensaml.jar"/>
+ </path>
+
+ <!-- GNU Regex -->
+ <property name="gnu.regexp.root" value="${project.thirdparty}/gnu-regexp"/>
+ <property name="gnu.regexp.lib" value="${gnu.regexp.root}/lib"/>
+ <path id="gnu.regexp.classpath">
+ <pathelement path="${gnu.regexp.lib}/gnu-regexp.jar"/>
+ </path>
+
+ <!-- GNU Getopt -->
+ <property name="gnu.getopt.root" value="${project.thirdparty}/gnu-getopt"/>
+ <property name="gnu.getopt.lib" value="${gnu.getopt.root}/lib"/>
+ <path id="gnu.getopt.classpath">
+ <pathelement path="${gnu.getopt.lib}/getopt.jar"/>
+ </path>
+
+ <!-- org.jdom -->
+ <property name="jdom.root" value="${project.thirdparty}/jdom-beta-7"/>
+ <property name="jdom.lib" value="${jdom.root}/lib"/>
+ <path id="jdom.classpath">
+ <pathelement path="${jdom.lib}/jdom.jar"/>
+ </path>
+
+ <!-- JBoss -->
+ <property name="jboss.external.root" value="${project.thirdparty}/jboss"/>
+ <property name="jboss.remoting.root" value="${jboss.external.root}/remoting"/>
+ <property name="jboss.remoting.lib" value="${jboss.remoting.root}/lib"/>
+ <path id="jboss.remoting.classpath">
+ <pathelement path="${jboss.remoting.lib}/jboss-remoting.jar"/>
+ </path>
+ <property name="jboss.serialization.root" value="${jboss.external.root}/serialization"/>
+ <property name="jboss.serialization.lib" value="${jboss.serialization.root}/lib"/>
+ <path id="jboss.serialization.classpath">
+ <pathelement path="${jboss.serialization.lib}/jboss-serialization.jar"/>
+ </path>
+ <property name="jboss.axis.root" value="${jboss.external.root}/axis"/>
+ <property name="jboss.axis.lib" value="${jboss.axis.root}/lib"/>
+ <path id="jboss.axis.classpath">
+ <pathelement path="${jboss.axis.lib}/axis-ws4ee.jar"/>
+ </path>
+
+ <!-- JUnit -->
+ <property name="junit.junit.root" value="${project.thirdparty}/junit-junit"/>
+ <property name="junit.junit.lib" value="${junit.junit.root}/lib"/>
+ <path id="junit.junit.classpath">
+ <pathelement path="${junit.junit.lib}/junit.jar"/>
+ </path>
+
+ <!-- EDU.oswego.cs.dl.util.concurrent -->
+ <property name="oswego.concurrent.root" value="${project.thirdparty}/oswego-concurrent"/>
+ <property name="oswego.concurrent.lib" value="${oswego.concurrent.root}/lib"/>
+ <path id="oswego.concurrent.classpath">
+ <pathelement path="${oswego.concurrent.lib}/concurrent.jar"/>
+ </path>
+
+ <!-- org.xml.sax (SAX2 & SAX2 Extensions) -->
+ <property name="sax.root" value="${project.thirdparty}/xml-sax"/>
+ <property name="sax.lib" value="${sax.root}/lib"/>
+ <path id="sax.classpath">
+ <pathelement path="${sax.lib}/sax2.jar"/>
+ <pathelement path="${sax.lib}/sax2-ext.jar"/>
+ </path>
+
+ <!-- IBM WSDL4j -->
+ <property name="ibm.wsdl4j.root" value="${project.thirdparty}/ibm-wsdl4j"/>
+ <property name="ibm.wsdl4j.lib" value="${ibm.wsdl4j.root}/lib"/>
+ <path id="ibm.wsdl4j.classpath">
+ <pathelement path="${ibm.wsdl4j.lib}/wsdl4j.jar"/>
+ </path>
+
+ <!-- GJT JPL-Util -->
+ <property name="gjt.jpl-util.root" value="${project.thirdparty}/gjt-jpl-util"/>
+ <property name="gjt.jpl-util.lib" value="${gjt.jpl-util.root}/lib"/>
+ <path id="gjt.jpl-util.classpath">
+ <pathelement path="${gjt.jpl-util.lib}/jpl-util.jar"/>
+ <pathelement path="${gjt.jpl-util.lib}/jpl-pattern.jar"/>
+ </path>
+
+ <!-- Hypersonic SQL -->
+ <property name="hsqldb.hsqldb.root" value="${project.thirdparty}/hsqldb-hsqldb"/>
+ <property name="hsqldb.hsqldb.lib" value="${hsqldb.hsqldb.root}/lib"/>
+ <path id="hsqldb.hsqldb.classpath">
+ <pathelement path="${hsqldb.hsqldb.lib}/hsqldb.jar"/>
+ </path>
+
+ <!-- JacORB -->
+ <property name="jacorb.jacorb.root" value="${project.thirdparty}/jacorb-jacorb"/>
+ <property name="jacorb.jacorb.lib" value="${jacorb.jacorb.root}/lib"/>
+ <path id="jacorb.jacorb.classpath">
+ <pathelement path="${jacorb.jacorb.lib}/jacorb.jar"/>
+ </path>
+ <path id="jacorb.idl.classpath">
+ <path refid="apache.avalon.logkit.classpath"/>
+ <pathelement path="${jacorb.jacorb.lib}/idl.jar"/>
+ </path>
+ <property name="jacorb.idl.include" value="${jacorb.jacorb.root}/idl"/>
+ <property name="jacorb.jacorb.resources" value="${jacorb.jacorb.root}/conf/default"/>
+
+ <!-- JGroups -->
+ <property name="jgroups.jgroups.root" value="${project.thirdparty}/javagroups-javagroups"/>
+ <property name="jgroups.jgroups.lib" value="${jgroups.jgroups.root}/lib"/>
+ <path id="jgroups.jgroups.classpath">
+ <pathelement path="${jgroups.jgroups.lib}/jgroups.jar"/>
+ </path>
+
+ <!-- Sleepycat -->
+ <property name="sleepycat.root" value="${project.thirdparty}/sleepycat"/>
+ <property name="sleepycat.lib" value="${sleepycat.root}/lib"/>
+ <path id="sleepycat.classpath">
+ <pathelement path="${sleepycat.lib}/je.jar"/>
+ </path>
+
+
+ <!-- jUDDI -->
+ <property name="juddi.juddi.root" value="${project.thirdparty}/juddi-juddi"/>
+ <property name="juddi.juddi.lib" value="${juddi.juddi.root}/lib"/>
+ <path id="juddi.juddi.classpath">
+ <pathelement path="${juddi.juddi.lib}/juddi.jar"/>
+ </path>
+
+ <!-- JUnitEJB -->
+ <property name="junitejb.junitejb.root" value="${project.thirdparty}/junitejb/junitejb"/>
+ <property name="junitejb.junitejb.lib" value="${junitejb.junitejb.root}/lib"/>
+ <path id="junitejb.junitejb.classpath">
+ <pathelement path="${junitejb.junitejb.lib}/junitejb.jar"/>
+ </path>
+
+ <!-- Sun JavaBeans Activation Framework (JAF) -->
+ <property name="sun.jaf.root" value="${project.thirdparty}/sun-jaf"/>
+ <property name="sun.jaf.lib" value="${sun.jaf.root}/lib"/>
+ <path id="sun.jaf.classpath">
+ <pathelement path="${sun.jaf.lib}/activation.jar"/>
+ </path>
+
+ <!-- Sun JavaMail -->
+ <property name="sun.javamail.root" value="${project.thirdparty}/sun-javamail"/>
+ <property name="sun.javamail.lib" value="${sun.javamail.root}/lib"/>
+ <path id="sun.javamail.classpath">
+ <pathelement path="${sun.javamail.lib}/mail.jar"/>
+ </path>
+
+ <!-- Sun Java XML Parser (JAXP) -->
+ <property name="sun.jaxp.root" value="${project.thirdparty}/sun-jaxp"/>
+ <property name="sun.jaxp.lib" value="${sun.jaxp.root}/lib"/>
+ <path id="sun.jaxp.classpath">
+ <pathelement path="${sun.jaxp.lib}/jaxp.jar"/>
+ <pathelement path="${sun.jaxp.lib}/crimson.jar"/>
+ <pathelement path="${sun.jaxp.lib}/xalan.jar"/>
+ </path>
+
+ <!-- Sun Java Media Framework (JMF) -->
+ <property name="sun.jmf.root" value="${project.thirdparty}/sun-jmf"/>
+ <property name="sun.jmf.lib" value="${sun.jmf.root}/lib"/>
+ <path id="sun.jmf.classpath">
+ <pathelement path="${sun.jmf.lib}/jmf.jar"/>
+ </path>
+
+ <!-- Sun Java Management Extensions (JMX) -->
+ <property name="sun.jmx.root" value="${project.thirdparty}/sun-jmx"/>
+ <property name="sun.jmx.lib" value="${sun.jmx.root}/lib"/>
+ <path id="sun.jmx.classpath">
+ <pathelement path="${sun.jmx.lib}/jmxri.jar"/>
+ <pathelement path="${sun.jmx.lib}/jmxtools.jar"/>
+ </path>
+
+ <!-- Sun Java Servlet Technology -->
+ <property name="sun.servlet.root" value="${project.thirdparty}/sun-servlet"/>
+ <property name="sun.servlet.lib" value="${sun.servlet.root}/lib"/>
+ <path id="sun.servlet.classpath">
+ <pathelement path="${sun.servlet.lib}/servlet-api.jar"/>
+ <pathelement path="${sun.servlet.lib}/jsp-api.jar"/>
+ </path>
+
+ <!-- Sun Open Source XACML Implementation -->
+ <property name="sun.xacml.root" value="${project.thirdparty}/sun-xacml"/>
+ <property name="sun.xacml.lib" value="${sun.xacml.root}/lib"/>
+ <path id="sun.xacml.classpath">
+ <pathelement path="${sun.xacml.lib}/sunxacml.jar"/>
+ <pathelement path="${sun.xacml.lib}/sunxacml-support.jar"/>
+ </path>
+
+ <!-- JavaCC -->
+ <property name="sun.javacc.root" value="${project.thirdparty}/sun-javacc"/>
+ <property name="sun.javacc.lib" value="${sun.javacc.root}/lib"/>
+
+ <!-- BeanShell -->
+ <property name="beanshell.beanshell.root" value="${project.thirdparty}/beanshell-beanshell"/>
+ <property name="beanshell.beanshell.lib" value="${beanshell.beanshell.root}/lib"/>
+ <path id="beanshell.beanshell.classpath">
+ <fileset dir="${beanshell.beanshell.lib}">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <!-- Joe SNMP lib -->
+ <property name="opennms.joesnmp.root" value="${project.thirdparty}/opennms/joesnmp"/>
+ <property name="opennms.joesnmp.lib" value="${opennms.joesnmp.root}/lib"/>
+ <path id="opennms.joesnmp.classpath">
+ <pathelement path="${opennms.joesnmp.lib}/joesnmp.jar"/>
+ </path>
+
+ <!-- XDoclet -->
+
+ <!--
+ | xdoclet has appended a version string to all their jars.
+ | I'm using jb4 so we don't have to track them so carefully
+ -->
+ <property name="xdoclet.version" value="jb4"/>
+
+ <!--
+
+ jason: it seems like this hack is better defaulting to the default in thirdparty, if you
+ want to build from CVS then change this to the value below in build/local.properties.
+
+ <!- - this may be overridden by the build/local.properties file to use version from cvs- ->
+ <property name="xdoclet.xdoclet.root" value="${project.root}/xdoclet/output"/>
+
+ -->
+ <property name="xdoclet.xdoclet.root" value="${project.thirdparty}/xdoclet-xdoclet"/>
+
+ <property name="xdoclet.xdoclet.lib" value="${xdoclet.xdoclet.root}/lib"/>
+ <path id="xdoclet.xdoclet.classpath">
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-xjavadoc-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-bea-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-ejb-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-java-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-jboss-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-jdo-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-jmx-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-web-module-${xdoclet.version}.jar"/>
+ <pathelement path="${xdoclet.xdoclet.lib}/xdoclet-xdoclet-module-${xdoclet.version}.jar"/>
+ <path refid="apache.commons.classpath"/>
+ <path refid="sun.servlet.classpath"/>
+ </path>
+ <path id="xdoclet.task.classpath">
+ <path refid="xdoclet.xdoclet.classpath"/>
+ </path>
+
+ <!-- Informa RSS -->
+ <property name="informa.rss.root" value="${project.thirdparty}/informa-rss"/>
+ <property name="informa.rss.lib" value="${informa.rss.root}/lib"/>
+ <path id="informa.rss.classpath">
+ <pathelement path="${informa.rss.lib}/informa.jar"/>
+ </path>
+
+ <!-- JRegex -->
+ <property name="jregex.jregex.root" value="${project.thirdparty}/jregex-jregex"/>
+ <property name="jregex.jregex.lib" value="${jregex.jregex.root}/lib"/>
+ <path id="jregex.jregex.classpath">
+ <pathelement path="${jregex.jregex.lib}/jregex.jar"/>
+ </path>
+
+ <!-- DNSJava -->
+ <property name="sourceforge.dnsjava.root" value="${project.thirdparty}/sourceforge-dnsjava"/>
+ <property name="sourceforge.dnsjava.lib" value="${sourceforge.dnsjava.root}/lib"/>
+ <path id="sourceforge.dnsjava.classpath">
+ <pathelement path="${sourceforge.dnsjava.lib}/dnsjava-1.4.3.jar"/>
+ </path>
+
+ <!-- M.Wutka's DTD parser -->
+ <property name="wutka.dtdparser.root" value="${project.thirdparty}/wutka-dtdparser"/>
+ <property name="wutka.dtdparser.lib" value="${wutka.dtdparser.root}/lib"/>
+ <path id="wutka.dtdparser.classpath">
+ <pathelement path="${wutka.dtdparser.lib}/dtdparser121.jar"/>
+ </path>
+
+ <!-- JFreeChart -->
+ <property name="jfreechart.jfreechart.root" value="${project.thirdparty}/jfreechart"/>
+ <property name="jfreechart.jfreechart.lib" value="${jfreechart.jfreechart.root}/lib"/>
+ <path id="jfreechart.jfreechart.classpath">
+ <fileset dir="${jfreechart.jfreechart.lib}">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
+ <!-- ebxmlrr -->
+ <property name="ebxmlrr.ebxmlrr.root" value="${project.thirdparty}/sun-ebxmlrr"/>
+ <property name="ebxmlrr.ebxmlrr.lib" value="${ebxmlrr.ebxmlrr.root}/lib"/>
+ <path id="ebxmlrr.ebxmlrr.classpath">
+ <pathelement path="${ebxmlrr.ebxmlrr.lib}/ebxmlrr.jar"/>
+ <pathelement path="${ebxmlrr.ebxmlrr.lib}/jaxr-client.jar"/>
+ </path>
+
+ <!-- ANTLR -->
+ <property name="antlr.antlr.root" value="${project.thirdparty}/antlr"/>
+ <property name="antlr.antlr.lib" value="${antlr.antlr.root}/lib"/>
+ <path id="antlr.antlr.classpath">
+ <pathelement path="${antlr.antlr.lib}/antlr-2.7.5H3.jar"/>
+ </path>
+
+ <!-- Apache Taglibs -->
+ <property name="apache.taglibs.root" value="${project.thirdparty}/apache-taglibs"/>
+ <property name="apache.taglibs.lib" value="${apache.taglibs.root}/lib"/>
+ <path id="apache.taglibs.classpath">
+ <pathelement path="${apache.taglibs.lib}/jstl-1.1.2.jar"/>
+ <pathelement path="${apache.taglibs.lib}/standard-1.1.2.jar"/>
+ </path>
+
+ <!-- Apache ORO -->
+ <property name="apache.oro.root" value="${project.thirdparty}/apache-oro"/>
+ <property name="apache.oro.lib" value="${apache.oro.root}/lib"/>
+ <path id="apache.oro.classpath">
+ <pathelement path="${apache.oro.lib}/jakarta-oro-2.0.8.jar"/>
+ </path>
+
+ <!-- Apache Struts -->
+ <property name="apache.struts.root" value="${project.thirdparty}/apache-struts"/>
+ <property name="apache.struts.lib" value="${apache.struts.root}/lib"/>
+ <path id="apache.struts.classpath">
+ <pathelement path="${apache.struts.lib}/struts-1.2.6.jar"/>
+ </path>
+
+ <!-- StAX -->
+ <property name="codehaus.stax.root" value="${project.thirdparty}/codehaus-stax"/>
+ <property name="codehaus.stax.lib" value="${codehaus.stax.root}/lib"/>
+ <path id="codehaus.stax.classpath">
+ <pathelement path="${codehaus.stax.lib}/stax-1.1.1.jar"/>
+ </path>
+
+ <!-- XMLUnit -->
+ <property name="xmlunit.xmlunit.root" value="${project.thirdparty}/xmlunit-xmlunit"/>
+ <property name="xmlunit.xmlunit.lib" value="${xmlunit.xmlunit.root}/lib"/>
+ <path id="xmlunit.xmlunit.classpath">
+ <pathelement path="${xmlunit.xmlunit.lib}/xmlunit1.0.jar"/>
+ </path>
+
+ <!-- easymock -->
+ <property name="easymock.easymock.root" value="${project.thirdparty}/easymock"/>
+ <property name="easymock.easymock.lib" value="${easymock.easymock.root}/lib/"/>
+ <property name="easymock.easymock.resources" value="${easymock.easymock.root}/resources/"/>
+ <path id="easymock.easymock.classpath">
+ <pathelement path="${easymock.easymock.lib}/easymockclassextension.jar"/>
+ <pathelement path="${easymock.easymock.lib}/easymock-1.1.jar"/>
+ </path>
+
+ <!-- struts-test-case -->
+ <property name="struts.test.case.root" value="${project.thirdparty}/struts-test-case"/>
+ <property name="struts.test.case.lib" value="${struts.test.case.root}/lib/"/>
+ <property name="struts.test.case.resources" value="${struts.test.case.root}/resources/"/>
+ <path id="struts.test.case.classpath">
+ <pathelement path="${struts.test.case.lib}/strutstest-2.1.3.jar"/>
+ </path>
+
+ <!-- cache -->
+ <property name="jboss.cache.root" value="${project.thirdparty}/jboss/cache"/>
+ <property name="jboss.cache.lib" value="${jboss.cache.root}/lib"/>
+ <path id="jboss.cache.classpath">
+ <pathelement path="${jboss.cache.lib}/jboss-cache.jar"/>
+ </path>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/libraries.ent
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/modules.ent
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/modules.ent (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/modules.ent 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,322 @@
+<!-- $Id$ -->
+
+<!-- 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>
+<!-- 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>
+<!-- kernel -->
+<property name="jboss.kernel.root" value="${project.root}/kernel"/>
+<property name="jboss.kernel.lib" value="${jboss.kernel.root}/output/lib"/>
+<path id="jboss.kernel.classpath">
+ <fileset dir="${jboss.kernel.lib}">
+ <include name="jboss-microcontainer.jar"/>
+ </fileset>
+</path>
+
+<!-- AOP -->
+<property name="jboss.aop.root" value="${project.root}/aop/output"/>
+<property name="jboss.aop.lib" value="${jboss.aop.root}/lib"/>
+<path id="jboss.aop.classpath">
+ <pathelement path="${jboss.aop.lib}/jboss-aop.jar"/>
+</path>
+<path id="jboss.aop50.classpath">
+ <pathelement path="${jboss.aop.lib}/jboss-aop-jdk50.jar"/>
+</path>
+
+<property name="jboss.aspects.root" value="${project.root}/aspects/output"/>
+<property name="jboss.aspects.lib" value="${jboss.aspects.root}/lib"/>
+<path id="jboss.aspects.classpath">
+ <pathelement path="${jboss.aspects.lib}/jboss-aspect-library.jar"/>
+</path>
+
+<!-- tomcat -->
+<property name="jboss.tomcat.root" value="${project.root}/tomcat/output"/>
+ <property name="jboss.tomcat.lib" value="${jboss.tomcat.root}/lib"/>
+<path id="jboss.tomcat.classpath">
+ <pathelement path="${jboss.tomcat.lib}/tc6-cluster.aop"/>
+ <pathelement path="${jboss.tomcat.root}/resource"/>
+</path>
+
+<!-- Cluster -->
+<property name="jboss.cluster.root" value="${project.root}/cluster/output"/>
+<property name="jboss.cluster.lib" value="${jboss.cluster.root}/lib"/>
+<path id="jboss.cluster.classpath">
+ <pathelement path="${jboss.cluster.lib}/jbossha.jar"/>
+ <pathelement path="${jboss.cluster.lib}/jbossha-httpsession.sar"/>
+ <pathelement path="${jboss.cluster.lib}/jbossha-singleton.jar"/>
+</path>
+
+
+<!-- Compatibility -->
+<property name="jboss.compatibility.root" value="${project.root}/compatibility/output"/>
+<property name="jboss.compatibility.lib" value="${jboss.compatibility.root}/lib"/>
+<path id="jboss.compatibility.classpath">
+</path>
+
+<!-- Iiop -->
+<property name="jboss.iiop.root" value="${project.root}/iiop/output"/>
+<property name="jboss.iiop.lib" value="${jboss.iiop.root}/lib"/>
+<path id="jboss.iiop.classpath">
+ <pathelement path="${jboss.iiop.lib}/jboss-iiop.jar"/>
+</path>
+
+<!-- J2EE -->
+<property name="jboss.j2ee.root" value="${project.root}/j2ee/output"/>
+<property name="jboss.j2ee.lib" value="${jboss.j2ee.root}/lib"/>
+<path id="jboss.j2ee.classpath">
+ <pathelement path="${jboss.j2ee.lib}/jboss-j2ee.jar"/>
+ <pathelement path="${jboss.j2ee.lib}/jboss-jaxrpc.jar"/>
+ <pathelement path="${jboss.j2ee.lib}/jboss-saaj.jar"/>
+</path>
+
+<!-- J2EE Extensions-->
+<path id="jboss.j2ee.ext.classpath">
+ <pathelement path="${jboss.j2ee.lib}/jboss-auth.jar"/>
+</path>
+
+<!-- J2SE -->
+<property name="jboss.j2se.root" value="${project.root}/j2se/output"/>
+<property name="jboss.j2se.lib" value="${jboss.j2se.root}/lib"/>
+<path id="jboss.j2se.classpath">
+ <pathelement path="${jboss.j2se.lib}/jboss-j2se.jar"/>
+</path>
+<path id="jboss.jmxcompliance.classpath">
+ <pathelement path="${jboss.j2se.lib}/jboss-jmx-compliance.jar"/>
+</path>
+
+<!-- Deployment -->
+<property name="jboss.deployment.root" value="${project.root}/deployment/output"/>
+<property name="jboss.deployment.lib" value="${jboss.deployment.root}/lib"/>
+<path id="jboss.deployment.classpath">
+ <pathelement path="${jboss.deployment.lib}/jboss-deployment.jar"/>
+</path>
+
+<!-- EJB3 -->
+<property name="jboss.ejb3.root" value="${project.root}/ejb3/output"/>
+<property name="jboss.ejb3.lib" value="${jboss.ejb3.root}/lib"/>
+<path id="jboss.ejb3.classpath">
+ <pathelement path="${jboss.ejb3.lib}/jboss-ejb3.jar"/>
+ <pathelement path="${jboss.ejb3.lib}/jboss-annotations-ejb3.jar"/>
+</path>
+
+<!-- EJB3X -->
+<property name="jboss.ejb3x.root" value="${project.root}/ejb3x/output"/>
+<property name="jboss.ejb3x.lib" value="${jboss.ejb3x.root}/lib"/>
+<path id="jboss.ejb3x.classpath">
+ <pathelement path="${jboss.ejb3x.lib}/jboss-ejb3x.jar"/>
+</path>
+<path id="jboss.ejb3x.jdk14.classpath">
+ <pathelement path="${jboss.ejb3x.lib}/jboss-ejb3x-jdk14.jar"/>
+</path>
+
+<!-- JCA -->
+<property name="jboss.jca.root" value="${project.root}/connector/output"/>
+<property name="jboss.jca.lib" value="${jboss.jca.root}/lib"/>
+<path id="jboss.jca.classpath">
+ <pathelement path="${jboss.jca.lib}/jboss-jca.jar"/>
+ <pathelement path="${jboss.jca.lib}/jboss-local-jdbc.jar"/>
+ <pathelement path="${jboss.jca.lib}/jboss-ha-local-jdbc.jar"/>
+ <pathelement path="${jboss.jca.lib}/jboss-common-jdbc-wrapper.jar"/>
+</path>
+
+<!-- JMX -->
+<property name="jboss.jmx.root" value="${project.root}/jmx/output"/>
+<property name="jboss.jmx.lib" value="${jboss.jmx.root}/lib"/>
+<path id="jboss.jmx.classpath">
+ <pathelement path="${jboss.jmx.lib}/jboss-jmx.jar"/>
+</path>
+
+<!-- JMX Remoting -->
+<property name="jboss.jmx-remoting.root" value="${project.root}/jmx-remoting/output"/>
+<property name="jboss.jmx-remoting.lib" value="${jboss.jmx-remoting.root}/lib"/>
+<path id="jboss.jmx-remoting.classpath">
+ <pathelement path="${jboss.jmx-remoting.lib}/jboss-jmx-remoting.jar"/>
+</path>
+
+<!-- Management -->
+<property name="jboss.management.root" value="${project.root}/management/output"/>
+<property name="jboss.management.lib" value="${jboss.management.root}/lib"/>
+<path id="jboss.management.classpath">
+ <pathelement path="${jboss.management.lib}/jboss-jsr77-client.jar"/>
+ <pathelement path="${jboss.management.lib}/jboss-jsr77.jar"/>
+ <pathelement path="${jboss.management.lib}/jboss-management.jar"/>
+</path>
+
+<!-- MBeans -->
+<property name="jboss.mbeans.root" value="${project.root}/mbeans/output"/>
+<property name="jboss.mbeans.lib" value="${jboss.mbeans.root}/lib"/>
+<path id="jboss.mbeans.classpath">
+ <pathelement path="${jboss.mbeans.lib}/jboss-mbeans.jar"/>
+</path>
+
+<!-- Messaging -->
+<property name="jboss.messaging.root" value="${project.root}/messaging/output"/>
+<property name="jboss.messaging.lib" value="${jboss.messaging.root}/lib"/>
+<path id="jboss.messaging.classpath">
+ <pathelement path="${jboss.messaging.lib}/jbossmq.jar"/>
+</path>
+
+<!-- Messaging 5 -->
+<property name="jboss.jms.root" value="${project.root}/jms/output"/>
+<property name="jboss.jms.lib" value="${jboss.jms.root}/lib"/>
+<path id="jboss.jms.classpath">
+ <pathelement path="${jboss.jms.lib}/jboss-messaging.jar"/>
+</path>
+
+<!-- Naming -->
+<property name="jboss.naming.root" value="${project.root}/naming/output"/>
+<property name="jboss.naming.lib" value="${jboss.naming.root}/lib"/>
+<path id="jboss.naming.classpath">
+ <pathelement path="${jboss.naming.lib}/jnpserver.jar"/>
+</path>
+
+<!-- Security -->
+<property name="jboss.security.root" value="${project.root}/security/output"/>
+<property name="jboss.security.lib" value="${jboss.security.root}/lib"/>
+<path id="jboss.security.classpath">
+ <pathelement path="${jboss.security.lib}/jbosssx.jar"/>
+</path>
+
+<!-- Server -->
+<property name="jboss.server.root" value="${project.root}/server/output"/>
+<property name="jboss.server.lib" value="${jboss.server.root}/lib"/>
+<path id="jboss.server.classpath">
+ <pathelement path="${jboss.server.lib}/jboss.jar"/>
+ <pathelement path="${jboss.server.lib}/jmx-adaptor-plugin.jar"/>
+</path>
+
+<!-- Spring -->
+<property name="jboss.spring.root" value="${project.root}/spring-int/output"/>
+<property name="jboss.spring.lib" value="${jboss.spring.root}/lib"/>
+
+<!-- System -->
+<property name="jboss.system.root" value="${project.root}/system/output"/>
+<property name="jboss.system.lib" value="${jboss.system.root}/lib"/>
+<path id="jboss.system.classpath">
+ <pathelement path="${jboss.system.lib}/jboss-system.jar"/>
+</path>
+<property name="jboss.system.xdocletpath"
+ value="${project.root}/system/src/main"/>
+
+<!-- Test -->
+<property name="jboss.test.root" value="${project.root}/test/output"/>
+<property name="jboss.test.lib" value="${jboss.test.root}/lib"/>
+<path id="jboss.test.classpath">
+ <pathelement path="${jboss.test.lib}/jboss-test.jar"/>
+</path>
+
+<!-- Transaction -->
+<property name="jboss.transaction.root" value="${project.root}/transaction/output"/>
+<property name="jboss.transaction.lib" value="${jboss.transaction.root}/lib"/>
+<path id="jboss.transaction.classpath">
+ <pathelement path="${jboss.transaction.lib}/jboss-transaction.jar"/>
+</path>
+
+<!-- Varia -->
+<property name="jboss.varia.root" value="${project.root}/varia/output"/>
+<property name="jboss.varia.lib" value="${jboss.varia.root}/lib"/>
+<path id="jboss.varia.classpath">
+ <pathelement path="${jboss.varia.root}/classes"/>
+</path>
+
+<!-- Hibernate2 integration module -->
+<property name="jboss.hibernate.root" value="${project.root}/hibernate-int/output"/>
+<property name="jboss.hibernate.lib" value="${jboss.hibernate.root}/lib"/>
+<path id="jboss.hibernate.classpath">
+ <pathelement path="${jboss.hibernate.lib}/jboss-hibernate.jar"/>
+</path>
+
+
+<!-- below this line starts the kingdom of nukes ***************************************************************** -->
+
+<!-- Nukes on JBoss -->
+<property name="jboss.nukes.root" value="${project.root}/nukes/output"/>
+<property name="jboss.nukes.lib" value="${jboss.nukes.root}/lib"/>
+<path id="jboss.nukes.classpath">
+ <pathelement path="${jboss.nukes.lib}/nukes-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss adminmessages -->
+<property name="jboss.nukes-adminmessages.root" value="${project.root}/adminmessages/output"/>
+<property name="jboss.nukes-adminmessages.lib" value="${jboss.nukes-adminmessages.root}/lib"/>
+<path id="jboss.nukes-adminmessages.classpath">
+ <pathelement path="${jboss.nukes-adminmessages.lib}/nukes-adminmessages-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss faq -->
+<property name="jboss.nukes-faq.root" value="${project.root}/faq/output"/>
+<property name="jboss.nukes-faq.lib" value="${jboss.nukes-faq.root}/lib"/>
+<path id="jboss.nukes-faq.classpath">
+ <pathelement path="${jboss.nukes-faq.lib}/nukes-faq-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss jmx -->
+<property name="jboss.nukes-jmx.root" value="${project.root}/jmx/output"/>
+<property name="jboss.nukes-jmx.lib" value="${jboss.nukes-jmx.root}/lib"/>
+<path id="jboss.nukes-jmx.classpath">
+ <pathelement path="${jboss.nukes-jmx.lib}/nukes-jmx-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss journal -->
+<property name="jboss.nukes-journal.root" value="${project.root}/journal/output"/>
+<property name="jboss.nukes-journal.lib" value="${jboss.nukes-journal.root}/lib"/>
+<path id="jboss.nukes-journal.classpath">
+ <pathelement path="${jboss.nukes-journal.lib}/nukes-journal-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss mp3player -->
+<property name="jboss.nukes-mp3player.root" value="${project.root}/mp3player/output"/>
+<property name="jboss.nukes-mp3player.lib" value="${jboss.nukes-mp3player.root}/lib"/>
+<path id="jboss.nukes-mp3player.classpath">
+ <pathelement path="${jboss.nukes-mp3player.lib}/nukes-mp3player-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss news -->
+<property name="jboss.nukes-news.root" value="${project.root}/news/output"/>
+<property name="jboss.nukes-news.lib" value="${jboss.nukes-news.root}/lib"/>
+<path id="jboss.nukes-news.classpath">
+ <pathelement path="${jboss.nukes-news.lib}/nukes-news-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss quotes -->
+<property name="jboss.nukes-quotes.root" value="${project.root}/quotes/output"/>
+<property name="jboss.nukes-quotes.lib" value="${jboss.nukes-quotes.root}/lib"/>
+<path id="jboss.nukes-quotes.classpath">
+ <pathelement path="${jboss.nukes-quotes.lib}/nukes-quotes-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss list -->
+<property name="jboss.nukes-list.root" value="${project.root}/list/output"/>
+<property name="jboss.nukes-list.lib" value="${jboss.nukes-list.root}/lib"/>
+<path id="jboss.nukes-list.classpath">
+ <pathelement path="${jboss.nukes-list.lib}/nukes-list-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss script -->
+<property name="jboss.nukes-script.root" value="${project.root}/script/output"/>
+<property name="jboss.nukes-script.lib" value="${jboss.nukes-script.root}/lib"/>
+<path id="jboss.nukes-script.classpath">
+ <pathelement path="${jboss.nukes-script.lib}/nukes-script-lib.jar"/>
+</path>
+
+<!-- Nukes on JBoss sections -->
+<property name="jboss.nukes-sections.root" value="${project.root}/sections/output"/>
+<property name="jboss.nukes-sections.lib" value="${jboss.nukes-sections.root}/lib"/>
+<path id="jboss.nukes-sections.classpath">
+ <pathelement path="${jboss.nukes-sections.lib}/nukes-sections-lib.jar"/>
+</path>
+
+
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/modules.ent
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/targets.ent
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/targets.ent (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/targets.ent 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,116 @@
+<!-- $Id$ -->
+<!--
+ $Log: targets.ent,v $
+ Revision 1.5 2004/11/24 02:07:36 starksm
+ Restore the tools module content after the errant removal
+
+ Revision 1.3 2004/03/29 19:49:17 ejort
+ Bring build into line with jboss-3.2
+
+ Revision 1.1.2.2 2003/12/07 22:12:53 ejort
+ Make a start on simplifying the build,
+ including incremental xdoclet MBean generation
+
+ Revision 1.1.2.1 2003/05/18 06:24:13 starksm
+
+ Standard targets
+-->
+
+ <!-- ================================================================== -->
+ <!-- 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>
+
+ <!-- ================================================================== -->
+ <!-- Archives -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Build all jar files.
+ -->
+ <target name="jars"
+ description="Builds all jar files."
+ depends="_buildmagic:build-bypass-check"
+ unless="build-bypass.on">
+
+ <call target="compile"/>
+
+ <mkdir dir="${build.lib}"/>
+
+ <call target="module-jars"/>
+
+ <!-- Update the build marker to allow bypassing -->
+ <touch file="${build-bypass.marker}"/>
+
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Install & Release -->
+ <!-- ================================================================== -->
+
+ <target name="install"
+ description="Install the structure for a release."
+ depends="all, _buildmagic:install:default"/>
+
+ <target name="release" depends="install"/>
+
+ <target name="release-zip"
+ description="Builds a ZIP distribution."
+ depends="release, _buildmagic:release:zip"/>
+
+ <target name="release-tar"
+ description="Builds a TAR distribution."
+ depends="release, _buildmagic:release:tar"/>
+
+ <target name="release-tgz"
+ description="Builds a TAR-GZ distribution."
+ depends="release, _buildmagic:release:tgz"/>
+
+ <target name="release-all"
+ description="Builds a distribution for each archive type."
+ depends="release-zip, release-tgz"/>
+
+
+ <!-- ================================================================== -->
+ <!-- Cleaning -->
+ <!-- ================================================================== -->
+
+ <!-- Clean up all build output -->
+ <target name="clean"
+ description="Cleans up most generated files."
+ depends="_buildmagic:clean">
+ </target>
+
+ <!-- Clean up all generated files -->
+ <target name="clobber"
+ description="Cleans up all generated files."
+ depends="_buildmagic:clobber, clean">
+ </target>
+
+
+ <!-- ================================================================== -->
+ <!-- Misc. -->
+ <!-- ================================================================== -->
+
+ <target name="main"
+ description="Executes the default target (most)."
+ depends="most"/>
+
+ <target name="all"
+ description="Builds everything."
+ depends="jars, docs"/>
+
+ <target name="most"
+ description="Builds almost everything."
+ depends="jars"/>
+
+ <target name="help"
+ description="Show this help message."
+ depends="_buildmagic:help:standard"/>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/targets.ent
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/task.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/task.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/task.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,91 @@
+### ====================================================================== ###
+## ##
+## Default Task Properties ##
+## ##
+### ====================================================================== ###
+
+### $Id$ ###
+
+### Javac Defaults ###
+
+javac.includes=**/*.java
+javac.excludes=
+javac.defaultexcludes=yes
+
+javac.boot.classpath=${sun.boot.classpath}
+javac.classpath=${classpath}
+
+javac.debug=off
+javac.optimize=on
+javac.deprecation=on
+javac.target=1.4
+javac.verbose=off
+javac.depend=off
+javac.source=1.4
+
+javac.include.ant.runtime=no
+javac.include.java.runtime=no
+javac.fail.onerror=true
+
+classpath=
+classpath.local=
+classpath.thirdparty=
+
+### Javadoc Defaults ###
+
+javadoc.classpath=${javac.classpath}
+javadoc.sourcepath=
+javadoc.source.path=
+javadoc.source.files=
+
+javadoc.public=false
+javadoc.package=false
+javadoc.protected=true
+javadoc.private=false
+javadoc.version=true
+javadoc.author=true
+javadoc.use=true
+javadoc.verbose=false
+
+javadoc.windowtitle=${module.Name} API
+javadoc.doctitle=${module.Name}
+javadoc.splitindex=no
+
+### MBean Defaults ###
+mbean.includes=
+mbean.excludes=
+
+### Jar Defaults ###
+jar.server.includes=
+jar.client.includes=
+
+### RMIC Defaults ###
+
+rmic.base=${build.classes}
+rmic.stubVersion=${javac.target}
+rmic.verify=true
+rmic.sourcebase=
+rmic.debug=false
+rmic.iiop=false
+rmic.iiopopts=
+rmic.idl=false
+rmic.idlopts=
+rmic.includes=
+rmic.excludes=
+
+### JUnit Defaults ###
+
+junit.printsummary=true
+junit.haltonerror=false
+junit.haltonfailure=false
+junit.fork=true
+junit.timeout=300000
+junit.jvm=java
+junit.jvm.options=-Dnone
+
+junit.formatter.type=xml
+junit.formatter.usefile=true
+
+junit.batchtest.fork=${junit.fork}
+junit.batchtest.haltonerror=${junit.haltonerror}
+junit.batchtest.haltonfailure=${junit.haltonfailure}
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/task.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/version-info.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/version-info.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/version-info.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,56 @@
+<!-- $Id$ -->
+
+<project name="Common Build Defs">
+
+ <!-- Include user and project property overrides. -->
+ <property file="${user.home}/.buildmagic.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Setup the build timestamp & build identifer properties -->
+ <tstamp>
+ <format property="build.number" pattern="yyyyMMddHHmm"/>
+ <format property="YEAR" pattern="yyyy"/>
+ </tstamp>
+ <property name="build.id" value="${build.number}"/>
+
+ <!-- Version identifiers for the server. -->
+ <property name="version.major" value="5"/>
+ <property name="version.minor" value="0"/>
+ <property name="version.revision" value="0"/>
+ <property name="version.tag" value="Beta"/>
+ <property name="version.name" value="Morpheus"/>
+ <!-- This must be set to the CVS tag for any release -->
+ <property name="version.cvstag" value="HEAD"/>
+
+ <!-- Manifest version info -->
+ <property name="specification.title" value="JBoss"/>
+ <property name="specification.version" value="${version.major}.${version.minor}.${version.revision}.${version.tag}"/>
+ <property name="specification.vendor" value="JBoss (http://www.jboss.org/)"/>
+
+ <property name="implementation.title" value="JBoss [${version.name}]"/>
+ <property name="implementation.url" value="http://www.jboss.org/"/>
+ <property name="implementation.version"
+ value="${version.major}.${version.minor}.${version.revision}.${version.tag} (build: CVSTag=${version.cvstag} date=${build.id})"/>
+ <property name="implementation.vendor" value="JBoss Inc."/>
+ <property name="implementation.vendor.id" value="${implementation.url}"/>
+
+ <target name="print-version-info">
+ <echo>
+ version.major=${version.major}
+ version.minor=${version.minor}
+ version.revision=${version.revision}
+ version.tag=${version.tag}
+ version.name=${version.name}
+ version.cvstag=${version.cvstag}
+ specification.title=${specification.title}
+ specification.version=${specification.version}
+ specification.vendor=${specification.vendor}
+ implementation.title=${implementation.title}
+ implementation.url=${implementation.url}
+ implementation.version=${implementation.version}
+ implementation.vendor=${implementation.vendor}
+ implementation.vendor.id=${implementation.vendor.id}
+ </echo>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/buildmagic/version-info.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/README.TXT
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/README.TXT (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/README.TXT 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,89 @@
+Hello,
+
+These notes describe this JBoss build and test configuration - which uses cruisecontrol. As usual, they are a work in progress...
+
+The basic idea is that cruisecontrol is used to monitor CVS, it then kicks off a build when a change is detected.
+We use one cruisecontrol process to monitor (currently) 3 versions of JBoss (HEAD, 3.2 and 3.0).
+Since there is a lot in common between each project - I use a couple of scripts to populate a template and
+generate the cruisecontrol config file.
+
+Cruisecontrol monitors the directory called checkout/<jboss version> for changes in CVS. When a change is detected,
+the ant script build-jboss-head.xml is run. This script then calls a bash shell script to do a full checkout
+(to ensure we get any new cvs module bits) and compile the relevant jboss version.
+
+IDEAS
+
+Runnings Tests
+Which tests
+- minimal smoke tests - after each build
+- unit test suite - once a day
+- full test suite - once a week
+- must not do more than one thing at once - could invalidate tests - eg performance, ports used etc.
+
+Options to trigger tests
+- get cc to control when to do it...
+- cc/modification set with requiresmod=false and time based build...
+- cc/at end of every build
+- cc/use multiple to run tests every X builds
+- cc/use a pausebuilder in cc and run the tests externally
+- cc/use executepublisher to trigger testing asynchronously
+- use crontab to kill/start cc and run tests
+- ?
+
+TODO
+- complete these notes ;-)
+- make the build more robust
+-- currently, due to cc problems it is periodically restarted - but this could happen mid-build leaving it in a dodgy state
+-- so perhaps best to begin each start of cruisecontrol with a fresh checkout - with a little refactoring the existing build script can do this
+- add some smoke tests - probably based on a subset of the current unit tests
+- compress the logs produced - to make them more accessible over the web
+
+
+REQUIREMENTS
+- cruisecontrol - something after version 2.1.5 (as we need the fix re: monitoring branches)
+- java
+- bash (eg Linux or Cygwin on Windows)
+- mailhost - used to send out results
+
+
+INSTALL
+
+build loop
+==================
+Generate the cruisecontrol config file:
+- to the <root directory>/scripts directory
+- review the generate.conf and build.conf files to ensure appropriate settings
+- run the gen_configs scripts "bash gen_configs.sh" - which merges the config template with the version configs
+to get the cruisecontrol config file. The file build.conf and generate.conf files are used to configure bits of the
+build, such as which cvs user to use, mail server, web server etc.
+
+Assuming you have cruisecontrol installed (see http://sf.net/projects/cruisecontrol if not)
+
+In the root directory type:
+ nohup cruisecontrol.sh -configfile scripts/cc-config-all.xml &
+
+reporting website
+==================
+
+
+LINKS
+
+cruisecontrol - http://sf.net/projects/cruisecontrol
+
+
+cruisecontrol quick start
+==========================
+
+- download it - http://cruisecontrol.sourceforge.net/download.html
+- unzip the download into some directory.
+- run build.bat/sh in main directory to build the cruisecontrol jar
+- then you need to run it using the bin/cruisecontrol.bat/sh script - with a project specific config file
+
+You also need to build the related webapp - its in the reporting/jsp directory, you will need to do some mods:
+- create an override.properties file in the reporting/jsp sub-directory
+- move aside the reporting/xsl directory and instead use the xsl directory in this cvs - this version includes version
+ info in the output [probably should try and get cc cvs updated for this...]
+- run 'sh build.sh war' in the same directory
+- unwar - so that you can then point tomcat at it
+- may get issues due to xalan jar (eg errors or incomplete pages) - if so, move the one in dist out of way
+(and copy latest from xalan website into tomcat common/endorsed directory - but the jdk one maybe sufficient)
\ No newline at end of file
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/TODO
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/TODO (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/TODO 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,8 @@
+
++ don't make scheduled builds do modificatino checks
+
++ We do need to be looking at running the tests with multiple jvms as well in the future. The ibm, sun and jrockit 1.4.x jvms should be the baseline.
++ get modification-set somehow besides cvs log. Too time/bandwidth consuming
++ port shell scripts to ant
++ add timeouts to antbuilders prevent long builds
++
\ No newline at end of file
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/restartJBossBuild.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/restartJBossBuild.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/restartJBossBuild.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#echo kill old cruisecontrol jobs
+
+#killall -9 java
+#killall -9 cvs
+
+
+#echo sleep a bit before we start again
+#sleep 30
+rm nohup.out
+nohup ../cruisecontrol/main/bin/cruisecontrol.sh -configfile scripts/cc-config.xml -projectname jboss-head -port 8090 &
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/restartJBossBuild.sh
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-JBossCache.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-JBossCache.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-JBossCache.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,94 @@
+<project name="build-JBossCache" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property environment="env"/>
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -r ${cvs.branch} -d ${jboss.dir} JBossCache" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbosscache project">
+ <sequential>
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jbosscache tests">
+ <sequential>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml all-unittests-cc interoptests"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="generatereports" depends="tests" description="Generates HTML reports">
+ <exec executable="ant">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml reports"/>
+ </exec>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/reports/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <copy todir="${log.dir}" failonerror="false" file="../checkout/${jboss.dir}/output/jrunit-report.html"/>
+ <copy todir="${log.dir}" failonerror="false" file="../checkout/${jboss.dir}/output/benchmarkChart.jpg"/>
+ <copy todir="${log.dir}" failonerror="false" file="../checkout/${jboss.dir}/output/root_benchmark.txt"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-JBossCache.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-committer-list.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-committer-list.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-committer-list.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,28 @@
+<project name="build-committer-list" default="build">
+
+ <property file="committer-list.properties"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <target name="build" description="Generates committer-list.xml">
+ <delete file="committer-list.xml"/>
+ <svn username="${svn.username}" password="${svn.password}">
+ <checkout url="https://svn.labs.jboss.com/admin/data/" destPath="../checkout/committer-list"/>
+ </svn>
+ <copy file="../checkout/committer-list/committer-list.xml" todir="."/>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="sh create-committer-list.sh"/>
+ </exec>
+ <move file="committer-list-temp.xml" tofile="committer-list.xml"/>
+ <delete file="committer-list-temp.xml"/>
+ </target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-committer-list.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-common-targets.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-common-targets.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-common-targets.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,109 @@
+ <project name="build-common-targets">
+ <target name="test-build-failure">
+ <copy todir="${fileset.dir}/testfailures">
+ <fileset dir="${fileset.dir}" includes="${fileset.includes}">
+ <or>
+ <not><contains text="${error.text}"/></not>
+ <not><contains text="${failure.text}"/></not>
+ </or>
+ </fileset>
+ </copy>
+ <fail message="Build Successful - Tests completed with errors or failures.">
+ <condition>
+ <available file="${fileset.dir}/testfailures" type="dir"/>
+ </condition>
+ </fail>
+ </target>
+ <target name="test-build-failure-jbossas">
+ <copy todir="${fileset.dir}/testfailures">
+ <fileset dir="${fileset.dir}" includes="${fileset.includes}">
+ <or>
+ <contains text="${error.text}"/>
+ <contains text="${failure.text}"/>
+ </or>
+ </fileset>
+ </copy>
+ <fail message="Build Successful - Tests completed with errors or failures.">
+ <condition>
+ <available file="${fileset.dir}/testfailures" type="dir"/>
+ </condition>
+ </fail>
+ </target>
+ <target name="version" description="Outputs Version Information">
+ <exec dir="." executable="bash" output="${log.dir}/host-version-info.txt" append="true">
+ <arg value="-c"/>
+ <arg value="${ant.home}/bin/ant -version"/>
+ </exec>
+ <exec dir="." executable="bash" output="${log.dir}/host-version-info.txt" append="true">
+ <arg value="-c"/>
+ <arg value="${java.home}/bin/java -version"/>
+ </exec>
+ <exec dir="." executable="bash" output="${log.dir}/host-version-info.txt" append="true">
+ <arg value="-c"/>
+ <arg value="uname -a"/>
+ </exec>
+ <echo message="HostName: ${env.HOSTNAME}" file="${log.dir}/host-version-info.txt" append="true"/>
+ </target>
+ <target name="kill" description="Kills running jboss processes">
+ <sequential>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="ps -eaf --columns 1200 | grep run.jar | grep -v grep | awk '{ print $$2; }' | xargs kill"/>
+ </exec>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="sleep 10"/>
+ </exec>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="ps -eaf --columns 1200 | grep run.jar | grep -v grep | awk '{ print $$2; }' | xargs kill -9"/>
+ </exec>
+ </sequential>
+ </target>
+ <target name="copylogs" description="Copies server logs to the logbuild directory">
+ <copy todir="${dest.dir}">
+ <fileset dir="../checkout/${proj.dir}/" includes="**/*.log"/>
+ </copy>
+ </target>
+
+ <target name="clean.checkout" description="Clears the checkout and logbuild directory.">
+ <delete includeemptydirs="true">
+ <fileset dir="${checkout.dir}" includes="**/*"/>
+ </delete>
+ <delete dir="${artifacts.dir}"/>
+ <mkdir dir="${artifacts.dir}"/>
+ </target>
+
+ <target name="test-target-failure" description="Tests the success of a target based on the resultproperty returned.">
+ <condition property="${failure.property}">
+ <equals arg1="${result.property}" arg2="0"/>
+ </condition>
+ <fail unless="${failure.property}">
+ Exit code: ${result.property}
+ ${error.message}
+ </fail>
+ </target>
+
+ <target name="startserver">
+ <java jvm="${java.home.dir}/bin/java" classname="org.jboss.Main" fork="true" spawn="true">
+ <arg line="-c ${config} -b ${node}"/>
+ <jvmarg value="-Xms32m"/>
+ <jvmarg value="-Xmx200m"/>
+ <sysproperty key="java.endorsed.dirs" value="${jboss.home}/lib/endorsed"/>
+ <classpath>
+ <pathelement path="${jboss.home}/bin/run.jar"/>
+ <pathelement path="${java.home.dir}/lib/tools.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="stopserver">
+ <java jvm="${java.home.dir}/bin/java" classname="org.jboss.Shutdown" fork="true">
+ <arg line="--server=jnp://${node}:1099 --shutdown"/>
+ <classpath>
+ <pathelement path="${jboss.home}/bin/shutdown.jar"/>
+ </classpath>
+ </java>
+ </target>
+ </project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-common-targets.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-concurrent-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-concurrent-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-concurrent-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,82 @@
+<project name="build-concurrent-testsuite" default="build">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property environment="env"/>
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d ${jboss.dir} concurrent" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true"
+output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the concurrent project">
+ <sequential>
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml dist"/>
+ </exec>
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="build.success"/>
+ <param name="result.property" value="${build.returncode}"/>
+ <param name="error.message" value="See compile.log in Build Artifacts for details."/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the concurrent tests">
+ <sequential>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml tests"/>
+ </exec>
+
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="tests.success"/>
+ <param name="result.property" value="${tests.returncode}"/>
+ <param name="error.message" value="Core tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the artifacts directory">
+ <junitreport todir="../checkout/${jboss.dir}/output/reports">
+ <fileset dir="../checkout/${jboss.dir}/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames"
+ todir="../checkout/${jboss.dir}/output/reports"/>
+ </junitreport>
+
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/reports"/>
+ </copy>
+
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-concurrent-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-cruisecontrol.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-cruisecontrol.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-cruisecontrol.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,45 @@
+<project name="build-cruisecontrol" default="build">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/cruisecontrol"/>
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/cruisecontrol"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d cruisecontrol tools/etc/cruisecontrol" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the cruisecontrol project">
+ <sequential>
+ <copy todir=".">
+ <fileset dir="../checkout/cruisecontrol/scripts" excludes="*.properties"/>
+ </copy>
+ <copy todir="../templates">
+ <fileset dir="../checkout/cruisecontrol/templates"/>
+ </copy>
+ <exec dir="../templates" executable="bash">
+ <arg value="-c"/>
+ <arg value="sh create-cc-config.sh"/>
+ </exec>
+ <copy file="../templates/cc-config.xml" todir="."/>
+ <copy file="../templates/cc-db-config.xml" todir="."/>
+ <copy file="../templates/cc-web-config.xml" todir="."/>
+ <copy file="../templates/cc-matrix-config.xml" todir="."/>
+ <copy todir=".">
+ <fileset dir="../checkout/cruisecontrol/scripts">
+ <include name="*.properties"/>
+ <exclude name="customize.properties"/>
+ <exclude name="committer-list.properties"/>
+ <exclude name="jdbc.properties"/>
+ </fileset>
+ </copy>
+ </sequential>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-cruisecontrol.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-4.0-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-4.0-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-4.0-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,114 @@
+<project name="build-ejb3-4.0-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/ejb3-4.0-testsuite"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/ejb3-4.0-testsuite"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="/opt/jdk1.5.0_03"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -r Branch_4_0 -d ejb3-4.0-testsuite jboss-4.0.x" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jboss-4.0 project">
+ <sequential>
+ <exec executable="ant" failonerror="false" resultproperty="build.returncode" output="${log.dir}/compilejboss-4.0.log">
+ <arg line=" -buildfile ../checkout/ejb3-4.0-testsuite/build/build.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-4.0-testsuite"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compilejboss-4.0.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="buildejb3" depends="build" description="Build the ejb3 project">
+ <sequential>
+ <exec executable="ant" failonerror="false" resultproperty="buildejb3.returncode" output="${log.dir}/compileejb3.log">
+ <arg line=" -buildfile ../checkout/ejb3-4.0-testsuite/ejb3/build-test.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-4.0-testsuite"/>
+ </antcall>
+ <condition property="buildejb3.success">
+ <equals arg1="${buildejb3.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="buildejb3.success">
+ Exit code: ${buildejb3.returncode}
+ See compileejb3.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="buildejb3" description="Runs the ejb3 tests">
+ <sequential>
+ <antcall target="kill"/>
+ <exec executable="ant" failonerror="false" resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/ejb3-4.0-testsuite/ejb3/build-test.xml tests"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-4.0-testsuite"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="generatereports" depends="tests" description="Generates HTML reports">
+ <exec executable="ant">
+ <arg line=" -buildfile ../checkout/ejb3-4.0-testsuite/ejb3/build-test.xml tests-report-html"/>
+ </exec>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/ejb3-4.0-testsuite/ejb3/output/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/ejb3-4.0-testsuite/ejb3/output/reports/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-4.0-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-head-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-head-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-head-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,113 @@
+<project name="build-ejb3-head-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/ejb3-head-testsuite"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/ejb3-head-testsuite"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="/opt/jdk1.5.0_03"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d ejb3-head-testsuite jboss-head" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jboss-head project">
+ <sequential>
+ <exec executable="ant" failonerror="false" resultproperty="build.returncode" output="${log.dir}/compilejbosshead.log">
+ <arg line=" -buildfile ../checkout/ejb3-head-testsuite/build/build.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-head-testsuite"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compilejbosshead.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="buildejb3" depends="build" description="Build the ejb3 project">
+ <sequential>
+ <exec executable="ant" failonerror="false" resultproperty="buildejb3.returncode" output="${log.dir}/compileejb3.log">
+ <arg line=" -buildfile ../checkout/ejb3-head-testsuite/ejb3/build-test.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-head-testsuite"/>
+ </antcall>
+ <condition property="buildejb3.success">
+ <equals arg1="${buildejb3.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="buildejb3.success">
+ Exit code: ${buildejb3.returncode}
+ See compileejb3.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="buildejb3" description="Runs the ejb3 tests">
+ <sequential>
+ <antcall target="kill"/>
+ <exec executable="ant" failonerror="false" resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/ejb3-head-testsuite/ejb3/build-test.xml tests"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="ejb3-head-testsuite"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="generatereports" depends="tests" description="Generates HTML reports">
+ <exec executable="ant">
+ <arg line=" -buildfile ../checkout/ejb3-head-testsuite/ejb3/build-test.xml tests-report-html"/>
+ </exec>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/ejb3-head-testsuite/ejb3/output/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/ejb3-head-testsuite/ejb3/output/reports/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-ejb3-head-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-hibernate-db-matrix.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-hibernate-db-matrix.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-hibernate-db-matrix.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,135 @@
+<project name="build-hibernate-db-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at cvs.sourceforge.net:/cvsroot/hibernate"/>
+ <property name="log.dir" value="${basedir}/logbuild/hibernate-db-matrix"/>
+ <property name="co.dir" value="hibernate-db-matrix"/>
+ <property name="proj.dir" value="../checkout/${co.dir}"/>
+ <property name="hibernate.properties.file" value="hibernate/hsql.properties"/>
+ <property name="driver.jar" value="${proj.dir}/jdbc/hsqldb.jar"/>
+ <property environment="env"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${co.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="/opt/j2sdk1.4.2_07"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <svn>
+ <checkout url="http://anonhibernate.labs.jboss.com/trunk/Hibernate3/" destPath="../checkout/hibernate-db-matrix"/>
+ </svn>
+ </target>
+
+ <target name="configure.hibernate">
+ <copy file="${hibernate.properties.file}"
+ tofile="${proj.dir}/etc/hibernate.properties"
+ overwrite="true"/>
+ <copy file="hibernate/log4j.properties"
+ tofile="${proj.dir}/etc/log4j.properties"
+ overwrite="true"/>
+ </target>
+
+ <target name="tests" depends="configure.hibernate" description="Runs the hibernate tests">
+ <exec executable="ant" failonerror="false" dir="${proj.dir}"
+ resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line="-Ddriver.jar=${driver.jar}"/>
+ <arg line="-Dhibernate.test.validatefailureexpected=true"/>
+ <arg line="-lib lib junitreport"/>
+ <env key="PATH" path="/opt/j2sdk1.4.2_07/bin:${env.PATH}"/>
+ <env key="CLASSPATH" path="/opt/jdbc-drivers/db2jcc_license_cu.jar:${env.CLASSPATH}"/>
+ <env key="JAVA_HOME" path="/opt/j2sdk1.4.2_07"/>
+ <env key="ANT_HOME" path="/opt/apache-ant-1.6.5"/>
+ </exec>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/build/testout"/>
+ </copy>
+ <copy todir="${log.dir}">
+ <fileset dir="${proj.dir}" includes="**/*.log"/>
+ </copy>
+ <copy file="hibernate/hibernate.properties" todir="${log.dir}"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+
+ <target name="hsqldb">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/hsql.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/hsqldb.jar"/>
+ </antcall>
+ </target>
+
+ <target name="timesten">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/timesten.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/timesten/TimesTen/tt60/lib/classes14.jar"/>
+ </antcall>
+ </target>
+
+ <target name="oracle10">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/oracle10.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/ojdbc14.jar"/>
+ </antcall>
+ </target>
+
+ <target name="sybase">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/sybase.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/jConnect-5_5/classes/jconn2.jar"/>
+ </antcall>
+ </target>
+
+ <target name="sqlserver">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/jtds-sqlserver.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/jtds/jtds-1.2.jar"/>
+ </antcall>
+ </target>
+
+ <target name="mysql">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/mysql.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/mysql-connector-java-3.1.10-bin.jar"/>
+ </antcall>
+ </target>
+
+ <target name="db2">
+ <antcall target="copyresults">
+ <param name="hibernate.properties.file" value="hibernate/db2.properties"/>
+ <param name="driver.jar" value="/opt/jdbc-drivers/db2jcc.jar"/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-hibernate-db-matrix.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common-module.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common-module.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common-module.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,58 @@
+<project name="build-jboss-common" default="copyresults">
+
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+ <property name="proj.dir" value="../checkout/${jboss.dir}"/>
+ <property environment="env"/>
+
+ <property file="cruisecontrol.properties"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <property name="jboss-4.0-common-url" value="http://anonsvn.jboss.org/repos/common/branches/Branch_4_0"/>
+ <property name="jboss-head-common-url" value="http://anonsvn.jboss.org/repos/common/trunk"/>
+ <propertycopy name="jboss.common.svn.url" from="${jboss.dir}-url"/>
+
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${proj.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <svn>
+ <checkout url="${jboss.common.svn.url}" destPath="${proj.dir}"/>
+ </svn>
+ </target>
+
+ <target name="build" depends="getcode" description="Build jboss-common project">
+ <sequential>
+ <exec dir="${proj.dir}" executable="bash" failonerror="false" resultproperty="build.returncode" output="${log.dir}/compile.log">
+ <arg line="build.sh"/>
+ </exec>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common-module.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,317 @@
+<project name="build-jboss-head" default="test">
+
+ <property name="jdk131" value="/opt/jdk1.3.1_13/"/>
+ <property name="jdk142" value="/opt/j2sdk1.4.2_09/"/>
+ <property name="bea-jdk142" value="/opt/jrockit-j2sdk1.4.2_11"/>
+ <property name="jdk15" value="/opt/jdk1.5.0_03/"/>
+ <property name="jdk16" value="/opt/i586/jdk1.6.0-beta/"/>
+ <property name="java.home.dir" value="${jdk142}"/>
+
+ <property name="jdk15.log" value="compile_jdk15.log"/>
+ <property name="jdk14.log" value="compile_jdk14.log"/>
+ <property name="jdk131.log" value="compile_jdk131.log"/>
+
+ <property name="jboss.dir" value="${cvs.module}"/>
+
+ <property name="build.reports" value="../checkout/${jboss.dir}/testsuite/output/reports"/>
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property file="committer-list.properties"/>
+
+ <property environment="env"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <macrodef name="kill-jboss-dead">
+ <sequential>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="ps -eaf --columns 1200 | grep run.jar | grep -v grep | awk '{ print $$2; }' | xargs kill"/>
+ </exec>
+ <sleep seconds="10"/>
+ <exec dir="." executable="bash">
+ <arg value="-c"/>
+ <arg value="ps -eaf --columns 1200 | grep run.jar | grep -v grep | awk '{ print $$2; }' | xargs kill -9"/>
+ </exec>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="build">
+ <attribute name="logName" default="compile.log"/>
+ <attribute name="branch" default="${cvs.branch}"/>
+ <attribute name="module" default="${cvs.module}"/>
+ <attribute name="javaHomeDir" default="${java.home.dir}"/>
+ <sequential>
+ <antcall target="version">
+ <param name="java.home" value="@{javaHomeDir}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ <exec dir="../checkout/${jboss.dir}/build" executable="bash" output="${log.dir}/clean.log">
+ <arg line="build.sh clean"/>
+ <env key="LANG" path=""/>
+ </exec>
+ <exec dir="../checkout/${jboss.dir}/build" executable="bash" failonerror="false" resultproperty="@{logName}-build.returncode" output="${log.dir}/@{logName}">
+ <arg line="build.sh release"/>
+ <env key="JAVA_HOME" path="@{javaHomeDir}"/>
+ <env key="PATH" path="@{javaHomeDir}/bin:${env.PATH}"/>
+ <env key="LANG" path=""/>
+ </exec>
+ <condition property="@{logName}-build.success">
+ <equals arg1="${@{logName}-build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="@{logName}-build.success">
+ Exit code: ${@{logName}-build.returncode}
+ See @{logName} in Build Artifacts for details.
+ </fail>
+
+ <exec dir="../checkout/${jboss.dir}/testsuite" executable="bash" failonerror="false" resultproperty="@{logName}-testsuite.returncode" output="${log.dir}/@{logName}" append="true">
+ <arg line="build.sh clean compile"/>
+ <env key="JAVA_HOME" path="@{javaHomeDir}"/>
+ <env key="PATH" path="@{javaHomeDir}/bin:${env.PATH}"/>
+ <env key="LANG" path=""/>
+ </exec>
+ <condition property="@{logName}-testsuite.success">
+ <equals arg1="${@{logName}-testsuite.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="@{logName}-testsuite.success">
+ Exit code: ${@{logName}-testsuite.returncode}
+ See @{logName} in Build Artifacts for details.
+ </fail>
+
+ <delete dir="../checkout/jboss-builds/${jboss.dir}"/>
+ <mkdir dir="../checkout/jboss-builds/${jboss.dir}"/>
+ <copy todir="../checkout/jboss-builds/${jboss.dir}">
+ <fileset dir="../checkout/${jboss.dir}/build/output/"/>
+ </copy>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="buildtestsuite">
+ <attribute name="branch" default="${cvs.branch}"/>
+ <attribute name="module" default="${cvs.module}"/>
+ <attribute name="javaHomeDir" default="${java.home.dir}"/>
+ <sequential>
+ <antcall target="version">
+ <param name="java.home" value="@{javaHomeDir}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+
+ <exec dir="../checkout/${jboss.dir}/build" executable="bash" output="${log.dir}/clean.log">
+ <arg line="build.sh clean -Djavac.source=${javac.source} -Djavac.target=${javac.target}"/>
+ </exec>
+ <exec dir="../checkout/${jboss.dir}/build" executable="bash" failonerror="false" resultproperty="buildbuild.returncode" output="${log.dir}/compile-build.log">
+ <arg line="build.sh release -Djavac.source=${javac.source} -Djavac.target=${javac.target}"/>
+ <env key="JAVA_HOME" path="@{javaHomeDir}"/>
+ <env key="PATH" path="@{javaHomeDir}/bin:${env.PATH}"/>
+ <env key="LANG" path=""/>
+ </exec>
+ <exec dir="../checkout/${jboss.dir}/testsuite" executable="bash" failonerror="false" resultproperty="buildtestsuite.returncode" output="${log.dir}/compile-testsuite.log">
+ <arg line="build.sh compile -Djavac.source=${javac.source} -Djavac.target=${javac.target}"/>
+ <env key="JAVA_HOME" path="@{javaHomeDir}"/>
+ <env key="PATH" path="@{javaHomeDir}/bin:${env.PATH}"/>
+ <env key="LANG" path=""/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+
+ <condition property="buildbuild.success">
+ <equals arg1="${buildbuild.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="buildbuild.success">
+ Exit code: ${buildbuild.returncode}
+ See compile-build.log in Build Artifacts for details.
+ </fail>
+
+ <condition property="buildtestsuite.success">
+ <equals arg1="${buildtestsuite.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="buildtestsuite.success">
+ Exit code: ${buildtestsuite.returncode}
+ See compile-testsuite.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="tests">
+ <attribute name="logName" default="tests.log"/>
+ <attribute name="javaHomeDir" default="${java.home.dir}"/>
+ <sequential>
+ <kill-jboss-dead/>
+ <exec executable="ant" dir="../checkout/${jboss.dir}/testsuite" failonerror="false" resultproperty="tests.returncode" output="${log.dir}/@{logName}">
+ <arg line=" -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 clean tests -Djavac.source=${javac.source} -Djavac.target=${javac.target}"/>
+ <env key="JAVA_HOME" path="@{javaHomeDir}"/>
+ <env key="PATH" path="@{javaHomeDir}/bin:${env.PATH}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="tests-matrix">
+ <attribute name="logName" default="tests.log"/>
+ <sequential>
+ <kill-jboss-dead/>
+ <property name="jboss.versions.dir" value="/home/cruisecontrol/work/checkout/jboss-versions/"/>
+ <delete>
+ <fileset dir="${jboss.versions.dir}">
+ <include name="3_2_x"/>
+ <include name="4_0_x"/>
+ </fileset>
+ </delete>
+ <copy todir="${jboss.versions.dir}/3_2_x" flatten="true">
+ <fileset dir="../checkout/jboss-3.2.x/build/output">
+ <include name="*/client/*.jar"/>
+ </fileset>
+ </copy>
+ <copy todir="${jboss.versions.dir}/4_0_x" flatten="true">
+ <fileset dir="../checkout/jboss-4.0.x/build/output">
+ <include name="*/client/*.jar"/>
+ </fileset>
+ </copy>
+
+ <exec executable="ant" dir="../checkout/${jboss.dir}/testsuite"
+ failonerror="false" resultproperty="tests.returncode"
+ output="${log.dir}/@{logName}">
+ <arg line="tests-matrix tests-report -Dmatrix-versions=${jboss.versions.dir} -Dnode1=$MYTESTIP_1"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </macrodef>
+
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <kill-jboss-dead/>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="checkout" depends="clean">
+ <if>
+ <equals arg1="${cvs.branch}" arg2="HEAD" />
+ <then>
+ <property name="cvs.branch.opt" value=""/>
+ </then>
+ <else>
+ <property name="cvs.branch.opt" value=" -r ${cvs.branch}"/>
+ </else>
+ </if>
+ <echo message="checking out branch ${cvs.branch} of ${cvs.module}"/>
+ <cvs command="co -P ${cvs.branch.opt} -d ${jboss.dir} ${cvs.module}" cvsroot="${cvs.repository}" compressionlevel="3" quiet="true" failonerror="true" dest="../checkout"
+output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="checkout-svn" depends="clean" description="Update packages from SVN">
+ <svn username="${svn.username}" password="${svn.password}">
+ <checkout url="https://svn.jboss.org/repos/jbossas/mutated/branches/Branch_4_0/" destPath="../checkout/${jboss.dir}"/>
+ </svn>
+ </target>
+
+
+ <target name="build" depends="checkout">
+ <build logName="${jdk14.log}"/>
+ </target>
+
+ <target name="build-svn" depends="checkout-svn">
+ <build logName="${jdk14.log}"/>
+ </target>
+
+ <target name="test" depends="build-testsuite">
+ <tests javaHomeDir="${jdk.version}"/>
+ </target>
+
+ <target name="test-compatibility" depends="build-testsuite">
+ <tests-matrix/>
+ </target>
+
+ <target name="copyresults" depends="" description="Copies test results to the logbuild directory">
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/testsuite/output/reports/html"/>
+ </copy>
+ <antcall target="test-build-failure-jbossas">
+ <param name="fileset.dir" value="${build.reports}/text/"/>
+ <param name="fileset.includes" value="TESTS-TestSuites.txt"/>
+ <param name="error.text" value="Type: error"/>
+ <param name="failure.text" value="Type: failure"/>
+ </antcall>
+ </target>
+
+ <target name="build-testsuite" depends="checkout">
+ <property name="jboss-3.2-testsuite-jdk" value="${jdk142}"/>
+ <property name="jboss-4.0.4.SP-testsuite-jdk" value="${jdk142}"/>
+ <property name="jboss-4.0-testsuite-1.4-jdk" value="${bea-jdk142}"/>
+ <property name="jboss-4.0-testsuite-1.5-jdk" value="${jdk15}"/>
+ <property name="jboss-4.0-testsuite-1.6-jdk" value="${jdk16}"/>
+ <property name="jboss-3.2-compatibility-matrix-jdk" value="${jdk142}"/>
+ <property name="jboss-4.0-compatibility-matrix-jdk" value="${jdk142}"/>
+ <property name="jboss-head-testsuite-1.4-jdk" value="${jdk142}"/>
+ <property name="jboss-head-testsuite-1.5-jdk" value="${jdk15}"/>
+ <property name="jboss-head-testsuite-1.6-jdk" value="${jdk16}"/>
+ <propertycopy name="jdk.version" from="${jboss.dir}-jdk"/>
+
+ <property name="jboss-3.2-testsuite-jdk-version" value="1.4"/>
+ <property name="jboss-4.0.4.SP-testsuite-jdk-version" value="1.4"/>
+ <property name="jboss-4.0-testsuite-1.4-jdk-version" value="1.4"/>
+ <property name="jboss-4.0-testsuite-1.5-jdk-version" value="1.5"/>
+ <property name="jboss-4.0-testsuite-1.6-jdk-version" value="1.5"/>
+ <property name="jboss-3.2-compatibility-matrix-jdk-version" value="1.4"/>
+ <property name="jboss-4.0-compatibility-matrix-jdk-version" value="1.4"/>
+ <property name="jboss-head-testsuite-1.4-jdk-version" value="1.4"/>
+ <property name="jboss-head-testsuite-1.5-jdk-version" value="1.5"/>
+ <property name="jboss-head-testsuite-1.6-jdk-version" value="1.6"/>
+ <propertycopy name="javac.source" from="${jboss.dir}-jdk-version"/>
+ <propertycopy name="javac.target" from="${jboss.dir}-jdk-version"/>
+
+ <buildtestsuite javaHomeDir="${jdk.version}"/>
+ </target>
+
+ <target name="build-head-jdks" depends="checkout">
+ <build javaHomeDir="${jdk15}" logName="${jdk15.log}"/>
+ </target>
+ <target name="build-4.0-jdks" depends="build">
+ <build javaHomeDir="${jdk15}" logName="${jdk15.log}"/>
+ </target>
+ <target name="build-3.2-jdks" depends="build">
+ <build javaHomeDir="${jdk131}" logName="${jdk131.log}"/>
+ </target>
+ <target name="build-4.0-jdks-svn" depends="build-svn">
+ <build javaHomeDir="${jdk15}" logName="${jdk15.log}"/>
+ </target>
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-common.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-head-repository.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-head-repository.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-head-repository.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,61 @@
+<project name="build-jboss-head" default="publish">
+ <property name="log.dir" value="${basedir}/logbuild/jboss-head-repository"/>
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+
+ <target name="clean-logs" depends="" description="Cleans checkout directory">
+ <delete includeemptydirs="true">
+ <fileset dir="../checkout/jboss-head-repository" includes="**/*"/>
+ </delete>
+ <delete dir="${log.dir}"/>
+ <mkdir dir="${log.dir}"/>
+ </target>
+
+ <target name="checkout" depends="clean-logs" description="Update packages from CVS">
+ <sequential>
+ <cvs command="co "
+ cvsroot="${cvs.repository}"
+ compressionlevel="3"
+ dest="../checkout/jboss-head-repository"
+ package="jbossas"
+ output="${log.dir}/cvsco.log"/>
+ <cvs command="co "
+ cvsroot="${cvs.repository}"
+ compressionlevel="3"
+ dest="../checkout/jboss-head-repository"
+ package="tools"
+ output="${log.dir}/cvsco.log"
+ append="true"/>
+ </sequential>
+ </target>
+
+ <target name="synchronize" depends="checkout">
+ <ant antfile="build.xml"
+ dir="../checkout/jboss-head-repository/jbossas"
+ output="${log.dir}/synchronize.log"
+ target="synchronize"/>
+ </target>
+
+ <target name="clean" depends="synchronize">
+ <ant antfile="build.xml"
+ dir="../checkout/jboss-head-repository/jbossas"
+ output="${log.dir}/clean.log"
+ target="clean"/>
+ </target>
+
+ <target name="build" depends="clean">
+ <ant antfile="build.xml"
+ dir="../checkout/jboss-head-repository/jbossas"
+ output="${log.dir}/compile.log"
+ target="build"/>
+ </target>
+
+ <target name="publish" depends="build">
+ <ant antfile="build.xml"
+ dir="../checkout/jboss-head-repository/jbossas"
+ output="${log.dir}/publish.log"
+ target="publish">
+ <property name="repository.root" value="/home/cruisecontrol/tomcat/webapps/repository"/>
+ </ant>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-head-repository.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-ide.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-ide.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-ide.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,105 @@
+<project name="build-jbosside" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/jbosside"/>
+ <property name="releng.root" value="../checkout/jbosside/releng/org.jboss.ide.eclipse.releng"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/jbosside"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="/opt/apache-ant-1.6.5"/>
+ </antcall>
+ <mkdir dir="${log.dir}/output"/>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co jbosside" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" package="jbosside" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="customize" depends="getcode" description="Build the project">
+ <sequential>
+ <copy file="/opt/src/jwsdp-1_6-unix.sh" todir="${releng.root}/requirements/jwsdp"/>
+ <exec dir="${releng.root}/requirements/jwsdp" executable="bash">
+ <arg value="-c"/>
+ <arg value="chmod 755 jwsdp-1_6-unix.sh"/>
+ </exec>
+ <copy file="customize.properties" todir="${releng.root}"/>
+ <exec executable="ant" resultproperty="customize.returncode" failonerror="false" >
+ <arg line=" -f ${releng.root}/customizeBuild.xml customize"/>
+ </exec>
+ <condition property="customize.success">
+ <equals arg1="${customize.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="customize.success">
+ Exit code: ${customize.returncode}
+ Error executing releng.root/customizeBuild.xml
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="build" depends="customize" description="Build the jbosside project">
+ <sequential>
+ <exec dir="${releng.root}/builders" executable="bash" failonerror="false" resultproperty="build.returncode" output="${log.dir}/build-ide.log">
+ <arg line="build-nightly.sh product"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:/opt/apache-ant-1.6.5/bin:${env.PATH}"/>
+ <env key="ANT_HOME" path="/opt/apache-ant-1.6.5"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <if>
+ <equals arg1="${build.returncode}" arg2="0" />
+ <then>
+ <echo message="JBossIDE Build successful." />
+ </then>
+ <else>
+ <echo message="JBossIDE Build Failed." />
+ <copy todir="${log.dir}" flatten="true">
+ <fileset dir="${releng.root}/builders/" includes="build.log"/>
+ </copy>
+ <delete dir="${log.dir}/output"/>
+ </else>
+ </if>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jbosside"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See build.log under Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="build" description="Copies build logs to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results" flatten="true">
+ <fileset dir="${log.dir}/output/" includes="**/tests/test-results/*.*"/>
+ </copy>
+ <copy file="${log.dir}/results/org.jboss.ide.eclipse.tests.html" tofile="${log.dir}/results/index.html"/>
+ <copy todir="${log.dir}" flatten="true">
+ <fileset dir="${log.dir}/output/" includes="**/buildResults.html"/>
+ </copy>
+ <copy todir="${log.dir}" flatten="true">
+ <fileset dir="${log.dir}/output/" includes="**/build.log.zip"/>
+ </copy>
+ <delete dir="${log.dir}/output"/>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-ide.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-portal.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-portal.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-portal.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,136 @@
+<project name="build-jboss-portal" default="jboss.shutdown">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property environment="env"/>
+ <property name="java.home" value="${env.JAVA_HOME}"/>
+ <property name="jboss.host" value="localhost"/>
+ <property name="jboss.port" value="8080"/>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <if>
+ <equals arg1="${cvs.branch}" arg2="HEAD" />
+ <then>
+ <property name="cvs.branch.opt" value=""/>
+ </then>
+ <else>
+ <property name="cvs.branch.opt" value=" -r ${cvs.branch}"/>
+ </else>
+ </if>
+ <cvs command="co ${cvs.branch.opt} ${cvs.module}" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="runtestsuite" description="Deploys Portal on different JBoss homes and runs the testsuite">
+ <mkdir dir="${log.dir}/results"/>
+ <antcall target="runtests">
+ <param name="jboss.home.dir" value="../checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1"/>
+ <param name="jboss.version.info" value="4_0_x"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jboss.home.dir" value="../../jboss-4.0.4.GA"/>
+ <param name="jboss.version.info" value="4_0_4_GA"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jboss.home.dir" value="../checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta"/>
+ <param name="jboss.version.info" value="HEAD"/>
+ </antcall>
+ </target>
+
+
+ <target name="runtests">
+ <mkdir dir="${log.dir}/${jboss.version.info}-logs"/>
+ <antcall target="clean-portal">
+ <param name="jboss.version" value="${jboss.version.info}"/>
+ </antcall>
+ <antcall target="build">
+ <param name="jboss.version" value="${jboss.version.info}"/>
+ </antcall>
+ <tests jboss.home="${jboss.home.dir}" jboss.version="${jboss.version.info}"/>
+ <copylogs jboss.home="${jboss.home.dir}" jboss.version="${jboss.version.info}"/>
+ <antcall target="copyresults"/>
+ </target>
+
+
+ <target name="clean-portal">
+ <exec executable="ant" failonerror="true" output="${log.dir}/${jboss.version}-logs/clean.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build/build.xml clean"/>
+ </exec>
+ <exec executable="ant" failonerror="true" append="true" output="${log.dir}/${jboss.version}-logs/clean.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/testsuite/build.xml clean"/>
+ </exec>
+ </target>
+
+ <target name="build">
+ <sequential>
+ <exec executable="ant" failonerror="true" output="${log.dir}/${jboss.version}-logs/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build/build.xml"/>
+ </exec>
+ <exec executable="ant" failonerror="true" output="${log.dir}/${jboss.version}-logs/compile.log" append="true">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/test/build.xml"/>
+ </exec>
+ </sequential>
+ </target>
+
+ <macrodef name="tests">
+ <attribute name="jboss.home" default=""/>
+ <attribute name="jboss.version" default=""/>
+ <sequential>
+ <exec executable="ant" output="${log.dir}/@{jboss.version}-logs/tests.log" append="true">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/testsuite/build.xml -Djboss-junit-configuration=@{jboss.version} tests"/>
+ <env key="PATH" path="/opt/apache-ant-1.6.5/bin:${env.PATH}"/>
+ <env key="JBOSS_HOME" path="@{jboss.home}"/>
+ <env key="ANT_HOME" path="/opt/apache-ant-1.6.5"/>
+ </exec>
+ </sequential>
+ </macrodef>
+
+ <target name="copyresults">
+ <sequential>
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/testsuite/output/reports"/>
+ </copy>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <macrodef name="copylogs">
+ <attribute name="jboss.home" default=""/>
+ <attribute name="jboss.version" default=""/>
+ <sequential>
+ <copy todir="${log.dir}/@{jboss.version}-logs">
+ <fileset dir="@{jboss.home}/server/default/" includes="log/*.log"/>
+ </copy>
+ <copy todir="${log.dir}/@{jboss.version}-logs">
+ <fileset dir="../checkout/${jboss.dir}/testsuite/output/logs"/>
+ </copy>
+ </sequential>
+ </macrodef>
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-portal.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-remoting.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-remoting.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-remoting.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,102 @@
+<project name="build-jboss-remoting" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <property name="jboss-remoting-testsuite-1.4-jdk" value="/opt/j2sdk1.4.2_05/"/>
+ <property name="jboss-remoting-testsuite-1.5-jdk" value="/opt/jdk1.5.0_03/"/>
+ <property name="jboss-remoting-testsuite-1.6-jdk" value="/opt/i586/jdk1.6.0-beta/"/>
+ <propertycopy name="jdk.version" from="${jboss.dir}-jdk"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d ${jboss.dir} JBossRemoting" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbossremoting project">
+ <sequential>
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml most"/>
+ <env key="PATH" path="${jdk.version}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${jdk.version}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jbossremoting tests">
+ <sequential>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml -propertyfile jdbc.properties tests"/>
+ <env key="ANT_OPTS" value="-Xmx256m -Djava.awt.headless=true"/>
+ <env key="PATH" path="${jdk.version}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${jdk.version}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/tests/results"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/tests/results/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <copy todir="${log.dir}" failonerror="false">
+ <fileset dir="../checkout/${jboss.dir}/output/tests/performance/" includes="*.html"/>
+ </copy>
+ <copy todir="${log.dir}" failonerror="false" file="../checkout/${jboss.dir}/output/tests/performance/benchmarkChart.jpg"/>
+ <copy todir="${log.dir}" failonerror="false" file="../checkout/${jboss.dir}/output/tests/performance/root_benchmark.txt"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-remoting.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-seam-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-seam-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-seam-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,158 @@
+<project name="build-jboss-seam-testsuite" default="build">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property environment="env"/>
+ <import file="build-common-targets.xml"/>
+
+ <tstamp>
+ <format property="TIMENOW" pattern="yyyy-MM-dd" timezone="GMT"/>
+ </tstamp>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d ${jboss.dir} jboss-seam" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true"
+output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbosscache project">
+ <sequential>
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml dist -Dversion=CVS -Dpatchlevel=${DSTAMP}"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="build.success"/>
+ <param name="result.property" value="${build.returncode}"/>
+ <param name="error.message" value="See compile.log in Build Artifacts for details."/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jboss-seam tests">
+ <sequential>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml testall"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <mkdir dir="${log.dir}/results/tests"/>
+ <copy todir="${log.dir}/results/tests">
+ <fileset dir="test-output"/>
+ </copy>
+ <delete dir="test-output"/>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="tests.success"/>
+ <param name="result.property" value="${tests.returncode}"/>
+ <param name="error.message" value="Core tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+
+ <exec executable="ant" resultproperty="booking.tests.returncode" failonerror="false" output="${log.dir}/tests.log" append="true">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/examples/booking/build.xml testexample"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <mkdir dir="${log.dir}/results/booking"/>
+ <copy todir="${log.dir}/results/booking">
+ <fileset dir="../checkout/${jboss.dir}/examples/booking/test-output"/>
+ </copy>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="booking.tests.success"/>
+ <param name="result.property" value="${booking.tests.returncode}"/>
+ <param name="error.message" value="Booking example tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+
+ <exec executable="ant" resultproperty="hibernate.tests.returncode" failonerror="true" output="${log.dir}/tests.log" append="true">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/examples/hibernate/build.xml testexample"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <mkdir dir="${log.dir}/results/hibernate"/>
+ <copy todir="${log.dir}/results/hibernate">
+ <fileset dir="../checkout/${jboss.dir}/examples/hibernate/test-output"/>
+ </copy>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="hibernate.tests.success"/>
+ <param name="result.property" value="${hibernate.tests.returncode}"/>
+ <param name="error.message" value="Hibernate example tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+
+ <exec executable="ant" resultproperty="registration.tests.returncode" failonerror="true" output="${log.dir}/tests.log" append="true">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/examples/registration/build.xml testexample"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <mkdir dir="${log.dir}/results/registration"/>
+ <copy todir="${log.dir}/results/registration">
+ <fileset dir="../checkout/${jboss.dir}/examples/registration/test-output"/>
+ </copy>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="registration.tests.success"/>
+ <param name="result.property" value="${registration.tests.returncode}"/>
+ <param name="error.message" value="Registration example tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the artifacts directory">
+ <copy file="index-jboss-seam.html" tofile="${log.dir}/results/index.html"/>
+ <delete dir="../checkout/jboss-seam-CVS.${DSTAMP}"/>
+ <copy todir="../artifacts/jboss-seam-builds">
+ <fileset dir="../checkout/" includes="jboss-seam-CVS*.*"/>
+ </copy>
+ <delete>
+ <fileset dir="../checkout" includes="jboss-seam-CVS*.*"/>
+ </delete>
+ <exec dir="../artifacts/jboss-seam-builds" executable="bash">
+ <arg value="-c"/>
+ <arg value="rm -f `find -type f -mtime +7`"/>
+ </exec>
+ </target>
+
+ <target name="test-build-failures" depends="copyresults" description="Tests errors and failures">
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results/tests"/>
+ <param name="fileset.includes" value="Core.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results/booking"/>
+ <param name="fileset.includes" value="Booking.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results/hibernate"/>
+ <param name="fileset.includes" value="Booking.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results/registration"/>
+ <param name="fileset.includes" value="Register.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-seam-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-serialization-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-serialization-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-serialization-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,114 @@
+<project name="build-jboss-serialization" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/jboss-serialization-testsuite"/>
+ <property name="proj.dir" value="../checkout/jboss-serialization-testsuite/"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${proj.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d jboss-serialization-testsuite jboss-serialization" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbossweb project">
+ <exec executable="ant" resultproperty="build.14.returncode" failonerror="false" output="${log.dir}/build-jdk14.log">
+ <arg line=" -buildfile ${proj.dir}/build.xml compile"/>
+ </exec>
+ <condition property="build.14.success">
+ <equals arg1="${build.14.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.14.success">
+ Exit code: ${build.14.returncode}
+ See build-jdk14.log in Build Artifacts for details.
+ </fail>
+ <exec executable="ant" resultproperty="build.15.returncode" failonerror="false" output="${log.dir}/build-jdk15.log">
+ <arg line=" -buildfile ${proj.dir}/build.xml clean compile"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <condition property="build.15.success">
+ <equals arg1="${build.15.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.15.success">
+ Exit code: ${build.15.returncode}
+ See build-jdk15.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="runtestsuite" depends="build" description="Runs jboss-serialization tests with different JVM's">
+ <antcall target="runtests">
+ <param name="jvm.config" value="sun-jdk14"/>
+ <param name="java.home.dir" value="/opt/j2sdk1.4.2_09"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jvm.config" value="sun-jdk15"/>
+ <param name="java.home.dir" value="/opt/jdk1.5.0_03"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jvm.config" value="sun-jdk16"/>
+ <param name="java.home.dir" value="/opt/i586/jdk1.6.0-beta"/>
+ </antcall>
+<!-- <antcall target="runtests">
+ <param name="jvm.config" value="jrockit-jdk14"/>
+ <param name="java.home.dir" value="/opt/jrockit-j2sdk1.4.2_05"/>
+ </antcall>-->
+ <antcall target="runtests">
+ <param name="jvm.config" value="jrockit-jdk15"/>
+ <param name="java.home.dir" value="/opt/jrockit-jdk1.5.0_03"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jvm.config" value="ibm-jdk14"/>
+ <param name="java.home.dir" value="/opt/IBMJava2-142"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="jvm.config" value="ibm-jdk15"/>
+ <param name="java.home.dir" value="/opt/ibm-java2-i386-50"/>
+ </antcall>
+ </target>
+
+ <target name="runtests">
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/test-${jvm.config}.log">
+ <arg line=" -buildfile ${proj.dir}/build.xml run-tests -Djvm-config=${jvm.config}"/>
+ <env key="PATH" path="${java.home.dir}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java.home.dir}"/>
+ </exec>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See test-${jvm.config}.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="generatereports" depends="runtestsuite" description="Generates HTML reports">
+ <exec executable="ant" dir="${proj.dir}">
+ <arg line="test-reports"/>
+ </exec>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/build/test-results"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/build/test-results/report"/>
+ </copy>
+ <delete dir="${log.dir}/results/report"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jboss-serialization-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbosslabs.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbosslabs.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbosslabs.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,94 @@
+<project name="build-jbosslabs" default="copyresults">
+
+ <property name="log.dir" value="${basedir}/logbuild/jbosslabs"/>
+ <property name="proj.dir" value="../checkout/jbosslabs/"/>
+ <property environment="env"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${proj.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <svn>
+ <checkout url="http://anonsvn.labs.jboss.com/labs/jbosslabs/trunk/portal-extensions" destPath="../checkout/jbosslabs"/>
+ </svn>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbosslabs project">
+
+ <exec dir="${proj.dir}" executable="bash">
+ <arg value="-c"/>
+ <arg value="sed -e 's/local.server.dir=/local.server.dir=\/home\/cruisecontrol\/jboss-4.0.3SP1/g' build.properties.sample > build.properties"/>
+ </exec>
+
+ <exec dir="${proj.dir}/jbosswiki" executable="bash">
+ <arg value="-c"/>
+ <arg value="sed -e 's/local.server.dir=/local.server.dir=\/home\/cruisecontrol\/jboss-4.0.3SP1/g' build.properties.sample > build.properties"/>
+ </exec>
+ <exec dir="${proj.dir}/shotoku" executable="bash">
+ <arg value="-c"/>
+ <arg value="sed -e 's/local.server.dir=/local.server.dir=\/home\/cruisecontrol\/jboss-4.0.3SP1/g' build.properties.sample > build.properties.temp"/>
+ </exec>
+ <exec dir="${proj.dir}/shotoku" executable="bash">
+ <arg value="-c"/>
+ <arg value="sed -e 's/shotoku.root.dir=/shotoku.root.dir=\/home\/cruisecontrol\/work\/checkout\/jbosslabs\/shotoku/g' build.properties.temp > build.properties"/>
+ </exec>
+ <move file="${proj.dir}/forge-login/to-copy/portal-login-ds.xml.sample" tofile="${proj.dir}/forge-login/to-copy/portal-login-ds.xml"/>
+ <move file="${proj.dir}/forge-common/src/etc/org/jboss/forge/common/forge.properties.sample" tofile="${proj.dir}/forge-common/src/etc/org/jboss/forge/common/forge.properties"/>
+
+ <exec dir="${proj.dir}" executable="maven" failonerror="false" resultproperty="build.returncode" output="${log.dir}/build.log">
+ <arg line="all"/>
+ <env key="PATH" path="/opt/jdk1.5.0_05/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_05/"/>
+ </exec>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="build.success"/>
+ <param name="result.property" value="${build.returncode}"/>
+ <param name="error.message" value="See build.log in Build Artifacts for details."/>
+ </antcall>
+ </target>
+
+ <target name="generatereports" depends="build" description="Generates HTML reports">
+ <mkdir dir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/reports"/>
+ <junitreport todir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/reports">
+ <fileset dir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames"
+ todir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/reports"/>
+ </junitreport>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <sequential>
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results" flatten="true">
+ <fileset dir="${proj.dir}/jbosswiki/wiki-common/target/test-reports/" includes="TEST-*.xml"/>
+ </copy>
+
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </sequential>
+ </target>
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbosslabs.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossretro-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossretro-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossretro-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,84 @@
+<project name="build-jbossretro-testsuite" default="build">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+
+ <property environment="env"/>
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/${jboss.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d ${jboss.dir} jbossretro" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true"
+output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jbossretro project">
+ <sequential>
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/compile.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml dist"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="build.success"/>
+ <param name="result.property" value="${build.returncode}"/>
+ <param name="error.message" value="See compile.log in Build Artifacts for details."/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jbossretro tests">
+ <sequential>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/tests.log">
+ <arg line=" -buildfile ../checkout/${jboss.dir}/build.xml tests"/>
+ </exec>
+
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="${jboss.dir}"/>
+ </antcall>
+
+ <antcall target="test-target-failure">
+ <param name="failure.property" value="tests.success"/>
+ <param name="result.property" value="${tests.returncode}"/>
+ <param name="error.message" value="Core tests failed. See tests.log in Build Artifacts for details."/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the artifacts directory">
+ <junitreport todir="../checkout/${jboss.dir}/output/reports">
+ <fileset dir="../checkout/${jboss.dir}/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames"
+ todir="../checkout/${jboss.dir}/output/reports"/>
+ </junitreport>
+
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/${jboss.dir}/output/reports"/>
+ </copy>
+
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossretro-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb-windows.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb-windows.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb-windows.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,88 @@
+<project name="build-jbossweb-windows" default="copyresults">
+
+ <property name="log.dir" value="${basedir}/logbuild/jbossweb-windows"/>
+ <property name="proj.dir" value="../jbossweb-builder/"/>
+ <property name="checkout.dir" value="../checkout/jbossweb/"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <delete dir="${checkout.dir}"/>
+ <mkdir dir="${checkout.dir}"/>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${checkout.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="build" depends="clean" description="Build the jbossweb project">
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/build.log">
+ <arg line=" -buildfile ${proj.dir}/build-windows.xml build"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="runtestsuite" depends="build" description="Deploys JBossWeb on different platforms and runs the testsuite">
+ <antcall target="runtests">
+ <param name="platform" value="windows-i586"/>
+ <param name="remote.address" value="10.4.0.47"/>
+ <param name="target.os" value="windows"/>
+ <param name="buildworld.command" value="dll"/>
+ <param name="buildsvc.command" value="d"/>
+ <param name="arch" value="x86"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="platform" value="windows-amd64"/>
+ <param name="remote.address" value="10.4.0.47"/>
+ <param name="target.os" value="windows"/>
+ <param name="buildworld.command" value="dll"/>
+ <param name="buildsvc.command" value=""/>
+ <param name="arch" value="amd64"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="platform" value="windows-ia64"/>
+ <param name="remote.address" value="10.4.0.50"/>
+ <param name="target.os" value="windows"/>
+ <param name="buildworld.command" value="sdk"/>
+ <param name="buildsvc.command" value=""/>
+ <param name="arch" value="ia64"/>
+ </antcall>
+ </target>
+
+ <target name="runtests">
+ <mkdir dir="${log.dir}/${platform}"/>
+ <delete dir="${proj.dir}/output/autobench"/>
+ <mkdir dir="${proj.dir}/output/autobench"/>
+ <exec executable="ant" resultproperty="tests.returncode" failonerror="false" output="${log.dir}/${platform}/${platform}-build.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/build-windows.xml package startJBossWeb
+ -Djbossweb.address=${remote.address} -Ddaemon.address=${remote.address}
+ -Dplatform=${platform} -Dtarget.os=${target.os}
+ -Dbuildworld.command=${buildworld.command} -Dbuildsvc.command=${buildsvc.command} -Darch=${arch}"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <copy todir="${log.dir}/${platform}">
+ <fileset dir="${proj.dir}/output/autobench" includes="*.*"/>
+ </copy>
+ <copy todir="${log.dir}/${platform}">
+ <fileset dir="${proj.dir}/output/${platform}" includes="*.zip"/>
+ </copy>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See ${platform}/${platform}-build.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb-windows.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,130 @@
+<project name="build-jbossweb" default="copyresults">
+
+ <property name="log.dir" value="${basedir}/logbuild/jbossweb"/>
+ <property name="proj.dir" value="../jbossweb-builder/"/>
+ <property name="checkout.dir" value="../checkout/jbossweb/"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <delete dir="${checkout.dir}"/>
+ <mkdir dir="${checkout.dir}"/>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${checkout.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="build" depends="clean" description="Build the jbossweb project">
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" output="${log.dir}/build.log">
+ <arg line=" -buildfile ${proj.dir}/build.xml build"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="runtestsuite" depends="build" description="Deploys JBossWeb on different platforms and runs the testsuite">
+ <delete dir="${proj.dir}/output/autobench"/>
+ <mkdir dir="${proj.dir}/output/autobench"/>
+
+ <mkdir dir="${log.dir}/linux-i686"/>
+ <exec executable="ant" resultproperty="linux-i686.tests.returncode" failonerror="false" output="${log.dir}/linux-i686/linux-i686-build.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/build.xml package startJBossWeb -Djbossweb.address=10.64.8.240 -Ddaemon.address=10.64.8.240 -Dplatform=linux-i686 -Djava.home.dir=/opt/jdk1.5.0_06 -Dtarget.os=unix"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <copy todir="${log.dir}/linux-i686">
+ <fileset dir="${proj.dir}/output/autobench" includes="*.*"/>
+ </copy>
+ <copy todir="${log.dir}/linux-i686">
+ <fileset dir="${proj.dir}/output/linux-i686" includes="*.gz"/>
+ </copy>
+ <condition property="linux-i686.tests.success">
+ <equals arg1="${linux-i686.tests.returncode}" arg2="0"/>
+ </condition>
+
+
+ <mkdir dir="${log.dir}/linux-ia64"/>
+ <exec executable="ant" resultproperty="linux-ia64.tests.returncode" failonerror="false" output="${log.dir}/linux-ia64/linux-ia64-build.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/build.xml package startJBossWeb -Djbossweb.address=10.64.68.240 -Ddaemon.address=10.64.68.240 -Dplatform=linux-ia64 -Djava.home.dir=/opt/ia64/jrockit-jdk1.5.0_03 -Dtarget.os=unix"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <copy todir="${log.dir}/linux-ia64">
+ <fileset dir="${proj.dir}/output/autobench" includes="*.*"/>
+ </copy>
+ <copy todir="${log.dir}/linux-ia64">
+ <fileset dir="${proj.dir}/output/linux-ia64" includes="*.gz"/>
+ </copy>
+ <condition property="linux-ia64.tests.success">
+ <equals arg1="${linux-ia64.tests.returncode}" arg2="0"/>
+ </condition>
+
+
+ <mkdir dir="${log.dir}/linux-x86_64"/>
+ <exec executable="ant" resultproperty="linux-x86_64.tests.returncode" failonerror="false" output="${log.dir}/linux-x86_64/linux-x86_64-build.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/build.xml package startJBossWeb -Djbossweb.address=10.64.64.240 -Ddaemon.address=10.64.64.240 -Dplatform=linux-x86_64 -Djava.home.dir=/opt/x86_64/jdk1.5.0_05 -Dtarget.os=unix"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <copy todir="${log.dir}/linux-x86_64">
+ <fileset dir="${proj.dir}/output/autobench" includes="*.*"/>
+ </copy>
+ <copy todir="${log.dir}/linux-x86_64">
+ <fileset dir="${proj.dir}/output/linux-x86_64" includes="*.gz"/>
+ </copy>
+ <condition property="linux-x86_64.tests.success">
+ <equals arg1="${linux-x86_64.tests.returncode}" arg2="0"/>
+ </condition>
+
+
+ <mkdir dir="${log.dir}/solaris-sparc"/>
+ <exec executable="ant" resultproperty="solaris-sparc.tests.returncode" failonerror="false" output="${log.dir}/solaris-sparc/solaris-sparc-build.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/build.xml package startJBossWeb -Djbossweb.address=10.64.44.240 -Ddaemon.address=10.64.44.240 -Dplatform=solaris-sparc -Djava.home.dir=/opt/jdk1.5.0_05 -Dtarget.os=unix"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <copy todir="${log.dir}/solaris-sparc">
+ <fileset dir="${proj.dir}/output/autobench" includes="*.*"/>
+ </copy>
+ <copy todir="${log.dir}/solaris-sparc">
+ <fileset dir="${proj.dir}/output/solaris-sparc" includes="*.gz"/>
+ </copy>
+ <condition property="solaris-sparc.tests.success">
+ <equals arg1="${solaris-sparc.tests.returncode}" arg2="0"/>
+ </condition>
+
+
+ <fail unless="linux-i686.tests.success">
+ Exit code: ${linux-i686.tests.returncode}
+ See linux-i686/linux-i686-build.log in Build Artifacts for details.
+ </fail>
+ <fail unless="linux-ia64.tests.success">
+ Exit code: ${linux-ia64.tests.returncode}
+ See linux-ia64/linux-ia64-build.log in Build Artifacts for details.
+ </fail>
+ <fail unless="linux-x86_64.tests.success">
+ Exit code: ${linux-x86_64.tests.returncode}
+ See linux-x86_64/linux-x86_64-build.log in Build Artifacts for details.
+ </fail>
+ <fail unless="solaris-sparc.tests.success">
+ Exit code: ${solaris-sparc.tests.returncode}
+ See solaris-sparc/solaris-sparc-build.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossweb.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossws-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossws-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossws-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,134 @@
+<project name="build-jbossws-testsuite" default="copyresults">
+
+ <property name="log.dir" value="${basedir}/logbuild/${jboss.dir}"/>
+ <property name="proj.dir" value="../checkout/${jboss.dir}"/>
+ <property environment="env"/>
+
+ <property file="cruisecontrol.properties"/>
+
+ <path id="project.classpath">
+ <fileset dir="../../svnant/lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="/opt/apache-ant-1.6.2/lib/ant-contrib.jar"/>
+ </classpath>
+ </taskdef>
+
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <property name="jbossws-4.0-testsuite-1.4-jdk" value="${java14}"/>
+ <property name="jbossws-4.0-testsuite-1.5-jdk" value="${java15}"/>
+ <property name="jbossws-head-testsuite-1.5-jdk" value="${java15}"/>
+ <propertycopy name="java.home.dir" from="${jboss.dir}-jdk"/>
+
+ <property name="jbossws-4.0-testsuite-1.4-url" value="http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-1.0"/>
+ <property name="jbossws-4.0-testsuite-1.5-url" value="http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-1.0"/>
+ <property name="jbossws-head-testsuite-1.5-url" value="http://anonsvn.jboss.org/repos/jbossws/trunk"/>
+ <propertycopy name="jbossws.svn.url" from="${jboss.dir}-url"/>
+
+ <property name="jbossws-4.0-testsuite-1.4-jboss" value="${jboss-40x-14}"/>
+ <property name="jbossws-4.0-testsuite-1.5-jboss" value="${jboss-40x-15}"/>
+ <property name="jbossws-head-testsuite-1.5-jboss" value="${jboss-head}"/>
+ <propertycopy name="jboss.home" from="${jboss.dir}-jboss"/>
+
+ <property name="jbossws-4.0-testsuite-1.5-properties" value="jbossws-4.0.properties"/>
+ <property name="jbossws-head-testsuite-1.5-properties" value="jbossws-head.properties"/>
+ <propertycopy name="jbossws.properties" from="${jboss.dir}-properties"/>
+
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${proj.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <svn>
+ <checkout url="${jbossws.svn.url}" destPath="${proj.dir}"/>
+ </svn>
+ </target>
+
+ <target name="build" depends="getcode" description="Build jbossws project">
+ <sequential>
+ <copy file="${jbossws.properties}" tofile="${proj.dir}/ant.properties"/>
+ <exec executable="ant" failonerror="false" dir="${proj.dir}" resultproperty="build.returncode" output="${log.dir}/compilejbossws.log">
+ <arg line="-Djboss.home=${jboss.home}"/>
+ <env key="PATH" path="${java15}/bin:${ant-ws}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java15}"/>
+ <env key="ANT_HOME" path="${ant-ws}"/>
+ </exec>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compilejbossws.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jbossws tests">
+ <sequential>
+ <antcall target="kill"/>
+
+ <exec executable="ant" failonerror="false" dir="${proj.dir}" output="${log.dir}/deploy.log">
+ <arg line="deploy-jbossws -Djboss.home=${jboss.home}"/>
+ <env key="PATH" path="${java.home.dir}/bin:${ant-ws}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java.home.dir}"/>
+ <env key="ANT_HOME" path="${ant-ws}"/>
+ </exec>
+
+ <antcall target="startserver">
+ <param name="jboss.home" value="${jboss.home}"/>
+ <param name="java.home.dir" value="${java.home.dir}"/>
+ <param name="config" value="default"/>
+ <param name="node" value="localhost"/>
+ </antcall>
+
+ <exec executable="ant" failonerror="false" dir="${proj.dir}/src/test" resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line="clean tests -Djboss.home=${jboss.home}"/>
+ <env key="PATH" path="${java.home.dir}/bin:${ant-ws}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java.home.dir}"/>
+ <env key="ANT_HOME" path="${ant-ws}"/>
+ </exec>
+
+ <antcall target="stopserver">
+ <param name="jboss.home" value="${jboss.home}"/>
+ <param name="java.home.dir" value="${java.home.dir}"/>
+ <param name="node" value="localhost"/>
+ </antcall>
+ <antcall target="kill"/>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/output/tests/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/output/tests/reports/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbossws-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm-db-matrix.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm-db-matrix.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm-db-matrix.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,128 @@
+<project name="build-jbpm-db-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jbpm"/>
+ <property name="log.dir" value="${basedir}/logbuild/jbpm-db-matrix"/>
+ <property name="proj.dir" value="../checkout/jbpm-db-matrix"/>
+ <property name="jbpm.db" value="${proj.dir}/jbpm.db"/>
+ <property environment="env"/>
+
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="${proj.dir}"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -P -r branch_3_1 jbpm.3" cvsroot="${cvs.repository}" compressionlevel="3" dest="${proj.dir}" package="jbpm.3" output="${log.dir}/cvsco.log"/>
+ <cvs command="co -P jbpm.db" cvsroot="${cvs.repository}" compressionlevel="3" dest="${proj.dir}" package="jbpm.db" output="${log.dir}/cvsco.log" append="true"/>
+ </target>
+
+ <target name="build" depends="" description="Build the jbpm.3 project">
+ <sequential>
+ <delete file="${jbpm.db}/${db.name}/hibernate.properties"/>
+ <copy file="jbpm/${db.name}.properties" tofile="${jbpm.db}/${db.name}/hibernate.properties"/>
+
+ <exec executable="ant" resultproperty="build.returncode" failonerror="false" dir="${jbpm.db}" output="${log.dir}/build.log">
+ <arg line="prepare"/>
+ </exec>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See build.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the jbpm tests">
+ <exec executable="ant" failonerror="true" dir="${jbpm.db}" output="${log.dir}/scripts.log">
+ <arg line="${db.name}.scripts"/>
+ </exec>
+ <exec executable="ant" failonerror="false" dir="${jbpm.db}"
+ resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line="${db.name}.test"/>
+ </exec>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="copyresults" depends="tests" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${jbpm.db}/build/${db.name}/testresults"/>
+ </copy>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results/xml"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+
+ <target name="copyjbpmconfig" description="Copies jbpm.test.cfg.xml to use db specific hibernate.properties">
+ <delete file="${proj.dir}/jbpm.3/src/java.jbpm.test/org/jbpm/jbpm.test.cfg.xml"/>
+ <copy file="jbpm/jbpm.test.cfg.xml" todir="${proj.dir}/jbpm.3/src/java.jbpm.test/org/jbpm/"/>
+ </target>
+
+
+ <target name="hsqldb">
+ <antcall target="copyresults">
+ <param name="db.name" value="hsqldb"/>
+ </antcall>
+ </target>
+
+ <target name="mysql">
+ <antcall target="copyjbpmconfig"/>
+ <antcall target="copyresults">
+ <param name="db.name" value="mysql"/>
+ </antcall>
+ </target>
+
+ <target name="oracle">
+ <copy file="/opt/jdbc-drivers/ojdbc14.jar" todir="${jbpm.db}/oracle/lib"/>
+ <antcall target="copyjbpmconfig"/>
+ <antcall target="copyresults">
+ <param name="db.name" value="oracle"/>
+ </antcall>
+ </target>
+
+ <target name="sybase">
+ <antcall target="copyjbpmconfig"/>
+ <antcall target="copyresults">
+ <param name="db.name" value="sybase"/>
+ </antcall>
+ </target>
+
+ <target name="db2">
+ <copy file="/opt/jdbc-drivers/db2jcc.jar" todir="${jbpm.db}/db2/lib"/>
+ <copy file="/opt/jdbc-drivers/db2jcc_license_cu.jar" todir="${jbpm.db}/db2/lib"/>
+ <antcall target="copyjbpmconfig"/>
+ <antcall target="copyresults">
+ <param name="db.name" value="db2"/>
+ </antcall>
+ </target>
+
+ <target name="mssql">
+ <antcall target="copyjbpmconfig"/>
+ <antcall target="copyresults">
+ <param name="db.name" value="mssql"/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm-db-matrix.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm.3.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm.3.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm.3.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,76 @@
+<project name="build-jbpm.3" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jbpm"/>
+ <property name="log.dir" value="${basedir}/logbuild/jbpm.3"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/jbpm.3"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${env.JAVA_HOME}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -P jbpm.3" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" package="jbpm.3" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="get.dependencies" depends="getcode" description="Build the project">
+ <exec executable="ant" failonerror="true" dir="../checkout/jbpm.3/build" output="${log.dir}/get_dependencies.log">
+ <arg line="get.dependencies"/>
+ </exec>
+ <exec executable="ant" failonerror="true" dir="../checkout/jbpm.3/build" output="${log.dir}/get_dependencies.log" append="true">
+ <arg line="get.docbook.support"/>
+ </exec>
+ </target>
+
+ <target name="install" depends="get.dependencies" description="Build the jms project">
+ <sequential>
+ <exec executable="ant" failonerror="false" dir="../checkout/jbpm.3/build" resultproperty="install.returncode" output="${log.dir}/install_jbpm_ant.log">
+ <arg line="install.jbpm.ant"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jbpm.3"/>
+ </antcall>
+ <condition property="install.success">
+ <equals arg1="${install.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="install.success">
+ Exit code: ${install.returncode}
+ See install_jbpm_ant.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="build" depends="install" description="Build the jms project">
+ <sequential>
+ <exec executable="ant" failonerror="false" dir="../checkout/jbpm.3/build" resultproperty="build.returncode" output="${log.dir}/build.log">
+ <arg line="build"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jbpm.3"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See build.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="copyresults" depends="build" description="Copies test results to the logbuild directory">
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jbpm.3.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jms-head-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jms-head-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jms-head-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,116 @@
+<project name="build-jms-head-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/jms-head-testsuite"/>
+ <property environment="env"/>
+
+ <property file="cruisecontrol.properties"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/jms-head-testsuite"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="${java15}"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d jms-head-testsuite jboss-head" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jboss-head project">
+ <sequential>
+ <exec executable="ant" failonerror="false" dir="../checkout/jms-head-testsuite/build" resultproperty="build.returncode" output="${log.dir}/compilejbosshead.log">
+ <arg line=""/>
+ <env key="PATH" path="${java15}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java15}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jms-head-testsuite"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compilejbosshead.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="buildjms" depends="build" description="Build the jms project">
+ <sequential>
+ <exec executable="ant" failonerror="false" dir="../checkout/jms-head-testsuite/jms/" resultproperty="buildjms.returncode" output="${log.dir}/compilejms.log">
+ <arg line=""/>
+ <env key="PATH" path="${java15}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java15}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jms-head-testsuite"/>
+ </antcall>
+ <condition property="buildjms.success">
+ <equals arg1="${buildjms.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="buildjms.success">
+ Exit code: ${buildjms.returncode}
+ See compilejms.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="buildjms" description="Runs the jms tests">
+ <sequential>
+ <antcall target="kill"/>
+ <exec executable="ant" failonerror="false" dir="../checkout/jms-head-testsuite/jms/tests" resultproperty="tests.returncode" output="${log.dir}/tests.log">
+ <arg line="-Dtest.bind.address=${MYTESTIP_1}"/>
+ <env key="PATH" path="${java15}/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="${java15}"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="jms-head-testsuite"/>
+ </antcall>
+ <condition property="tests.success">
+ <equals arg1="${tests.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.success">
+ Exit code: ${tests.returncode}
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="generatereports" depends="tests" description="Generates HTML reports">
+ <exec executable="ant" dir="../checkout/jms-head-testsuite/jms/tests">
+ <arg line="report"/>
+ </exec>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/jms-head-testsuite/jms/tests/output/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results">
+ <fileset dir="../checkout/jms-head-testsuite/jms/tests/output/reports/html"/>
+ </copy>
+ <delete dir="${log.dir}/results/html"/>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-jms-head-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-microcontainer-head-testsuite.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-microcontainer-head-testsuite.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-microcontainer-head-testsuite.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,183 @@
+<project name="build-microcontainer-head-testsuite" default="copyresults">
+
+ <property name="cvs.repository" value=":pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jboss"/>
+ <property name="log.dir" value="${basedir}/logbuild/microcontainer-head-testsuite"/>
+ <property name="proj.dir" value="../checkout/microcontainer-head-testsuite"/>
+ <property environment="env"/>
+
+ <import file="build-common-targets.xml"/>
+
+ <target name="clean" depends="" description="Cleans checkout directory">
+ <sequential>
+ <antcall target="clean.checkout">
+ <param name="checkout.dir" value="../checkout/microcontainer-head-testsuite"/>
+ <param name="artifacts.dir" value="${log.dir}"/>
+ </antcall>
+ <antcall target="version">
+ <param name="java.home" value="/opt/jdk1.5.0_03"/>
+ <param name="ant.home" value="${env.ANT_HOME}"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="getcode" depends="clean" description="Update packages from CVS">
+ <cvs command="co -d microcontainer-head-testsuite jboss-head" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout" failonerror="true" output="${log.dir}/cvsco.log"/>
+ </target>
+
+ <target name="build" depends="getcode" description="Build the jboss-head project">
+ <sequential>
+ <exec executable="ant" failonerror="false" resultproperty="build.returncode" output="${log.dir}/compilejbosshead.log">
+ <arg line=" -buildfile ${proj.dir}/build/build.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="microcontainer-head-testsuite"/>
+ </antcall>
+ <condition property="build.success">
+ <equals arg1="${build.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.success">
+ Exit code: ${build.returncode}
+ See compilejbosshead.log in Build Artifacts for details.
+ </fail>
+ </sequential>
+ </target>
+
+ <target name="tests" depends="build" description="Runs the container tests">
+ <sequential>
+ <antcall target="checkout-module">
+ <param name="checkout.module" value="container"/>
+ <param name="checkout.dir" value="container"/>
+ </antcall>
+ <antcall target="checkout-module">
+ <param name="checkout.module" value="jboss-dependency"/>
+ <param name="checkout.dir" value="dependency"/>
+ </antcall>
+ <antcall target="checkout-module">
+ <param name="checkout.module" value="microkernel"/>
+ <param name="checkout.dir" value="kernel"/>
+ </antcall>
+ <antcall target="checkout-module">
+ <param name="checkout.module" value="aop-mc-int"/>
+ <param name="checkout.dir" value="aop-mc-int"/>
+ </antcall>
+ <antcall target="build-module">
+ <param name="checkout.dir" value="container"/>
+ </antcall>
+ <antcall target="build-module">
+ <param name="checkout.dir" value="dependency"/>
+ </antcall>
+ <antcall target="build-module">
+ <param name="checkout.dir" value="kernel"/>
+ </antcall>
+ <antcall target="build-module">
+ <param name="checkout.dir" value="aop-mc-int"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="checkout.dir" value="container"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="checkout.dir" value="dependency"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="checkout.dir" value="kernel"/>
+ </antcall>
+ <antcall target="runtests">
+ <param name="checkout.dir" value="aop-mc-int"/>
+ </antcall>
+ <antcall target="copylogs">
+ <param name="dest.dir" value="${log.dir}"/>
+ <param name="proj.dir" value="microcontainer-head-testsuite"/>
+ </antcall>
+ </sequential>
+ </target>
+
+ <target name="checkout-module">
+ <cvs command="co -d ${checkout.dir} ${checkout.module}" cvsroot="${cvs.repository}" compressionlevel="3" dest="../checkout/microcontainer-head-testsuite/" failonerror="true" output="${log.dir}/cvsco.log" append="true"/>
+ </target>
+
+ <target name="build-module" description="Runs the microcontainer tests">
+ <exec executable="ant" failonerror="false" resultproperty="build.${checkout.dir}.returncode" output="${log.dir}/compile.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/${checkout.dir}/build.xml"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <condition property="build.${checkout.dir}.success">
+ <equals arg1="${build.container.returncode}" arg2="0"/>
+ </condition>
+ <condition property="build.${checkout.dir}.success">
+ <equals arg1="${build.dependency.returncode}" arg2="0"/>
+ </condition>
+ <condition property="build.${checkout.dir}.success">
+ <equals arg1="${build.kernel.returncode}" arg2="0"/>
+ </condition>
+ <condition property="build.${checkout.dir}.success">
+ <equals arg1="${build.aop-mc-int.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="build.${checkout.dir}.success">
+ See compile.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="runtests" description="Runs the microcontainer tests">
+ <exec executable="ant" failonerror="false" resultproperty="tests.${checkout.dir}.returncode" output="${log.dir}/tests.log" append="true">
+ <arg line=" -buildfile ${proj.dir}/${checkout.dir}/build-test.xml tests"/>
+ <env key="PATH" path="/opt/jdk1.5.0_03/bin:${env.PATH}"/>
+ <env key="JAVA_HOME" path="/opt/jdk1.5.0_03"/>
+ </exec>
+ <condition property="tests.${checkout.dir}.success">
+ <equals arg1="${tests.container.returncode}" arg2="0"/>
+ </condition>
+ <condition property="tests.${checkout.dir}.success">
+ <equals arg1="${tests.dependency.returncode}" arg2="0"/>
+ </condition>
+ <condition property="tests.${checkout.dir}.success">
+ <equals arg1="${tests.kernel.returncode}" arg2="0"/>
+ </condition>
+ <condition property="tests.${checkout.dir}.success">
+ <equals arg1="${tests.aop-mc-int.returncode}" arg2="0"/>
+ </condition>
+ <fail unless="tests.${checkout.dir}.success">
+ See tests.log in Build Artifacts for details.
+ </fail>
+ </target>
+
+ <target name="generatereports" depends="tests" description="Generates HTML reports">
+ <mkdir dir="${proj.dir}/build/reports"/>
+ <junitreport todir="${proj.dir}/build/reports">
+ <fileset dir="${proj.dir}/container/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <fileset dir="${proj.dir}/dependency/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <fileset dir="${proj.dir}/kernel/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <fileset dir="${proj.dir}/aop-mc-int/output/reports">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames"
+ todir="${proj.dir}/build/reports"/>
+ </junitreport>
+ </target>
+
+ <target name="copyresults" depends="generatereports" description="Copies test results to the logbuild directory">
+ <mkdir dir="${log.dir}/results"/>
+ <copy todir="${log.dir}/results">
+ <fileset dir="${proj.dir}/build/reports"/>
+ </copy>
+ <copy todir="${log.dir}/results" flatten="true">
+ <fileset dir="${proj.dir}/" includes="**/TEST-*.xml"/>
+ </copy>
+ <antcall target="test-build-failure">
+ <param name="fileset.dir" value="${log.dir}/results"/>
+ <param name="fileset.includes" value="TEST-*.xml"/>
+ <param name="error.text" value="errors="0""/>
+ <param name="failure.text" value="failures="0""/>
+ </antcall>
+ </target>
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/build-microcontainer-head-testsuite.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/committer-list.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/committer-list.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/committer-list.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,3 @@
+#svn username and password to checkout committer-list.xml
+svn.username=
+svn.password=
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/committer-list.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/create-committer-list.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/create-committer-list.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/create-committer-list.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,2 @@
+sed -e 's/realname="[^"]*"//g' committer-list.xml >committer-list-temp.xml
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/create-committer-list.sh
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/cruisecontrol.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/cruisecontrol.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/cruisecontrol.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+
+jboss-head=/home/cruisecontrol/work/checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta
+jboss-40x-14=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1
+jboss-40x-15=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1-ejb3
+
+java15=/opt/jdk1.5.0_05
+java14=/opt/j2sdk1.4.2_09
+
+ant-ws=/opt/apache-ant-1.6.5-ws
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/cruisecontrol.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/customize.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/customize.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/customize.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,10 @@
+ssh.key=/home/cruisecontrol/.ssh/id_rsa
+ssh.passphrase=
+build.output.directory=/home/cruisecontrol/work/scripts/logbuild/jbosside/output
+releng.root=/home/cruisecontrol/work/checkout/jbosside/releng/org.jboss.ide.eclipse.releng/
+enable.publishing=true
+enable.notification=true
+build.script.ext=sh
+enable.downloads.update=true
+svn.username=
+svn.password=
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/customize.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/db2.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/db2.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/db2.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+#DB2
+
+hibernate.dialect org.hibernate.dialect.DB2Dialect
+hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
+hibernate.connection.url jdbc:db2://db2-priv:50000/testing
+hibernate.connection.username db2inst1
+hibernate.connection.password db2admin
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/db2.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hibernate.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hibernate.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hibernate.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,455 @@
+## HypersonicSQL
+
+hibernate.dialect org.hibernate.dialect.HSQLDialect
+hibernate.connection.driver_class org.hsqldb.jdbcDriver
+hibernate.connection.username sa
+hibernate.connection.password
+#hibernate.connection.url jdbc:hsqldb:hsql://localhost
+#hibernate.connection.url jdbc:hsqldb:test
+hibernate.connection.url jdbc:hsqldb:.
+
+
+## MySQL
+
+#hibernate.dialect org.hibernate.dialect.MySQLDialect
+#hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
+#hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
+#hibernate.connection.driver_class com.mysql.jdbc.Driver
+#hibernate.connection.url jdbc:mysql:///test
+#hibernate.connection.username gavin
+#hibernate.connection.password
+
+
+## Oracle
+
+#hibernate.dialect org.hibernate.dialect.OracleDialect
+#hibernate.dialect org.hibernate.dialect.Oracle9Dialect
+#hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
+#hibernate.connection.username ora
+#hibernate.connection.password ora
+#hibernate.connection.url jdbc:oracle:thin:@localhost:1521:orcl
+
+
+## PostgreSQL
+
+#hibernate.dialect org.hibernate.dialect.PostgreSQLDialect
+#hibernate.connection.driver_class org.postgresql.Driver
+#hibernate.connection.url jdbc:postgresql:template1
+#hibernate.connection.username pg
+#hibernate.connection.password
+
+
+## DB2
+
+#hibernate.dialect org.hibernate.dialect.DB2Dialect
+#hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
+#hibernate.connection.url jdbc:db2:test
+#hibernate.connection.username db2
+#hibernate.connection.password db2
+
+## TimesTen (not supported yet)
+
+#hibernate.dialect org.hibernate.dialect.TimesTenDialect
+#hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver
+#hibernate.connection.url jdbc:timesten:direct:test
+#hibernate.connection.username
+#hibernate.connection.password
+
+## DB2/400
+
+#hibernate.dialect org.hibernate.dialect.DB2400Dialect
+#hibernate.connection.username user
+#hibernate.connection.password password
+
+## Native driver
+#hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
+#hibernate.connection.url jdbc:db2://systemname
+
+## Toolbox driver
+#hibernate.connection.driver_class com.ibm.as400.access.AS400JDBCDriver
+#hibernate.connection.url jdbc:as400://systemname
+
+
+## Derby (Not supported!)
+
+#hibernate.dialect org.hibernate.dialect.DerbyDialect
+#hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
+#hibernate.connection.username
+#hibernate.connection.password
+#hibernate.connection.url jdbc:derby:/test;create=true
+
+
+## Sybase
+
+#hibernate.dialect org.hibernate.dialect.SybaseDialect
+#hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver
+#hibernate.connection.username sa
+#hibernate.connection.password sasasa
+#hibernate.connection.url jdbc:sybase:Tds:co3061835-a:5000/tempdb
+
+
+## Mckoi SQL
+
+#hibernate.dialect org.hibernate.dialect.MckoiDialect
+#hibernate.connection.driver_class com.mckoi.JDBCDriver
+#hibernate.connection.url jdbc:mckoi:///
+#hibernate.connection.url jdbc:mckoi:local://C:/mckoi1.0.3/db.conf
+#hibernate.connection.username admin
+#hibernate.connection.password nimda
+
+
+## SAP DB
+
+#hibernate.dialect org.hibernate.dialect.SAPDBDialect
+#hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB
+#hibernate.connection.url jdbc:sapdb://localhost/TST
+#hibernate.connection.username TEST
+#hibernate.connection.password TEST
+#hibernate.query.substitutions yes 'Y', no 'N'
+
+
+## MS SQL Server
+
+#hibernate.dialect org.hibernate.dialect.SQLServerDialect
+#hibernate.connection.username sa
+#hibernate.connection.password sa
+
+## JSQL Driver
+#hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver
+#hibernate.connection.url jdbc:JSQLConnect://1E1/test
+
+## JTURBO Driver
+#hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver
+#hibernate.connection.url jdbc:JTurbo://1E1:1433/test
+
+## WebLogic Driver
+#hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver
+#hibernate.connection.url jdbc:weblogic:mssqlserver4:1E1:1433
+
+## Microsoft Driver (not recommended!)
+#hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver
+#hibernate.connection.url jdbc:microsoft:sqlserver://1E1;DatabaseName=test;SelectMethod=cursor
+
+## jTDS (since version 0.9)
+#hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
+#hibernate.connection.url jdbc:jtds:sqlserver://1E1/test
+
+## Interbase
+
+#hibernate.dialect org.hibernate.dialect.InterbaseDialect
+#hibernate.connection.username sysdba
+#hibernate.connection.password masterkey
+
+## DO NOT specify hibernate.connection.sqlDialect
+
+## InterClient
+
+#hibernate.connection.driver_class interbase.interclient.Driver
+#hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb
+
+## Pure Java
+
+#hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver
+#hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb
+
+
+## Pointbase
+
+#hibernate.dialect org.hibernate.dialect.PointbaseDialect
+#hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver
+#hibernate.connection.url jdbc:pointbase:embedded:sample
+#hibernate.connection.username PBPUBLIC
+#hibernate.connection.password PBPUBLIC
+
+## Ingress
+
+#hibernate.dialect org.hibernate.dialect.IngresDialect
+#hibernate.connection.driver_class ca.edbc.jdbc.EdbcDriver
+#hibernate.connection.url jdbc:edbc://localhost:II7/database
+#hibernate.connection.username user
+#hibernate.connection.password password
+
+#################################
+### Hibernate Connection Pool ###
+#################################
+
+hibernate.connection.pool_size 1
+
+
+
+###########################
+### C3P0 Connection Pool###
+###########################
+
+#hibernate.c3p0.max_size 2
+#hibernate.c3p0.min_size 2
+#hibernate.c3p0.timeout 5000
+#hibernate.c3p0.max_statements 100
+#hibernate.c3p0.idle_test_period 3000
+#hibernate.c3p0.acquire_increment 2
+#hibernate.c3p0.validate false
+
+
+
+##############################
+### Proxool Connection Pool###
+##############################
+
+## Properties for external configuration of Proxool
+
+hibernate.proxool.pool_alias pool1
+
+## Only need one of the following
+
+#hibernate.proxool.existing_pool true
+#hibernate.proxool.xml proxool.xml
+#hibernate.proxool.properties proxool.properties
+
+
+
+#################################
+### Plugin ConnectionProvider ###
+#################################
+
+## use a custom ConnectionProvider (if not set, Hibernate will choose a built-in ConnectionProvider using hueristics)
+
+#hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.DatasourceConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.C3P0ConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.ProxoolConnectionProvider
+
+
+
+#######################
+### Transaction API ###
+#######################
+
+## Enable automatic flush during the JTA beforeCompletion() callback
+## (This setting is relevant with or without the Transaction API)
+
+#hibernate.transaction.flush_before_completion
+
+
+## Enable automatic session close at the end of transaction
+## (This setting is relevant with or without the Transaction API)
+
+#hibernate.transaction.auto_close_session
+
+
+## the Transaction API abstracts application code from the underlying JTA or JDBC transactions
+
+#hibernate.transaction.factory_class org.hibernate.transaction.JTATransactionFactory
+#hibernate.transaction.factory_class org.hibernate.transaction.JDBCTransactionFactory
+
+
+## to use JTATransactionFactory, Hibernate must be able to locate the UserTransaction in JNDI
+## default is java:comp/UserTransaction
+## you do NOT need this setting if you specify hibernate.transaction.manager_lookup_class
+
+#jta.UserTransaction jta/usertransaction
+#jta.UserTransaction javax.transaction.UserTransaction
+#jta.UserTransaction UserTransaction
+
+
+## to use the second-level cache with JTA, Hibernate must be able to obtain the JTA TransactionManager
+
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.WeblogicTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.WebSphereTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.OrionTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.ResinTransactionManagerLookup
+
+
+
+##############################
+### Miscellaneous Settings ###
+##############################
+
+## print all generated SQL to the console
+
+#hibernate.show_sql true
+
+
+## format SQL in log and console
+
+hibernate.format_sql true
+
+
+## add comments to the generated SQL
+
+#hibernate.use_sql_comments true
+
+
+## generate statistics
+
+#hibernate.generate_statistics true
+
+
+## auto schema export
+
+#hibernate.hbm2ddl.auto create-drop
+#hibernate.hbm2ddl.auto create
+#hibernate.hbm2ddl.auto update
+#hibernate.hbm2ddl.auto validate
+
+
+## specify a default schema and catalog for unqualified tablenames
+
+#hibernate.default_schema test
+#hibernate.default_catalog test
+
+
+## enable ordering of SQL UPDATEs by primary key
+
+#hibernate.order_updates true
+
+
+## set the maximum depth of the outer join fetch tree
+
+hibernate.max_fetch_depth 1
+
+
+## set the default batch size for batch fetching
+
+#hibernate.default_batch_fetch_size 8
+
+
+## rollback generated identifier values of deleted entities to default values
+
+#hibernate.use_identifer_rollback true
+
+
+## enable CGLIB reflection optimizer (enabled by default)
+
+#hibernate.cglib.use_reflection_optimizer false
+
+
+
+#####################
+### JDBC Settings ###
+#####################
+
+## specify a JDBC isolation level
+
+#hibernate.connection.isolation 4
+
+
+## enable JDBC autocommit (not recommended!)
+
+#hibernate.connection.autocommit true
+
+
+## set the JDBC fetch size
+
+#hibernate.jdbc.fetch_size 25
+
+
+## set the maximum JDBC 2 batch size (a nonzero value enables batching)
+
+#hibernate.jdbc.batch_size 5
+#hibernate.jdbc.batch_size 0
+
+
+## enable batch updates even for versioned data
+
+hibernate.jdbc.batch_versioned_data true
+
+
+## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default)
+
+#hibernate.jdbc.use_scrollable_resultset true
+
+
+## use streams when writing binary types to / from JDBC
+
+hibernate.jdbc.use_streams_for_binary true
+
+
+## use JDBC 3 PreparedStatement.getGeneratedKeys() to get the identifier of an inserted row
+
+#hibernate.jdbc.use_get_generated_keys false
+
+
+## choose a custom JDBC batcher
+
+# hibernate.jdbc.factory_class
+
+
+## enable JDBC result set column alias caching
+## (minor performance enhancement for broken JDBC drivers)
+
+# hibernate.jdbc.wrap_result_sets
+
+
+## choose a custom SQL exception converter
+
+#hibernate.jdbc.sql_exception_converter
+
+
+
+##########################
+### Second-level Cache ###
+##########################
+
+## optimize chache for minimal "puts" instead of minimal "gets" (good for clustered cache)
+
+#hibernate.cache.use_minimal_puts true
+
+
+## set a prefix for cache region names
+
+hibernate.cache.region_prefix hibernate.test
+
+
+## disable the second-level cache
+
+#hibernate.cache.use_second_level_cache false
+
+
+## enable the query cache
+
+#hibernate.cache.use_query_cache true
+
+
+## store the second-level cache entries in a more human-friendly format
+
+#hibernate.cache.use_structured_entries true
+
+
+## choose a cache implementation
+
+#hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.EmptyCacheProvider
+hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.TreeCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.OSCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.SwarmCacheProvider
+
+
+## choose a custom query cache implementation
+
+#hibernate.cache.query_cache_factory
+
+
+
+############
+### JNDI ###
+############
+
+## specify a JNDI name for the SessionFactory
+
+#hibernate.session_factory_name hibernate/session_factory
+
+
+## Hibernate uses JNDI to bind a name to a SessionFactory and to look up the JTA UserTransaction;
+## if hibernate.jndi.* are not specified, Hibernate will use the default InitialContext() which
+## is the best approach in an application server
+
+#file system
+#hibernate.jndi.class com.sun.jndi.fscontext.RefFSContextFactory
+#hibernate.jndi.url file:/
+
+#WebSphere
+#hibernate.jndi.class com.ibm.websphere.naming.WsnInitialContextFactory
+#hibernate.jndi.url iiop://localhost:900/
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hibernate.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hsql.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hsql.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hsql.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+## HypersonicSQL
+
+hibernate.dialect org.hibernate.dialect.HSQLDialect
+hibernate.connection.driver_class org.hsqldb.jdbcDriver
+hibernate.connection.username sa
+hibernate.connection.password
+hibernate.connection.url jdbc:hsqldb:.
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/hsql.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/jtds-sqlserver.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/jtds-sqlserver.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/jtds-sqlserver.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+## jTDS (since version 0.9)
+
+hibernate.dialect org.hibernate.dialect.SQLServerDialect
+hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
+hibernate.connection.url jdbc:jtds:sqlserver://dev16-priv:1433/cruisecontrol
+hibernate.connection.username cruisecontrol
+hibernate.connection.password cruisecontrol
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/jtds-sqlserver.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/log4j.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/log4j.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/log4j.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,47 @@
+### direct log messages to stdout ###
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+
+### direct messages to file hibernate.log ###
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.File=hibernate.log
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+
+### set log levels - for more verbose logging change 'info' to 'debug' ###
+
+log4j.rootLogger=warn, file
+
+#log4j.logger.org.hibernate=info
+log4j.logger.org.hibernate=debug
+
+### log HQL query parser activity
+#log4j.logger.org.hibernate.hql.ast.AST=debug
+
+### log just the SQL
+#log4j.logger.org.hibernate.SQL=debug
+
+### log JDBC bind parameters ###
+log4j.logger.org.hibernate.type=info
+#log4j.logger.org.hibernate.type=debug
+
+### log schema export/update ###
+log4j.logger.org.hibernate.tool.hbm2ddl=debug
+
+### log HQL parse trees
+#log4j.logger.org.hibernate.hql=debug
+
+### log cache activity ###
+#log4j.logger.org.hibernate.cache=debug
+
+### log transaction activity
+#log4j.logger.org.hibernate.transaction=debug
+
+### log JDBC resource acquisition
+#log4j.logger.org.hibernate.jdbc=debug
+
+### enable the following line if you want to track down connection ###
+### leakages when using DriverManagerConnectionProvider ###
+#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/log4j.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/mysql.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/mysql.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/mysql.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,6 @@
+
+hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
+hibernate.connection.driver_class com.mysql.jdbc.Driver
+hibernate.connection.url jdbc:mysql://dev01-priv/cruisecontrol
+hibernate.connection.username cruisecontrol
+hibernate.connection.password cruisecontrol
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/mysql.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/oracle10.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/oracle10.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/oracle10.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+## Oracle
+
+hibernate.dialect org.hibernate.dialect.Oracle9Dialect
+hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
+hibernate.connection.username cruisecontrol
+hibernate.connection.password cruisecontrol
+hibernate.connection.url jdbc:oracle:thin:@dev01-priv:1521:qadb01
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/oracle10.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/sybase.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/sybase.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/sybase.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+## Sybase
+
+hibernate.dialect org.hibernate.dialect.SybaseDialect
+hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver
+hibernate.connection.username cruisecontrol
+hibernate.connection.password cruisecontrol
+hibernate.connection.url jdbc:sybase:Tds:dev01-priv:4100/cruisecontrol
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/sybase.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.env
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.env (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.env 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,10 @@
+#/bin/sh
+# (C) Copyright (C) 1998, 2005, Oracle. All rights reserved.
+#
+# Set PATH, CLASSPATH, and shared library paths if necessary
+#
+#
+
+# --- Set environment variables ---
+
+eval `/opt/jdbc-drivers/timesten/TimesTen/tt60/PERL/perl /opt/jdbc-drivers/timesten/TimesTen/tt60/bin/envcfg -dir /opt/jdbc-drivers/timesten/TimesTen/tt60/bin -sh `
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.odbc.ini
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.odbc.ini (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.odbc.ini 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,6 @@
+[ODBC Data Sources]
+cruisecontrol=TimesTen 6.0 Driver
+[cruisecontrol]
+TTC_Server=dev18-priv
+TTC_Server_DSN=cruisecontrol
+
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+## TimesTen (not supported yet)
+
+hibernate.dialect org.hibernate.dialect.TimesTenDialect
+hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver
+hibernate.connection.url jdbc:timesten:client:dsn=cruisecontrol
+hibernate.connection.username
+hibernate.connection.password
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.sys.ttconnect.ini
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.sys.ttconnect.ini (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/hibernate/timesten.sys.ttconnect.ini 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,11 @@
+# Copyright (C) 1998, 2005, Oracle. All rights reserved.
+
+###############################################################
+# This is a sample sys.ttconnect.ini file that is used for the
+# TimesTen Client. It contains entries for each server.
+###############################################################
+
+[dev18-priv]
+Description=TimesTen Server
+Network_Address=dev18-priv
+TCP_PORT=16003
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index-jboss-seam.html
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index-jboss-seam.html (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index-jboss-seam.html 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,11 @@
+<html><body>
+<a href="http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds"><h1>Click here for jboss-seam nightly builds</h1></a><br><br>
+<h1>jboss-seam testsuite results</h1>
+<ul>
+<li><a href=tests/index.html>jboss-seam tests</li>
+<li><a href=booking/index.html>booking example tests</li>
+<li><a href=hibernate/index.html>hibernate example tests</li>
+<li><a href=registration/index.html>registration example tests</a></li>
+</ul>
+</body></html>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index-jboss-seam.html
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index.html
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index.html (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index.html 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+<html><body>
+<h1>jboss-portal testsuite results against following jboss versions.</h1>
+<ul>
+<li><a href=../jboss-4.0.x-logs/results/index.html>jboss-4.0.x</li>
+<li><a href=../jboss-4.0.4RC1-logs/results/index.html>jboss-4.0.4RC1</a></li>
+<li><a href=../jboss-4.0.3SP1-logs/results/index.html>jboss-4.0.3SP1</li>
+<li><a href=../jboss-head-logs/results/index.html>jboss-head</li>
+</ul>
+</body></html>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/index.html
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-4.0.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-4.0.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-4.0.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,32 @@
+#
+# A sample ant properties file
+#
+
+# JBoss Home
+#jboss.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta
+
+# Required JBoss Home
+jboss.jdk15.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1-ejb3
+
+# Optional JBoss Home
+jboss.jdk14.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1
+
+# The Jboss server instance
+jboss.server.instance=default
+
+# The target server the test endpoints are deployed to
+# This can be [jboss|tomcat]
+jbossws.target.server=jboss
+
+# JBoss Repository
+jboss.local.repository=/home/cruisecontrol/repository.jboss.com
+jboss.repository=http://repository.jboss.com
+
+# Enable to bypass thirdparty HTTP get
+#noget=true
+
+# Java Compiler options
+javac.debug=yes
+javac.deprecation=yes
+javac.fail.onerror=yes
+javac.verbose=no
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-4.0.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-head.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-head.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-head.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,32 @@
+#
+# A sample ant properties file
+#
+
+# JBoss Home
+#jboss.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta
+
+# Required JBoss Home
+jboss.jdk15.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta
+
+# Optional JBoss Home
+jboss.jdk14.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1
+
+# The Jboss server instance
+jboss.server.instance=default
+
+# The target server the test endpoints are deployed to
+# This can be [jboss|tomcat]
+jbossws.target.server=jboss
+
+# JBoss Repository
+jboss.local.repository=/home/cruisecontrol/repository.jboss.com
+jboss.repository=http://repository.jboss.com
+
+# Enable to bypass thirdparty HTTP get
+#noget=true
+
+# Java Compiler options
+javac.debug=yes
+javac.deprecation=yes
+javac.fail.onerror=yes
+javac.verbose=no
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws-head.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,32 @@
+#
+# A sample ant properties file
+#
+
+# JBoss Home
+#jboss.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-head/jboss-5.0.0.Beta
+
+# Required JBoss Home
+jboss.jdk15.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1-ejb3
+
+# Optional JBoss Home
+jboss.jdk14.home=/home/cruisecontrol/work/checkout/jboss-builds/jboss-4.0.x/jboss-4.0.5.CR1
+
+# The Jboss server instance
+jboss.server.instance=default
+
+# The target server the test endpoints are deployed to
+# This can be [jboss|tomcat]
+jbossws.target.server=jboss
+
+# JBoss Repository
+jboss.local.repository=/home/cruisecontrol/repository.jboss.com
+jboss.repository=http://repository.jboss.com
+
+# Enable to bypass thirdparty HTTP get
+#noget=true
+
+# Java Compiler options
+javac.debug=yes
+javac.deprecation=yes
+javac.fail.onerror=yes
+javac.verbose=no
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbossws.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/db2.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/db2.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/db2.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+hibernate.dialect=org.hibernate.dialect.DB2Dialect
+hibernate.connection.driver_class=com.ibm.db2.jcc.DB2Driver
+hibernate.connection.url=jdbc:db2://db2-priv:50000/testing
+hibernate.connection.username=db2inst1
+hibernate.connection.password=db2admin
+
+hibernate.show_sql=true
+#hibernate.c3p0.min_size=1
+#hibernate.c3p0.max_size=3
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/db2.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/hsqldb.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/hsqldb.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/hsqldb.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,11 @@
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+# the sql.enforce_strict_size property is set to false by default
+# but we need it set to true for SQL standard conformance
+hibernate.connection.url=jdbc:hsqldb:hsql://localhost:9001;sql.enforce_strict_size=true
+hibernate.connection.username=sa
+hibernate.connection.password=
+
+hibernate.show_sql=true
+#hibernate.c3p0.min_size=1
+#hibernate.c3p0.max_size=3
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/hsqldb.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mssql.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mssql.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mssql.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,10 @@
+hibernate.dialect=org.hibernate.dialect.SQLServerDialect
+hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver
+hibernate.connection.url=jdbc:jtds:sqlserver://dev16-priv:1433/cruisecontrol
+hibernate.connection.username=cruisecontrol
+hibernate.connection.password=cruisecontrol
+
+hibernate.show_sql=true
+#hibernate.c3p0.min_size=1
+#hibernate.c3p0.max_size=3
+hibernate.query.substitutions=true 1, false 0
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mssql.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mysql.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mysql.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mysql.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,16 @@
+# innodb has acid compliance, might be best to use it?
+hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
+
+# could also be used maybe, see hibernate and mysql websites for more info
+# hibernate.dialect=org.hibernate.dialect.MySQLMyISAMDialect
+# hibernate.dialect=org.hibernate.dialect.MySQLDialect
+
+hibernate.connection.driver_class=com.mysql.jdbc.Driver
+hibernate.connection.url=jdbc:mysql://dev01-priv/cruisecontrol
+hibernate.connection.username=cruisecontrol
+hibernate.connection.password=cruisecontrol
+
+hibernate.show_sql=true
+hibernate.query.substitutions=true 1, false 0
+#hibernate.c3p0.min_size=1
+#hibernate.c3p0.max_size=3
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/mysql.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/oracle.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/oracle.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/oracle.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,14 @@
+hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
+# for Oracle 8 compatibility use
+#hibernate.dialect=org.hibernate.dialect.OracleDialect
+
+hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
+hibernate.connection.url=jdbc:oracle:thin:@dev01-priv:1521:qadb01
+hibernate.connection.username=cruisecontrol
+hibernate.connection.password=cruisecontrol
+
+hibernate.show_sql=true
+#hibernate.c3p0.min_size=1
+#hibernate.c3p0.max_size=3
+
+hibernate.query.substitutions=true 1, false 0
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/oracle.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/sybase.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/sybase.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/sybase.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,14 @@
+# choose the right one below
+# hibernate.dialect=org.hibernate.dialect.Sybase11Dialect
+# hibernate.dialect=org.hibernate.dialect.SybaseAnywhereDialect
+hibernate.dialect=org.hibernate.dialect.SybaseDialect
+
+hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver
+# not sure if the port is correct for sybase
+hibernate.connection.url=jdbc:jtds:sybase://dev01-priv:4100/cruisecontrol
+hibernate.connection.username=cruisecontrol
+hibernate.connection.password=cruisecontrol
+
+hibernate.show_sql=true
+# hibernate.c3p0.min_size=1
+# hibernate.c3p0.max_size=3
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jbpm/sybase.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jdbc.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jdbc.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jdbc.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,5 @@
+jdbc-driver-class=com.mysql.jdbc.Driver
+jdbc-driver-jar=/opt/jdbc-drivers/mysql-connector-java-3.1.10-bin.jar
+jdbc-driver-url=
+jdbc-driver-user=
+jdbc-driver-password=
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/jdbc.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/local-override.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/local-override.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/local-override.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,7 @@
+node0=172.16.132.207
+node0.http.url=http://172.16.132.207:8080
+node0.jndiurl=jnp://172.16.132.207:1099
+
+node1=172.16.132.208
+node1.http.url=http://172.16.132.208:8080
+node1.jndiurl=jnp://172.16.132.208:1099
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/local-override.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/changelists.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/changelists.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/changelists.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,172 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:lxslt="http://xml.apache.org/xslt">
+
+ <xsl:output method="html"/>
+ <xsl:variable name="modification.list" select="cruisecontrol/modifications/changelist"/>
+
+ <xsl:template match="/">
+ <table align="center" cellpadding="2" cellspacing="1" border="0" width="98%">
+ <!-- Modifications -->
+ <tr>
+ <td class="modifications-sectionheader" colspan="6">
+  Modifications since last build: 
+ (<xsl:value-of select="count($modification.list)"/>)
+ </td>
+ </tr>
+
+ <xsl:apply-templates select="$modification.list">
+ <xsl:sort select="@dateOfSubmission" order="descending" data-type="text" />
+ </xsl:apply-templates>
+
+ </table>
+ </xsl:template>
+
+ <!-- Changelist template
+ <changelist type="p4" changelistNumber="15" user="non" client="non:all" dateOfSubmission="2002/05/02" />
+ -->
+
+ <xsl:template match="changelist">
+ <tr valign="top">
+ <xsl:if test="position() mod 2=0">
+ <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="position() mod 2!=0">
+ <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+ </xsl:if>
+
+ <td class="modifications-data">
+ <xsl:value-of select="@type"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="@changelistNumber"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="@user"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="@client"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="@dateOfSubmission"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="description"/>
+ </td>
+ </tr>
+ <xsl:if test="count(affectedfile) > 0">
+ <tr valign="top">
+ <xsl:if test="position() mod 2=0">
+ <xsl:attribute name="class">changelists-oddrow</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="position() mod 2!=0">
+ <xsl:attribute name="class">changelists-evenrow</xsl:attribute>
+ </xsl:if>
+ <td class="modifications-data" colspan="6">
+ <table align="right" cellpadding="1" cellspacing="0" border="0" width="95%">
+ <tr>
+ <td class="changelists-file-header" colspan="3">
+  Files affected by this changelist: 
+ (<xsl:value-of select="count(affectedfile)"/>)
+ </td>
+ </tr>
+ <xsl:apply-templates select="affectedfile"/>
+ </table>
+ </td>
+ </tr>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="affectedfile">
+ <tr valign="top" >
+ <xsl:if test="position() mod 2=0">
+ <xsl:attribute name="class">changelists-file-oddrow</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="position() mod 2!=0">
+ <xsl:attribute name="class">changelists-file-evenrow</xsl:attribute>
+ </xsl:if>
+
+ <td class="changelists-file-spacer">
+  
+ </td>
+
+ <td class="modifications-data">
+ <b>
+ <xsl:value-of select="@action"/>
+ </b>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="@filename"/> 
+ <xsl:value-of select="@revision"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <!-- Modifications template -->
+ <xsl:template match="modification">
+ <tr>
+ <xsl:if test="position() mod 2=0">
+ <xsl:attribute name="class">modifications-oddrow</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="position() mod 2!=0">
+ <xsl:attribute name="class">modifications-evenrow</xsl:attribute>
+ </xsl:if>
+
+ <td class="modifications-data">
+ <xsl:value-of select="revision"/>
+ </td>
+
+ <td class="modifications-data">
+ <xsl:value-of select="@type"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="user"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="project"/>
+ <xsl:value-of select="filename"/>
+ </td>
+ <td class="modifications-data">
+ <xsl:value-of select="comment"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/changelists.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/header.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/header.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/header.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:lxslt="http://xml.apache.org/xslt">
+
+ <xsl:output method="html"/>
+
+ <xsl:template match="/">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+
+ <xsl:if test="cruisecontrol/build/@error">
+ <tr><td class="header-title">BUILD FAILED</td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Error Message: </span>
+ <xsl:value-of select="cruisecontrol/build/@error"/>
+ </td></tr>
+ </xsl:if>
+
+ <xsl:if test="not (cruisecontrol/build/@error)">
+ <tr><td class="header-title">BUILD COMPLETE - 
+ <xsl:value-of select="cruisecontrol/info/property[@name='label']/@value"/>
+ </td></tr>
+ </xsl:if>
+
+ <tr><td class="header-data">
+ <span class="header-label">Date of build: </span>
+ <xsl:value-of select="cruisecontrol/info/property[@name='lastbuild']/@value"/>
+ </td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Time to build: </span>
+ <xsl:value-of select="cruisecontrol/build/@time"/>
+ </td></tr>
+ <tr>
+ <td class="header-data">
+ <span class="header-label">Last changed: </span>
+ <xsl:value-of select="cruisecontrol/modifications/changelist/@dateOfSubmission"/>
+ </td>
+ </tr>
+ <tr>
+ <td class="header-data">
+ <span class="header-label">Last log entry: </span>
+ <xsl:value-of select="cruisecontrol/modifications/changelist/description"/>
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/changelists/header.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/checkstyle.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/checkstyle.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/checkstyle.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="html"/>
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="cruisecontrol/checkstyle"/>
+ </xsl:template>
+
+ <xsl:template match="checkstyle[file/error]">
+ <xsl:variable name="file.error.count" select="count(file[error])" />
+ <xsl:variable name="total.error.count" select="count(file/error)" />
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <tr>
+ <td class="checkstyle-sectionheader" colspan="3">
+ Checkstyle errors (<xsl:value-of select="$total.error.count" />)
+ </td>
+ </tr>
+ <xsl:for-each select="file/error" >
+ <tr>
+ <xsl:if test="position() mod 2 = 1">
+ <xsl:attribute name="class">checkstyle-oddrow</xsl:attribute>
+ </xsl:if>
+ <td class="checkstyle-data"><xsl:value-of select="../@name" /></td>
+ <td class="checkstyle-data"><xsl:value-of select="@line" /></td>
+ <td class="checkstyle-data"><xsl:value-of select="@message" /></td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </xsl:template>
+
+<!-- <xsl:template match="*|@*|text()" />-->
+</xsl:stylesheet>
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/checkstyle.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/compile.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/compile.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/compile.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,119 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/TR/html4/strict.dtd" >
+
+ <xsl:output method="html"/>
+
+ <xsl:variable name="tasklist" select="/cruisecontrol/build//target/task"/>
+ <xsl:variable name="javac.tasklist" select="$tasklist[@name='Javac'] | $tasklist[@name='javac']"/>
+ <xsl:variable name="ejbjar.tasklist" select="$tasklist[@name='EjbJar'] | $tasklist[@name='ejbjar']"/>
+
+ <xsl:template match="/">
+
+ <xsl:variable name="javac.error.messages" select="$javac.tasklist/message[@priority='error'][text() != '']"/>
+ <xsl:variable name="javac.warn.messages" select="$javac.tasklist/message[@priority='warn'][text() != '']"/>
+ <xsl:variable name="ejbjar.error.messages" select="$ejbjar.tasklist/message[@priority='error'][text() != '']"/>
+ <xsl:variable name="ejbjar.warn.messages" select="$ejbjar.tasklist/message[@priority='warn'][text() != '']"/>
+ <xsl:variable name="total.errorMessage.count" select="count($javac.warn.messages) + count($ejbjar.warn.messages) + count($javac.error.messages) + count($ejbjar.error.messages)"/>
+
+ <xsl:if test="$total.errorMessage.count > 0">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <tr>
+ <!-- NOTE: total.errorMessage.count is actually the number of lines of error
+ messages. This accurately represents the number of errors ONLY if the Ant property
+ build.compiler.emacs is set to "true" -->
+ <td class="compile-sectionheader">
+  Errors/Warnings: (<xsl:value-of select="$total.errorMessage.count"/>)
+ </td>
+ </tr>
+ <xsl:if test="count($javac.error.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-error-data">
+ <xsl:apply-templates select="$javac.error.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count($javac.warn.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-data">
+ <xsl:apply-templates select="$javac.warn.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count($ejbjar.error.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-error-data">
+ <xsl:apply-templates select="$ejbjar.error.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count($ejbjar.warn.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-warn-data">
+ <xsl:apply-templates select="$ejbjar.warn.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ </xsl:if>
+
+ </xsl:template>
+
+ <xsl:template match="message[@priority='error']">
+ <xsl:value-of select="text()"/>
+ <xsl:if test="count(./../message[@priority='error']) != position()">
+ <br class="none"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="message[@priority='warn']">
+ <xsl:value-of select="text()"/><br class="none"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/compile.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/distributables.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/distributables.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/distributables.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:lxslt="http://xml.apache.org/xslt">
+
+ <xsl:output method="html"/>
+ <xsl:variable name="tasklist" select="//target/task"/>
+ <xsl:variable name="jar.tasklist" select="$tasklist[@name='Jar']/message[@priority='info'] | $tasklist[@name='jar']/message[@priority='info']"/>
+ <xsl:variable name="war.tasklist" select="$tasklist[@name='War']/message[@priority='info'] | $tasklist[@name='war']/message[@priority='info']"/>
+ <xsl:variable name="ejbjar.tasklist" select="$tasklist[@name='ejbjar']/message[@priority='info']"/>
+ <xsl:variable name="ear.tasklist" select="$tasklist[@name='ear']/message[@priority='info']"/>
+ <xsl:variable name="dist.count" select="count($jar.tasklist) + count($war.tasklist) + count($ejbjar.tasklist) + count($ear.tasklist)"/>
+
+ <xsl:template match="/">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+
+ <xsl:if test="$dist.count > 0">
+ <tr>
+ <td class="distributables-sectionheader">
+  Deployments by this build: (<xsl:value-of select="$dist.count"/>)
+ </td>
+ </tr>
+ <xsl:apply-templates select="$jar.tasklist | $war.tasklist | $ejbjar.tasklist | $ear.tasklist" />
+ </xsl:if>
+
+ </table>
+ </xsl:template>
+
+ <xsl:template match="task[@name='Jar']/message[@priority='info'] | task[@name='War']/message[@priority='info'] | task[@name='jar']/message[@priority='info'] | task[@name='war']/message[@priority='info'] | task[@name='ejbjar']/message[@priority='info'] | task[@name='ear']/message[@priority='info']">
+ <tr>
+ <xsl:if test="position() mod 2 = 0">
+ <xsl:attribute name="class">distributables-oddrow</xsl:attribute>
+ </xsl:if>
+ <td class="distributables-data">
+ <xsl:value-of select="text()"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/distributables.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/header.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/header.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/header.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,107 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:lxslt="http://xml.apache.org/xslt">
+
+ <xsl:output method="html"/>
+
+ <xsl:template match="/">
+ <xsl:variable name="modification.list" select="cruisecontrol/modifications/modification"/>
+
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+
+ <xsl:if test="not (contains(cruisecontrol/build/@error,'build timeout') or contains(cruisecontrol/build/@error,'Build Successful - Tests completed with errors or failures')) and
+cruisecontrol/build/@error">
+ <tr><td class="header-title">BUILD FAILED</td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Ant Error Message: </span>
+ <xsl:value-of select="cruisecontrol/build/@error"/>
+ </td></tr>
+ </xsl:if>
+
+ <xsl:if test="contains(cruisecontrol/build/@error,'build timeout')">
+ <tr><td class="header-title">BUILD TIMED OUT</td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Ant Error Message: </span>
+ <xsl:value-of select="cruisecontrol/build/@error"/>
+ </td></tr>
+ </xsl:if>
+
+ <xsl:if test="contains(cruisecontrol/build/@error,'Build Successful - Tests completed with errors or failures')">
+ <tr><td class="header-title">TESTS FAILED</td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Ant Error Message: </span>
+ <xsl:value-of select="cruisecontrol/build/@error"/>
+ </td></tr>
+ </xsl:if>
+
+ <xsl:if test="not (cruisecontrol/build/@error)">
+ <tr><td class="header-title">BUILD COMPLETE - 
+ <xsl:value-of select="cruisecontrol/info/property[@name='label']/@value"/>
+ </td></tr>
+ </xsl:if>
+
+ <tr><td class="header-data">
+ <span class="header-label">Date of build: </span>
+ <xsl:value-of select="cruisecontrol/info/property[@name='builddate']/@value"/>
+ </td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Time to build: </span>
+ <xsl:value-of select="cruisecontrol/build/@time"/>
+ </td></tr>
+ <xsl:apply-templates select="$modification.list">
+ <xsl:sort select="date" order="descending" data-type="text" />
+ </xsl:apply-templates>
+ </table>
+ </xsl:template>
+
+ <!-- Last Modification template -->
+ <xsl:template match="modification">
+ <xsl:if test="position() = 1">
+ <tr><td class="header-data">
+ <span class="header-label">Last changed: </span>
+ <xsl:value-of select="date"/>
+ </td></tr>
+ <tr><td class="header-data">
+ <span class="header-label">Last log entry: </span>
+ <xsl:value-of select="comment"/>
+ </td></tr>
+ </xsl:if>
+ </xsl:template>
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/header.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/javadoc.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/javadoc.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/javadoc.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/TR/html4/strict.dtd" >
+
+ <xsl:output method="html"/>
+
+ <xsl:variable name="tasklist" select="/cruisecontrol/build//target/task"/>
+ <xsl:variable name="javadoc.tasklist" select="$tasklist[@name='Javadoc'] | $tasklist[@name='javadoc']"/>
+
+ <xsl:template match="/">
+
+ <xsl:variable name="javadoc.error.messages" select="$javadoc.tasklist/message[@priority='error']"/>
+ <xsl:variable name="javadoc.warn.messages" select="$javadoc.tasklist/message[@priority='warn']"/>
+ <xsl:variable name="total.errorMessage.count" select="count($javadoc.warn.messages) + count($javadoc.error.messages)"/>
+
+ <xsl:if test="$total.errorMessage.count > 0">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <tr>
+ <!-- NOTE: total.errorMessage.count is actually the number of lines of error
+ messages. This accurately represents the number of errors ONLY if the Ant property
+ build.compiler.emacs is set to "true" -->
+ <td class="compile-sectionheader">
+  Javadoc Errors/Warnings: (<xsl:value-of select="$total.errorMessage.count"/>)
+ </td>
+ </tr>
+ <xsl:if test="count($javadoc.error.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-error-data">
+ <xsl:apply-templates select="$javadoc.error.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count($javadoc.warn.messages) > 0">
+ <tr>
+ <td>
+ <pre class="compile-data">
+ <xsl:apply-templates select="$javadoc.warn.messages"/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ </xsl:if>
+
+ </xsl:template>
+
+ <xsl:template match="message[@priority='error']">
+ <xsl:value-of select="text()"/>
+ <xsl:if test="count(./../message[@priority='error']) != position()">
+ <br/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="message[@priority='warn']">
+ <xsl:value-of select="text()"/><br/>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/javadoc.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/logfile.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/logfile.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/logfile.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,313 @@
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output omit-xml-declaration="yes" method="html"/>
+
+ <xsl:param name="use-empty-syntax" select="true()"/>
+ <xsl:param name="exclude-unused-prefixes" select="true()"/>
+
+ <xsl:param name="start-tag-start" select="'<'"/>
+ <xsl:param name="start-tag-end" select="'>'"/>
+ <xsl:param name="empty-tag-end" select="'/>'"/>
+ <xsl:param name="end-tag-start" select="'</'"/>
+ <xsl:param name="end-tag-end" select="'>'"/>
+ <xsl:param name="space" select="' '"/>
+ <xsl:param name="ns-decl" select="'xmlns'"/>
+ <xsl:param name="colon" select="':'"/>
+ <xsl:param name="equals" select="'='"/>
+ <xsl:param name="attribute-delimiter" select="'"'"/>
+ <xsl:param name="comment-start" select="'<!--'"/>
+ <xsl:param name="comment-end" select="'-->'"/>
+ <xsl:param name="pi-start" select="'<?'"/>
+ <xsl:param name="pi-end" select="'?>'"/>
+
+ <xsl:template name="xml-to-string">
+ <xsl:param name="node-set" select="."/>
+ <xsl:apply-templates select="$node-set" mode="xml-to-string">
+ <xsl:with-param name="depth" select="1"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="/" name="xml-to-string-root-rule">
+ <xsl:call-template name="xml-to-string"/>
+ </xsl:template>
+
+ <xsl:template match="/" mode="xml-to-string">
+ <xsl:param name="depth"/>
+ <xsl:apply-templates mode="xml-to-string">
+ <xsl:with-param name="depth" select="$depth"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="*" mode="xml-to-string">
+ <xsl:param name="depth"/>
+ <xsl:variable name="element" select="."/>
+ <xsl:value-of select="$start-tag-start"/>
+ <xsl:call-template name="element-name">
+ <xsl:with-param name="text" select="name()"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="@*" mode="xml-to-string"/>
+ <xsl:for-each select="namespace::*">
+ <xsl:call-template name="process-namespace-node">
+ <xsl:with-param name="element" select="$element"/>
+ <xsl:with-param name="depth" select="$depth"/>
+ </xsl:call-template>
+ </xsl:for-each>
+ <xsl:choose>
+ <xsl:when test="node() or not($use-empty-syntax)">
+ <xsl:value-of select="$start-tag-end"/>
+ <xsl:apply-templates mode="xml-to-string">
+ <xsl:with-param name="depth" select="$depth + 1"/>
+ </xsl:apply-templates>
+ <xsl:value-of select="$end-tag-start"/>
+ <xsl:call-template name="element-name">
+ <xsl:with-param name="text" select="name()"/>
+ </xsl:call-template>
+ <xsl:value-of select="$end-tag-end"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$empty-tag-end"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="process-namespace-node">
+ <xsl:param name="element"/>
+ <xsl:param name="depth"/>
+ <xsl:variable name="declaredAbove">
+ <xsl:call-template name="isDeclaredAbove">
+ <xsl:with-param name="depth" select="$depth - 1"/>
+ <xsl:with-param name="element" select="$element/.."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:if test="(not($exclude-unused-prefixes) or ($element | $element//@* | $element//*)[namespace-uri()=current()]) and not(string($declaredAbove)) and name()!='xml'">
+ <xsl:value-of select="$space"/>
+ <xsl:value-of select="$ns-decl"/>
+ <xsl:if test="name()">
+ <xsl:value-of select="$colon"/>
+ <xsl:call-template name="ns-prefix">
+ <xsl:with-param name="text" select="name()"/>
+ </xsl:call-template>
+ </xsl:if>
+ <xsl:value-of select="$equals"/>
+ <xsl:value-of select="$attribute-delimiter"/>
+ <xsl:call-template name="ns-uri">
+ <xsl:with-param name="text" select="string(.)"/>
+ </xsl:call-template>
+ <xsl:value-of select="$attribute-delimiter"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="isDeclaredAbove">
+ <xsl:param name="element"/>
+ <xsl:param name="depth"/>
+ <xsl:if test="$depth > 0">
+ <xsl:choose>
+ <xsl:when test="$element/namespace::*[name(.)=name(current()) and .=current()]">1</xsl:when>
+ <xsl:when test="$element/namespace::*[name(.)=name(current())]"/>
+ <xsl:otherwise>
+ <xsl:call-template name="isDeclaredAbove">
+ <xsl:with-param name="depth" select="$depth - 1"/>
+ <xsl:with-param name="element" select="$element/.."/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="@*" mode="xml-to-string">
+ <xsl:value-of select="$space"/>
+ <xsl:call-template name="attribute-name">
+ <xsl:with-param name="text" select="name()"/>
+ </xsl:call-template>
+ <xsl:value-of select="$equals"/>
+ <xsl:value-of select="$attribute-delimiter"/>
+ <xsl:call-template name="attribute-value">
+ <xsl:with-param name="text" select="string(.)"/>
+ </xsl:call-template>
+ <xsl:value-of select="$attribute-delimiter"/>
+ </xsl:template>
+
+ <xsl:template match="comment()" mode="xml-to-string">
+ <xsl:value-of select="$comment-start"/>
+ <xsl:call-template name="comment-text">
+ <xsl:with-param name="text" select="string(.)"/>
+ </xsl:call-template>
+ <xsl:value-of select="$comment-end"/>
+ </xsl:template>
+
+ <xsl:template match="processing-instruction()" mode="xml-to-string">
+ <xsl:value-of select="$pi-start"/>
+ <xsl:call-template name="pi-target">
+ <xsl:with-param name="text" select="name()"/>
+ </xsl:call-template>
+ <xsl:value-of select="$space"/>
+ <xsl:call-template name="pi-text">
+ <xsl:with-param name="text" select="string(.)"/>
+ </xsl:call-template>
+ <xsl:value-of select="$pi-end"/>
+ </xsl:template>
+
+ <xsl:template match="text()" mode="xml-to-string">
+ <xsl:call-template name="text-content">
+ <xsl:with-param name="text" select="string(.)"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="element-name">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="attribute-name">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="attribute-value">
+ <xsl:param name="text"/>
+ <xsl:variable name="escaped-markup">
+ <xsl:call-template name="escape-markup-characters">
+ <xsl:with-param name="text" select="$text"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$attribute-delimiter = "'"">
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$escaped-markup"/>
+ <xsl:with-param name="replace" select=""'""/>
+ <xsl:with-param name="with" select="'&apos;'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$attribute-delimiter = '"'">
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$escaped-markup"/>
+ <xsl:with-param name="replace" select="'"'"/>
+ <xsl:with-param name="with" select="'&quot;'"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$escaped-markup"/>
+ <xsl:with-param name="replace" select="$attribute-delimiter"/>
+ <xsl:with-param name="with" select="''"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="ns-prefix">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="ns-uri">
+ <xsl:param name="text"/>
+ <xsl:call-template name="attribute-value">
+ <xsl:with-param name="text" select="$text"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="text-content">
+ <xsl:param name="text"/>
+ <xsl:call-template name="escape-markup-characters">
+ <xsl:with-param name="text" select="$text"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="pi-target">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="pi-text">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="comment-text">
+ <xsl:param name="text"/>
+ <xsl:value-of select="$text"/>
+ </xsl:template>
+
+ <xsl:template name="escape-markup-characters">
+ <xsl:param name="text"/>
+ <xsl:variable name="ampEscaped">
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$text"/>
+ <xsl:with-param name="replace" select="'&'"/>
+ <xsl:with-param name="with" select="'&amp;'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="ltEscaped">
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$ampEscaped"/>
+ <xsl:with-param name="replace" select="'<'"/>
+ <xsl:with-param name="with" select="'&lt;'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="$ltEscaped"/>
+ <xsl:with-param name="replace" select="']]>'"/>
+ <xsl:with-param name="with" select="']]&gt;'"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="replace-string">
+ <xsl:param name="text"/>
+ <xsl:param name="replace"/>
+ <xsl:param name="with"/>
+ <xsl:variable name="stringText" select="string($text)"/>
+ <xsl:choose>
+ <xsl:when test="contains($stringText,$replace)">
+ <xsl:value-of select="substring-before($stringText,$replace)"/>
+ <xsl:value-of select="$with"/>
+ <xsl:call-template name="replace-string">
+ <xsl:with-param name="text" select="substring-after($stringText,$replace)"/>
+ <xsl:with-param name="replace" select="$replace"/>
+ <xsl:with-param name="with" select="$with"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$stringText"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/logfile.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/maven.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/maven.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/maven.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2003, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/TR/html4/strict.dtd" >
+
+ <xsl:output method="html"/>
+
+ <xsl:variable name="mavengoal" select="/cruisecontrol/build//mavengoal"/>
+
+ <xsl:template match="/">
+
+ <xsl:variable name="maven.messages" select="$mavengoal/message"/>
+ <xsl:variable name="maven.error.messages" select="$mavengoal/message[@priority='error']"/>
+ <xsl:variable name="maven.warn.messages" select="$mavengoal/message[@priority='warn']"/>
+ <xsl:variable name="maven.info.messages" select="$mavengoal/message[@priority='info']"/>
+
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <xsl:apply-templates select="$mavengoal"/>
+ </table>
+
+ </xsl:template>
+
+ <xsl:template match="mavengoal">
+ <tr class="compile-sectionheader">
+ <td>
+ <xsl:value-of select="@name"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <xsl:apply-templates select="./message"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="message[@priority='error']">
+ <span class="compile-error-data">
+ <xsl:value-of select="text()"/><xsl:text disable-output-escaping="yes"><![CDATA[<br/>]]></xsl:text>
+ </span>
+ </xsl:template>
+
+ <xsl:template match="message[@priority='warn']">
+ <span class="compile-data">
+ <xsl:value-of select="text()"/><xsl:text disable-output-escaping="yes"><![CDATA[<br/>]]></xsl:text>
+ </span>
+ </xsl:template>
+
+ <xsl:template match="message[@priority='info']">
+ <span class="compile-data">
+ <xsl:value-of select="text()"/><xsl:text disable-output-escaping="yes"><![CDATA[<br/>]]></xsl:text>
+ </span>
+ </xsl:template>
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/maven.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/modifications.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/modifications.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/modifications.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:output method="html"/>
+ <xsl:variable name="modification.list" select="cruisecontrol/modifications/modification"/>
+
+ <xsl:template match="/">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <!-- Modifications -->
+ <tr>
+ <td class="modifications-sectionheader" colspan="4">
+  Modifications since last build: 
+ (first 50 of <xsl:value-of select="count($modification.list)"/>)
+ </td>
+ </tr>
+
+ <xsl:apply-templates select="$modification.list[position() > last() - 50]">
+ <xsl:sort select="date" order="descending" data-type="text" />
+ </xsl:apply-templates>
+
+ </table>
+ </xsl:template>
+
+ <!-- Modifications template -->
+ <xsl:template match="modification">
+ <tr>
+ <xsl:if test="position() mod 2=0">
+ <xsl:attribute name="class">modifications-oddrow</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="position() mod 2!=0">
+ <xsl:attribute name="class">modifications-evenrow</xsl:attribute>
+ </xsl:if>
+ <td class="modifications-data"><xsl:value-of select="revision"/></td>
+
+ <td class="modifications-data"><xsl:value-of select="@type"/></td>
+ <td class="modifications-data"><xsl:value-of select="user"/></td>
+ <td class="modifications-data"><xsl:value-of select="project"/>/<xsl:value-of select="filename"/></td>
+ <td class="modifications-data"><xsl:value-of select="comment"/></td>
+ </tr>
+ </xsl:template>
+
+
+</xsl:stylesheet>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/modifications.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/testdetails.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/testdetails.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/testdetails.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,131 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:output method="html"/>
+<xsl:decimal-format decimal-separator="." grouping-separator="," />
+
+<!-- ================================================================== -->
+<!-- Write a package level report -->
+<!-- It creates a table with values from the document: -->
+<!-- Name | Tests | Errors | Failures | Time -->
+<!-- ================================================================== -->
+<xsl:template match="cruisecontrol" priority="1">
+ <table border="0" cellspacing="0" width="100%">
+ <xsl:call-template name="table.header" />
+ <xsl:for-each select="//testsuite">
+ <xsl:sort select="count(testcase/error)" data-type="number" order="descending" />
+ <xsl:sort select="count(testcase/failure)" data-type="number" order="descending" />
+ <xsl:sort select="@package"/>
+ <xsl:sort select="@name"/>
+
+ <xsl:call-template name="print.class" />
+ <xsl:apply-templates select="." mode="print.test" />
+ <!-- xsl:call-template name="print.properties" /-->
+ </xsl:for-each>
+ </table>
+</xsl:template>
+
+<xsl:template match="system-out|system-err" mode="print.test"/>
+
+<xsl:template match="testcase" mode="print.test">
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="error">unittests-error</xsl:when>
+ <xsl:when test="failure">unittests-error</xsl:when>
+ <xsl:otherwise>unittests-data</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <td />
+ <td colspan="2">
+ <xsl:value-of select="@name"/>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="error">
+ <a>
+ <xsl:attribute name="href">javascript:displayMessage('<xsl:value-of select="../@package"/>.<xsl:value-of select="../@name"/>.<xsl:value-of select='@name'/>');</xsl:attribute>
+ Error »
+ </a>
+ </xsl:when>
+ <xsl:when test="failure">
+ <a>
+ <xsl:attribute name="href">javascript:displayMessage('<xsl:value-of select="../@package"/>.<xsl:value-of select="../@name"/>.<xsl:value-of select='@name'/>');</xsl:attribute>
+ Failure »
+ </a>
+ </xsl:when>
+ <xsl:otherwise>Success</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <xsl:if test="not(failure|error)">
+ <td>
+ <xsl:value-of select="format-number(@time,'0.000')"/>
+ </td>
+ </xsl:if>
+ </tr>
+</xsl:template>
+
+<xsl:template name="table.header" >
+ <colgroup>
+ <col width="10%"></col>
+ <col width="45%"></col>
+ <col width="25%"></col>
+ <col width="10%"></col>
+ <col width="10%"></col>
+ </colgroup>
+ <tr valign="top" class="unittests-sectionheader" align="left" >
+ <th colspan="3">Name</th>
+ <th>Status</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+</xsl:template>
+
+<xsl:template name="print.class" >
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="testcase/error">unittests-error</xsl:when>
+ <xsl:when test="testcase/failure">unittests-error</xsl:when>
+ <xsl:otherwise>unittests-data</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <td colspan="5"><xsl:value-of select="@package"/>.<xsl:value-of select="@name"/></td>
+ </tr>
+</xsl:template>
+
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/testdetails.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/unittests.xsl
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/unittests.xsl (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/unittests.xsl 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,248 @@
+<?xml version="1.0"?>
+<!--********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 600
+ * Chicago, IL 60661 USA
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * + Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * + Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
+ * names of its contributors may be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ ********************************************************************************-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:lxslt="http://xml.apache.org/xslt">
+
+ <xsl:output method="html"/>
+
+ <xsl:variable name="testsuite.list" select="//testsuite"/>
+ <xsl:variable name="testsuite.error.count" select="count($testsuite.list/error)"/>
+ <xsl:variable name="testcase.list" select="$testsuite.list/testcase"/>
+ <xsl:variable name="testcase.error.list" select="$testcase.list/error"/>
+ <xsl:variable name="testcase.failure.list" select="$testcase.list/failure"/>
+ <xsl:variable name="totalErrorsAndFailures" select="count($testcase.error.list) + count($testcase.failure.list) + $testsuite.error.count"/>
+
+ <xsl:template match="/">
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+
+ <!-- Unit Tests -->
+ <tr>
+ <td class="unittests-sectionheader" colspan="4">
+  Unit Tests: (<xsl:value-of select="count($testcase.list)"/>)
+  Total Errors and Failures: (<xsl:value-of select="$totalErrorsAndFailures"/>)
+ </td>
+ </tr>
+
+ <xsl:choose>
+ <xsl:when test="count($testsuite.list) = 0">
+ <!-- DISABLED until tests are running - rcampbell at jboss.com
+ <tr>
+ <td colspan="2" class="unittests-data">
+ No Tests Run
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="unittests-error">
+ This project doesn't have any tests
+ </td>
+ </tr>
+ -->
+ </xsl:when>
+
+ <xsl:when test="$totalErrorsAndFailures = 0">
+ <tr>
+ <td colspan="2" class="unittests-data">
+ All Tests Passed
+ </td>
+ </tr>
+ </xsl:when>
+ </xsl:choose>
+ <tr>
+ <td>
+ <table align="center" cellpadding="2" cellspacing="0" border="0" width="98%">
+ <xsl:apply-templates select="$testcase.error.list"/>
+ <xsl:apply-templates select="$testcase.failure.list"/>
+ </table>
+ </td>
+ </tr>
+ <tr/>
+ <tr><td colspan="2"> </td></tr>
+<!--
+ <xsl:if test="$totalErrorsAndFailures > 0">
+
+ <tr>
+ <td class="unittests-sectionheader" colspan="4">
+  Unit Test Error Details: (<xsl:value-of select="$totalErrorsAndFailures"/>)
+ </td>
+ </tr>
+
+ <xsl:call-template name="testdetail">
+ <xsl:with-param name="detailnodes" select="//testsuite/testcase[.//error]"/>
+ </xsl:call-template>
+
+ <xsl:call-template name="testdetail">
+ <xsl:with-param name="detailnodes" select="//testsuite/testcase[.//failure]"/>
+ </xsl:call-template>
+
+
+ <tr><td colspan="2"> </td></tr>
+ </xsl:if>
+-->
+ </table>
+ </xsl:template>
+
+ <!-- UnitTest Errors -->
+ <xsl:template match="error">
+ <tr>
+ <xsl:if test="position() mod 2 = 0">
+ <xsl:attribute name="class">unittests-oddrow</xsl:attribute>
+ </xsl:if>
+
+<!--
+ <td class="unittests-data">
+ error
+ </td>
+-->
+ <td class="unittests-data" width="40%">
+ <xsl:value-of select="../@name"/>
+ </td>
+ <td class="unittests-data" width="40%">
+ <xsl:value-of select="..//..//@package"/>.<xsl:value-of select="..//..//@name"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <!-- UnitTest Failures -->
+ <xsl:template match="failure">
+ <tr>
+ <xsl:if test="($testsuite.error.count + position()) mod 2 = 0">
+ <xsl:attribute name="class">unittests-oddrow</xsl:attribute>
+ </xsl:if>
+<!--
+ <td class="unittests-data">
+ failure
+ </td>
+-->
+ <td class="unittests-data" width="40%">
+ <xsl:value-of select="../@name"/>
+ </td>
+ <td class="unittests-data" width="40%">
+ <xsl:value-of select="..//..//@package"/>.<xsl:value-of select="..//..//@name"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <!-- UnitTest Errors And Failures Detail Template -->
+
+ <xsl:template name="testdetail">
+ <xsl:param name="detailnodes"/>
+
+ <xsl:for-each select="$detailnodes">
+
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Test: <xsl:value-of select="@name"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Class: <xsl:value-of select="..//@name"/>
+ </td>
+ </tr>
+
+ <xsl:if test="error">
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Type: <xsl:value-of select="error/@type" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Message: <xsl:value-of select="error/@message" />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2" class="unittests-error">
+ <PRE>
+ <xsl:call-template name="br-replace">
+ <xsl:with-param name="word" select="error" />
+ </xsl:call-template>
+ </PRE>
+ </td>
+ </tr>
+ </xsl:if>
+
+ <xsl:if test="failure">
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Type: <xsl:value-of select="failure/@type" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="unittests-data">
+ Message: <xsl:value-of select="failure/@message" />
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2" class="unittests-error">
+ <pre>
+ <xsl:call-template name="br-replace">
+ <xsl:with-param name="word" select="failure"/>
+ </xsl:call-template>
+ </pre>
+ </td>
+ </tr>
+ </xsl:if>
+
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="br-replace">
+ <xsl:param name="word"/>
+<!-- </xsl:text> on next line on purpose to get newline -->
+<xsl:variable name="cr"><xsl:text>
+</xsl:text></xsl:variable>
+ <xsl:choose>
+ <xsl:when test="contains($word,$cr)">
+ <xsl:value-of select="substring-before($word,$cr)"/>
+ <br/>
+ <xsl:call-template name="br-replace">
+ <xsl:with-param name="word" select="substring-after($word,$cr)"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$word"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+</xsl:stylesheet>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/scripts/xsl/unittests.xsl
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.class
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.java
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.java (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.java 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,150 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.Writer;
+import java.util.List;
+
+import org.apache.velocity.Template;
+import org.apache.velocity.VelocityContext;
+import org.apache.velocity.app.Velocity;
+import org.jdom.Document;
+import org.jdom.input.SAXBuilder;
+import org.jdom.Element;
+import org.jdom.Attribute;
+
+/**
+ * @author <a href="joriskuipers at xs4all.nl">Joris Kuipers</a>
+ *
+ * This class can be used to generate a CruiseControl config.xml.
+ * It parses the given xml-file for <project>-elements, and then
+ * calls the Velocity-template "config.vm" to generate the xml-file.
+ * The list of <project> JDom-elements is put into the context
+ * as "projects".
+ */
+public class ConfigGenerator {
+
+ public static void main(String[] args) {
+ try {
+ Velocity.init();
+
+ SAXBuilder builder = new SAXBuilder();
+ Document projectsDoc = builder.build(new File(args[0]));
+
+ ConfigGenerator configGenerator = new ConfigGenerator();
+
+ Element rootElement = projectsDoc.getRootElement();
+
+ rootElement = configGenerator.replaceWithDefaultValues(rootElement);
+
+
+ if(rootElement.getChild("testattributes").getAttribute("testMode").getValue().toString().equals("yes"))
+ {
+ rootElement = configGenerator.replaceWithTestValues(rootElement);
+ }
+
+ VelocityContext context = new VelocityContext();
+ context.put("root", rootElement);
+ Writer writer = new BufferedWriter(new FileWriter(args[1]));
+ Template configTemplate = Velocity.getTemplate("config.vm");
+ configTemplate.merge(context, writer);
+ writer.close();
+ } catch (Exception e) {
+ System.err.println(e);
+ e.printStackTrace();
+ }
+ }
+
+ //Sets Project Attributes with the default values
+ public Element replaceWithDefaultValues(Element rootElement)
+ {
+ List projectAttributeList;
+ List defaultProjectAttributeList;
+ Attribute tempAttr;
+ Attribute tempProjAttr;
+ Attribute newAttr;
+ boolean attrExists = false;
+
+ defaultProjectAttributeList = rootElement.getChild("defaultproject").getAttributes();
+ for(int i=0; i<rootElement.getChildren("project").size(); i++)
+ {
+ projectAttributeList = ((Element)rootElement.getChildren("project").get(i)).getAttributes();
+ int projectAttributeListSize = projectAttributeList.size();
+ for(int j=0; j<defaultProjectAttributeList.size(); j++)
+ {
+ tempAttr = (Attribute)defaultProjectAttributeList.get(j);
+ for(int k=0; k<projectAttributeListSize; k++)
+ {
+ tempProjAttr = (Attribute)projectAttributeList.get(k);
+ if(tempProjAttr.getName().equals(tempAttr.getName()))
+ {
+ attrExists = true;
+ break;
+ }
+ attrExists = false;
+ }
+ if(!attrExists)
+ {
+ newAttr = new Attribute(tempAttr.getName(),tempAttr.getValue());
+ projectAttributeList.add(newAttr);
+ }
+
+
+ }
+ }
+ return rootElement;
+ }
+
+ //Sets Project Attributes with the test values if testMode="yes" in testattributes tag
+ public Element replaceWithTestValues(Element rootElement)
+ {
+ List projectAttributeList;
+ List testAttributesList;
+ Attribute tempAttr;
+ Attribute tempProjAttr;
+ Attribute newAttr;
+
+ testAttributesList = rootElement.getChild("testattributes").getAttributes();
+ for(int i=0; i<rootElement.getChildren("project").size(); i++)
+ {
+ projectAttributeList = ((Element)rootElement.getChildren("project").get(i)).getAttributes();
+ int projectAttributeListSize = projectAttributeList.size();
+ for(int j=0; j<testAttributesList.size(); j++)
+ {
+ tempAttr = (Attribute)testAttributesList.get(j);
+ for(int k=0; k<projectAttributeListSize; k++)
+ {
+ tempProjAttr = (Attribute)projectAttributeList.get(k);
+ if(tempProjAttr.getName().equals(tempAttr.getName()))
+ {
+ newAttr = new Attribute(tempAttr.getName(),tempAttr.getValue());
+ projectAttributeList.set(k,newAttr);
+ break;
+ }
+ }
+ }
+ }
+ return rootElement;
+ }
+
+}
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/ConfigGenerator.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-collections.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-collections.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/config.vm
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/config.vm (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/config.vm 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding="iso-8859-1"?>
+
+<!DOCTYPE cruisecontrol [
+<!ENTITY maillist SYSTEM "committer-list.xml">
+]>
+<cruisecontrol>
+ <plugin name="cvs" classname="net.sourceforge.cruisecontrol.sourcecontrols.CVS"/>
+ <plugin name="currentbuildstatusbootstrapper"
+ classname="net.sourceforge.cruisecontrol.bootstrappers.CurrentBuildStatusBootstrapper"/>
+ <plugin name="ant"
+ classname="net.sourceforge.cruisecontrol.builders.AntBuilder"/>
+ <plugin name="pause"
+ classname="net.sourceforge.cruisecontrol.PauseBuilder"/>
+ <!-- <plugin name="email"
+ classname="net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher"/> -->
+ <plugin name="currentbuildstatuspublisher"
+ classname="net.sourceforge.cruisecontrol.publishers.CurrentBuildStatusPublisher"/>
+ <plugin name="artifactspublisher"
+ classname="net.sourceforge.cruisecontrol.publishers.ArtifactsPublisher"/>
+
+#foreach ($project in $root.getChildren("project") )
+#parse ($project.getAttributeValue("template") )
+#end
+</cruisecontrol>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/config.vm
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.bat
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.bat (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.bat 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+java -classpath .;velocity-1.4.jar;jdom.jar;commons-collections.jar;commons-logging.jar;logkit.jar ConfigGenerator projects.xml cc-config.xml
+
+java -classpath .;velocity-1.4.jar;jdom.jar;commons-collections.jar;commons-logging.jar;logkit.jar ConfigGenerator projects-db.xml cc-db-config.xml
+
+java -classpath .;velocity-1.4.jar;jdom.jar;commons-collections.jar;commons-logging.jar;logkit.jar ConfigGenerator projects-web.xml cc-web-config.xml
+
+java -classpath .;velocity-1.4.jar;jdom.jar;commons-collections.jar;commons-logging.jar;logkit.jar ConfigGenerator projects-matrix.xml cc-matrix-config.xml
+
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.bat
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+java -classpath .:velocity-1.4.jar:jdom.jar:commons-collections.jar:commons-logging.jar:logkit.jar ConfigGenerator projects.xml cc-config.xml
+
+java -classpath .:velocity-1.4.jar:jdom.jar:commons-collections.jar:commons-logging.jar:logkit.jar ConfigGenerator projects-db.xml cc-db-config.xml
+
+java -classpath .:velocity-1.4.jar:jdom.jar:commons-collections.jar:commons-logging.jar:logkit.jar ConfigGenerator projects-web.xml cc-web-config.xml
+
+java -classpath .:velocity-1.4.jar:jdom.jar:commons-collections.jar:commons-logging.jar:logkit.jar ConfigGenerator projects-matrix.xml cc-matrix-config.xml
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/create-cc-config.sh
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jbosslabstemplate.vm
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jbosslabstemplate.vm (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jbosslabstemplate.vm 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,68 @@
+ #set( $name = $project.getAttributeValue("name") )
+ <project name="$name" buildafterfailed="$project.getAttributeValue("buildafterfailed")">
+ <listeners>
+ <currentbuildstatuslistener
+ file="logs/$name/buildstatus.txt"/>
+ </listeners>
+
+ <!-- Bootstrappers are run every time the build runs,
+ *before* the modification checks -->
+ <bootstrappers>
+ </bootstrappers>
+
+ <!-- Defines where cruise looks for changes, to decide whether to run the build -->
+ <!-- quietperiod - seconds to wait for no changes before doing a build -->
+ #set( $requiremodification = $project.getAttributeValue("requiremodification") )
+ #set( $fakeModset = $project.getAttributeValue("fakeModset") )
+ #set( $tag = $project.getAttributeValue("tag") )
+ #set( $buildstatuslogdir = $project.getAttributeValue("buildstatuslogdir") )
+<modificationset quietperiod="$project.getAttributeValue("quietperiod")" #if( !($requiremodification == "")) requiremodification="$requiremodification" #end>
+ <svn localworkingcopy="checkout/$project.getAttributeValue("modificationset")" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/>
+ #if( !($buildstatuslogdir == "")) <buildstatus logdir="$buildstatuslogdir"/> #end
+ #if( !($fakeModset ==""))
+ <!-- use this for testing, don't wait for cvs log-->
+ <httpfile url="$fakeModset"/>
+ #end
+</modificationset>
+
+ <!-- Configures the actual build loop, how often and which build file/target -->
+ <!-- interval - (300) num seconds between checks -->
+ #set( $jbossdir = $project.getAttributeValue("jbossdir") )
+ #set( $scheduleinterval = $project.getAttributeValue("scheduleinterval") )
+ #set( $time = $project.getAttributeValue("time") )
+ <schedule #if( !($scheduleinterval == "") ) interval="$project.getAttributeValue("scheduleinterval")" #end>
+ <ant buildfile="$project.getAttributeValue("buildfile")" target="$project.getAttributeValue("target")" antscript="/opt/apache-ant-1.6.2/bin/ant" #if( !($time == "") ) time="$project.getAttributeValue("time")" #end
+ uselogger="$project.getAttributeValue("uselogger")" usedebug="$project.getAttributeValue("usedebug")" timeout="$project.getAttributeValue("timeout")" antWorkingDir="scripts">
+#if( !($jbossdir == "")) <property name="jboss.dir" value="$jbossdir"/> #end
+ </ant>
+ </schedule>
+
+ <!-- directory to write build logs to -->
+ <log dir="logs/$name">
+ <merge removeproperties="$project.getAttributeValue("removeproperties")"
+ file="$project.getAttributeValue("testResults")"/>
+ </log>
+
+ <!-- Publishers are run *after* a build completes -->
+ <publishers>
+ <artifactspublisher
+ dir="scripts/logbuild/$project.getAttributeValue("logbuilddirectory")"
+ dest="artifacts/$name"/>
+ <currentbuildstatuspublisher file="logs/$name/buildstatus.txt"/>
+
+ <!-- CHANGE TO cruisecontrol install dir and reporting host-->
+ <htmlemail mailhost="localhost"
+ css="../cruisecontrol-2.1.6/reporting/jsp/css/cruisecontrol.css"
+ xsldir="../cruisecontrol-2.1.6/reporting/jsp/xsl"
+ logdir="logs/$name"
+ returnaddress="$project.getAttributeValue("emailFrom")"
+ buildresultsurl="http://cruisecontrol.jboss.com/cc/buildresults/$name"
+ skipusers="$project.getAttributeValue("skipusers")">
+
+ <failure reportWhenFixed="$project.getAttributeValue("reportWhenFixed")" address="$project.getAttributeValue("emailFailureTo")"/>
+ <always address="$project.getAttributeValue("emailAlwaysTo")"/>
+ </htmlemail>
+
+ </publishers>
+ </project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jbosslabstemplate.vm
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jdom.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/jdom.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/logkit.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/logkit.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-db.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-db.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-db.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,221 @@
+<projects>
+ <defaultproject template=""
+ name=""
+ buildafterfailed="false"
+ modificationset=""
+ modificationset1=""
+ modificationset2=""
+ buildstatuslogdir=""
+ tag=""
+ quietperiod="420"
+ requiremodification=""
+ scheduleinterval=""
+ fakeModset=""
+ buildfile=""
+ target=""
+ time=""
+ uselogger="false"
+ usedebug="false"
+ timeout="7200"
+ removeproperties="true"
+ logbuilddirectory=""
+ testResults=""
+ cvsbranch=""
+ cvsmodule=""
+ jbossdir=""
+ emailFrom="qa at jboss.com"
+ emailFailureTo="cbauer at jboss.com,sebersole at jboss.com"
+ emailAlwaysTo="hibernate-devel at lists.sourceforge.net"
+ skipusers="false"
+ reportWhenFixed="true">
+ </defaultproject>
+
+
+ <testattributes testMode="no"
+ skipusers="true"
+ emailFrom="rrajasekaran at jboss.com"
+ emailFailureTo="rrajasekaran at jboss.com"
+ emailAlwaysTo="ryan.campbell at jboss.com">
+ </testattributes>
+
+
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-hsqldb-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode hsqldb"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-oracle10-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode oracle10"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-mysql-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode mysql"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-sybase-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode sybase"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-sqlserver-jtds-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode sqlserver"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-timesten-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode timesten"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="hibernate-db2-testsuite"
+ modificationset="hibernate-db-matrix"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-hibernate-db-matrix.xml"
+ target="getcode db2"
+ timeout="10800"
+ logbuilddirectory="hibernate-db-matrix"
+ skipusers="true"
+ testResults="checkout/hibernate-db-matrix/build/testout/TESTS-TestSuites.xml"
+ emailFailureTo="rajesh.rajasekaran at jboss.com"
+ emailAlwaysTo="ryan.campbell at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-hsqldb-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode hsqldb"
+ timeout="10800"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/hsqldb/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-mysql-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode mysql"
+ timeout="10800"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/mysql/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-oracle-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode oracle"
+ timeout="10800"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/oracle/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-sybase-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode sybase"
+ timeout="10800"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/sybase/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-db2-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode db2"
+ timeout="18000"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/db2/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm-mssql-testsuite"
+ modificationset="jbpm-db-matrix/jbpm.3"
+ requiremodification="false"
+ scheduleinterval="2592000"
+ buildfile="build-jbpm-db-matrix.xml"
+ target="getcode mssql"
+ timeout="10800"
+ logbuilddirectory="jbpm-db-matrix"
+ testResults="checkout/jbpm-db-matrix/jbpm.db/build/mssql/testresults/xml/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="cruisecontrol"
+ modificationset="cruisecontrol"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-cruisecontrol.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="cruisecontrol"
+ emailFailureTo="qa-internal at jboss.com,rrajasekaran at jboss.com"
+ emailAlwaysTo="qa-internal at jboss.com,rrajasekaran at jboss.com">
+ </project>
+
+</projects>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-db.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-matrix.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-matrix.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-matrix.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,247 @@
+<projects>
+ <defaultproject template=""
+ name=""
+ buildafterfailed="false"
+ modificationset=""
+ modificationset1=""
+ modificationset2=""
+ buildstatuslogdir=""
+ tag=""
+ quietperiod="420"
+ requiremodification=""
+ scheduleinterval=""
+ fakeModset=""
+ buildfile=""
+ target=""
+ time=""
+ uselogger="false"
+ usedebug="false"
+ timeout="7200"
+ removeproperties="true"
+ logbuilddirectory=""
+ testResults=""
+ cvsbranch=""
+ cvsmodule=""
+ jbossdir=""
+ emailFrom="qa at jboss.com"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com"
+ skipusers="false"
+ reportWhenFixed="true">
+ </defaultproject>
+
+
+ <testattributes testMode="no"
+ skipusers="true"
+ emailFrom="rrajasekaran at jboss.com"
+ emailFailureTo="rrajasekaran at jboss.com"
+ emailAlwaysTo="ryan.campbell at jboss.com">
+ </testattributes>
+
+
+ <project template="projecttemplate.vm"
+ name="jboss-3.2-jdk-matrix"
+ modificationset="jboss-3.2.x"
+ tag="Branch_3_2"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-3.2-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-3.2.x"
+ testResults="checkout/jboss-3.2.x/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_3_2"
+ cvsmodule="jboss-3.2.x">
+ </project>
+
+
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-jdk-matrix"
+ modificationset="jboss-4.0.x"
+ tag="Branch_4_0"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-4.0-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-4.0.x"
+ testResults="checkout/jboss-4.0.x/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_4_0"
+ cvsmodule="jboss-4.0.x">
+ </project>
+
+
+ <project template="projecttemplate.vm"
+ name="jboss-head-jdk-matrix"
+ modificationset="jboss-head"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-head-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-head"
+ testResults="checkout/jboss-head/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-head">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="cruisecontrol"
+ modificationset="cruisecontrol"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-cruisecontrol.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="cruisecontrol"
+ emailFailureTo="qa-internal at jboss.com,rrajasekaran at jboss.com"
+ emailAlwaysTo="qa-internal at jboss.com,rrajasekaran at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-portal-2.4-testsuite"
+ modificationset="jboss-portal-2.4"
+ requiremodification="false"
+ time="2000"
+ buildfile="build-jboss-portal.xml"
+ target="getcode runtestsuite copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-portal-2.4"
+ testResults="checkout/jboss-portal-2.4/build/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-portal-2.4"
+ jbossdir="jboss-portal-2.4"
+ emailFailureTo="jboss-development at lists.jboss.org,qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-cache"
+ modificationset="jboss-cache"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-JBossCache.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="jboss-cache"
+ testResults="checkout/jboss-cache/output/reports/html/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="dev-jbosscache at jboss.com,qa at jboss.com"
+ jbossdir="jboss-cache">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jbossws-4.0-testsuite-1.5"
+ buildafterfailed="true"
+ modificationset="jbossws-4.0-testsuite-1.5"
+ requiremodification="false"
+ time="2000"
+ buildfile="build-jbossws-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbossws-4.0-testsuite-1.5"
+ testResults="checkout/jbossws-4.0-testsuite-1.5/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jbossws-4.0-testsuite-1.5">
+ </project>
+<!--
+ <project template="jbosslabstemplate.vm"
+ name="jbossws-4.0-testsuite-1.4"
+ buildafterfailed="true"
+ modificationset="jbossws-4.0-testsuite-1.4"
+ requiremodification="false"
+ time="2000"
+ buildfile="build-jbossws-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbossws-4.0-testsuite-1.4"
+ testResults="checkout/jbossws-4.0-testsuite-1.4/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jbossws-4.0-testsuite-1.4">
+ </project>
+-->
+ <project template="jbosslabstemplate.vm"
+ name="jbossws-head-testsuite-1.5"
+ buildafterfailed="true"
+ modificationset="jbossws-head-testsuite-1.5"
+ requiremodification="false"
+ time="2000"
+ buildfile="build-jbossws-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbossws-head-testsuite-1.5"
+ testResults="checkout/jbossws-head-testsuite-1.5/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jbossws-head-testsuite-1.5">
+ </project>
+<!--
+ <project template="projecttemplate.vm"
+ name="jboss-4.0.4.SP-testsuite"
+ buildafterfailed="true"
+ modificationset="jboss-4.0.4.SP-testsuite"
+ tag="JBoss_4_0_4_SP"
+ requiremodification="true"
+ scheduleinterval="3600"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-4.0.4.SP-testsuite"
+ testResults="checkout/jboss-4.0.4.SP-testsuite/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="JBoss_4_0_4_SP"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0.4.SP-testsuite">
+ </project>
+ -->
+
+ <project template="projecttemplate.vm"
+ name="jms-head-testsuite"
+ modificationset="jms-head-testsuite/jms"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jms-head-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jms-head-testsuite"
+ testResults="checkout/jms-head-testsuite/jms/tests/output/reports/TESTS-TestSuites.xml"
+ emailFailureTo="ovidiu.feodorov at jboss.com,tim.fox at jboss.com,qa at jboss.com"
+ emailAlwaysTo="ovidiu.feodorov at jboss.com,tim.fox at jboss.com,qa at jboss.com">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jboss-4.0-common"
+ buildafterfailed="true"
+ modificationset="jboss-4.0-common"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common-module.xml"
+ target="build"
+ timeout="7200"
+ logbuilddirectory="jboss-4.0-common"
+ testResults="checkout/jboss-4.0-common/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jboss-4.0-common">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jboss-head-common"
+ buildafterfailed="true"
+ modificationset="jboss-head-common"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common-module.xml"
+ target="build"
+ timeout="7200"
+ logbuilddirectory="jboss-head-common"
+ testResults="checkout/jboss-head-common/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jboss-head-common">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jboss-4.0-jdk-matrix-svn"
+ modificationset="jboss-4.0-jdk-matrix-svn"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-4.0-jdks-svn"
+ timeout="7200"
+ logbuilddirectory="jboss-4.0-jdk-matrix-svn"
+ testResults="checkout/jboss-4.0-jdk-matrix-svn/testsuite/output/reports/TESTS-TestSuites.xml"
+ jbossdir="jboss-4.0-jdk-matrix-svn">
+ </project>
+</projects>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-matrix.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-web.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-web.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-web.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,111 @@
+<projects>
+ <defaultproject template=""
+ name=""
+ buildafterfailed="false"
+ modificationset=""
+ modificationset1=""
+ modificationset2=""
+ buildstatuslogdir=""
+ tag=""
+ quietperiod="420"
+ requiremodification=""
+ scheduleinterval=""
+ fakeModset=""
+ buildfile=""
+ target=""
+ time=""
+ uselogger="false"
+ usedebug="false"
+ timeout="7200"
+ removeproperties="true"
+ logbuilddirectory=""
+ testResults=""
+ cvsbranch=""
+ cvsmodule=""
+ jbossdir=""
+ emailFrom="qa at jboss.com"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com"
+ skipusers="false"
+ reportWhenFixed="true">
+ </defaultproject>
+
+
+ <testattributes testMode="no"
+ skipusers="true"
+ emailFrom="rrajasekaran at jboss.com"
+ emailFailureTo="rrajasekaran at jboss.com"
+ emailAlwaysTo="ryan.campbell at jboss.com">
+ </testattributes>
+
+ <project template="jbosslabstemplate.vm"
+ name="jbossweb"
+ modificationset="jbossweb"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbossweb.xml"
+ target="runtestsuite"
+ timeout="10800"
+ logbuilddirectory="jbossweb"
+ testResults="checkout/jbossweb/build/testout/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org,qa at jboss.com"
+ emailAlwaysTo="jboss-development at lists.jboss.org,qa at jboss.com">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jbossweb-windows"
+ modificationset="jbossweb"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbossweb-windows.xml"
+ target="runtestsuite"
+ timeout="10800"
+ logbuilddirectory="jbossweb-windows"
+ testResults="checkout/jbossweb/build/testout/TESTS-TestSuites.xml"
+ emailFailureTo="jboss-development at lists.jboss.org,qa at jboss.com"
+ emailAlwaysTo="jboss-development at lists.jboss.org,qa at jboss.com">
+ </project>
+<!--
+ <project template="projecttemplate.vm"
+ name="jboss-4.0.4.SP-testsuite"
+ buildafterfailed="true"
+ modificationset="jboss-4.0.4.SP-testsuite"
+ tag="JBoss_4_0_4_SP"
+ requiremodification="true"
+ scheduleinterval="3600"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-4.0.4.SP-testsuite"
+ testResults="checkout/jboss-4.0.4.SP-testsuite/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="JBoss_4_0_4_SP"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0.4.SP-testsuite">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="ejb3-4.0-testsuite"
+ modificationset="ejb3-4.0-testsuite/ejb3"
+ requiremodification="false"
+ scheduleinterval="7200"
+ buildfile="build-ejb3-4.0-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="ejb3-4.0-testsuite"
+ testResults="checkout/ejb3-4.0-testsuite/ejb3/output/reports/TESTS-TestSuites.xml">
+ </project>
+-->
+<!--
+ <project template="projecttemplate.vm"
+ name="cruisecontrol"
+ modificationset="cruisecontrol"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-cruisecontrol.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="cruisecontrol"
+ emailFailureTo="qa-internal at jboss.com,rrajasekaran at jboss.com"
+ emailAlwaysTo="qa-internal at jboss.com,rrajasekaran at jboss.com">
+ </project>-->
+</projects>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects-web.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,554 @@
+<projects>
+ <defaultproject template=""
+ name=""
+ buildafterfailed="false"
+ modificationset=""
+ modificationset1=""
+ modificationset2=""
+ buildstatuslogdir=""
+ tag=""
+ quietperiod="420"
+ requiremodification=""
+ scheduleinterval=""
+ fakeModset=""
+ buildfile=""
+ target=""
+ time=""
+ uselogger="false"
+ usedebug="false"
+ timeout="7200"
+ removeproperties="true"
+ logbuilddirectory=""
+ testResults=""
+ cvsbranch=""
+ cvsmodule=""
+ jbossdir=""
+ emailFrom="qa at jboss.com"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com"
+ skipusers="false"
+ reportWhenFixed="true">
+ </defaultproject>
+
+
+ <testattributes testMode="no"
+ skipusers="true"
+ emailFrom="rrajasekaran at jboss.com"
+ emailFailureTo="rrajasekaran at jboss.com"
+ emailAlwaysTo="ryan.campbell at jboss.com">
+ </testattributes>
+
+
+ <project template="projecttemplate.vm"
+ name="ejb3-4.0-testsuite"
+ modificationset="ejb3-4.0-testsuite/ejb3"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-ejb3-4.0-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="ejb3-4.0-testsuite"
+ testResults="checkout/ejb3-4.0-testsuite/ejb3/output/reports/TESTS-TestSuites.xml">
+ </project>
+
+
+ <project template="projecttemplate.vm"
+ name="ejb3-head-testsuite"
+ modificationset="ejb3-head-testsuite/ejb3"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-ejb3-head-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="ejb3-head-testsuite"
+ testResults="checkout/ejb3-head-testsuite/ejb3/output/reports/TESTS-TestSuites.xml">
+ </project>
+
+ <!--
+ <project template="projecttemplate.vm"
+ name="jboss-3.2-jdk-matrix"
+ modificationset="jboss-3.2.x"
+ tag="Branch_3_2"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-3.2-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-3.2.x"
+ testResults="checkout/jboss-3.2.x/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_3_2"
+ cvsmodule="jboss-3.2.x">
+ </project>
+-->
+
+ <project template="projecttemplate.vm"
+ name="jboss-3.2-testsuite"
+ buildafterfailed="true"
+ modificationset="jboss-3.2-testsuite"
+ tag="Branch_3_2"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-3.2-testsuite"
+ testResults="checkout/jboss-3.2-testsuite/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_3_2"
+ cvsmodule="jboss-3.2.x"
+ jbossdir="jboss-3.2-testsuite">
+ </project>
+
+ <!--
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-jdk-matrix"
+ modificationset="jboss-4.0.x"
+ tag="Branch_4_0"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-4.0-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-4.0.x"
+ testResults="checkout/jboss-4.0.x/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_4_0"
+ cvsmodule="jboss-4.0.x">
+ </project>
+ -->
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-testsuite-1.4"
+ buildafterfailed="true"
+ modificationset="jboss-4.0-testsuite-1.4"
+ tag="Branch_4_0"
+ requiremodification="true"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-4.0-testsuite-1.4"
+ testResults="checkout/jboss-4.0-testsuite-1.4/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_4_0"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0-testsuite-1.4">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-testsuite-1.5"
+ buildafterfailed="true"
+ modificationset="jboss-4.0-testsuite-1.5"
+ tag="Branch_4_0"
+ requiremodification="true"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-4.0-testsuite-1.5"
+ testResults="checkout/jboss-4.0-testsuite-1.5/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_4_0"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0-testsuite-1.5">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-testsuite-1.6"
+ buildafterfailed="true"
+ modificationset="jboss-4.0-testsuite-1.6"
+ tag="Branch_4_0"
+ requiremodification="true"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-4.0-testsuite-1.6"
+ testResults="checkout/jboss-4.0-testsuite-1.6/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_4_0"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0-testsuite-1.6">
+ </project>
+<!--
+ <project template="projecttemplate.vm"
+ name="jboss-head-jdk-matrix"
+ modificationset="jboss-head"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-jboss-common.xml"
+ target="build-head-jdks"
+ timeout="7200"
+ logbuilddirectory="jboss-head"
+ testResults="checkout/jboss-head/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-head">
+ </project>
+-->
+
+ <project template="projecttemplate.vm"
+ name="jboss-head-testsuite-1.4"
+ buildafterfailed="true"
+ modificationset="jboss-head-testsuite-1.4"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-head-testsuite-1.4"
+ testResults="checkout/jboss-head-testsuite-1.4/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-head"
+ jbossdir="jboss-head-testsuite-1.4">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-head-testsuite-1.5"
+ buildafterfailed="true"
+ modificationset="jboss-head-testsuite-1.5"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-head-testsuite-1.5"
+ testResults="checkout/jboss-head-testsuite-1.5/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-head"
+ jbossdir="jboss-head-testsuite-1.5">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-head-testsuite-1.6"
+ buildafterfailed="true"
+ modificationset="jboss-head-testsuite-1.6"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test copyresults"
+ timeout="14400"
+ logbuilddirectory="jboss-head-testsuite-1.6"
+ testResults="checkout/jboss-head-testsuite-1.6/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-head"
+ jbossdir="jboss-head-testsuite-1.6">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbpm.3"
+ modificationset="jbpm.3"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbpm.3.xml"
+ target="copyresults"
+ timeout="3600"
+ logbuilddirectory="jbpm.3"
+ testResults="checkout/jbpm.3/build/test.results.jbpm/xml/TESTS-TestSuites.xml"
+ emailFailureTo="tom.baeyens at jboss.com,qa at jboss.com"
+ emailAlwaysTo="tom.baeyens at jboss.com,qa at jboss.com">
+ </project>
+
+<!--
+ <project template="projecttemplate.vm"
+ name="jms-head-testsuite"
+ modificationset="jms-head-testsuite/jms"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jms-head-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jms-head-testsuite"
+ testResults="checkout/jms-head-testsuite/jms/tests/output/reports/TESTS-TestSuites.xml"
+ emailFailureTo="ovidiu.feodorov at jboss.com,tim.fox at jboss.com,qa at jboss.com"
+ emailAlwaysTo="ovidiu.feodorov at jboss.com,tim.fox at jboss.com,qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-portal-2.4-testsuite"
+ modificationset="jboss-portal-2.4"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-portal.xml"
+ target="getcode runtestsuite copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-portal-2.4"
+ testResults="checkout/jboss-portal-2.4/build/reports/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ cvsmodule="jboss-portal-2.4"
+ jbossdir="jboss-portal-2.4"
+ emailFailureTo="jboss-development at lists.jboss.org,qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-cache"
+ modificationset="jboss-cache"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-JBossCache.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="jboss-cache"
+ testResults="checkout/jboss-cache/output/reports/html/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="dev-jbosscache at jboss.com,qa at jboss.com"
+ jbossdir="jboss-cache">
+ </project>
+-->
+ <project template="projecttemplate.vm"
+ name="jboss-cache-testsuite"
+ modificationset="jboss-cache-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-JBossCache.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-cache-testsuite"
+ testResults="checkout/jboss-cache-testsuite/output/reports/html/TESTS-TestSuites.xml"
+ cvsbranch="HEAD"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="dev-jbosscache at jboss.com,qa at jboss.com"
+ jbossdir="jboss-cache-testsuite"
+ skipusers="true">
+ </project>
+ <!--
+ <project template="projecttemplate.vm"
+ name="jboss-cache-testsuite-140"
+ modificationset="jboss-cache-testsuite-140"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-JBossCache.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-cache-testsuite-140"
+ testResults="checkout/jboss-cache-testsuite-140/output/reports/html/TESTS-TestSuites.xml"
+ cvsbranch="Branch_JBossCache_1_4_0"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="dev-jbosscache at jboss.com,qa at jboss.com"
+ jbossdir="jboss-cache-testsuite-140"
+ skipusers="true">
+ </project>
+-->
+ <project template="projecttemplate.vm"
+ name="jbosside"
+ modificationset="jbosside"
+ requiremodification="false"
+ scheduleinterval="43200"
+ buildfile="build-jboss-ide.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbosside"
+ testResults="scripts/logbuild/jbosside/results/org.jboss.ide.eclipse.tests.xml"
+ emailFailureTo="ide at jboss.com,qa at jboss.com"
+ emailAlwaysTo="ide at jboss.com,qa at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-remoting-testsuite-1.4"
+ modificationset="jboss-remoting-testsuite-1.4"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-remoting.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-remoting-testsuite-1.4"
+ testResults="checkout/jboss-remoting-testsuite-1.4/output/tests/results/TESTS-TestSuites.xml"
+ jbossdir="jboss-remoting-testsuite-1.4">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-remoting-testsuite-1.5"
+ modificationset="jboss-remoting-testsuite-1.5"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-remoting.xml"
+ target="copyresults"
+ timeout="10800"
+ logbuilddirectory="jboss-remoting-testsuite-1.5"
+ testResults="checkout/jboss-remoting-testsuite-1.5/output/tests/results/TESTS-TestSuites.xml"
+ jbossdir="jboss-remoting-testsuite-1.5">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-remoting-testsuite-1.6"
+ modificationset="jboss-remoting-testsuite-1.6"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-remoting.xml"
+ target="copyresults"
+ timeout="10800"
+ logbuilddirectory="jboss-remoting-testsuite-1.6"
+ testResults="checkout/jboss-remoting-testsuite-1.6/output/tests/results/TESTS-TestSuites.xml"
+ jbossdir="jboss-remoting-testsuite-1.6">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="jbosslabs"
+ modificationset="jbosslabs"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbosslabs.xml"
+ target="copyresults"
+ timeout="3600"
+ logbuilddirectory="jbosslabs"
+ testResults="checkout/jbosslabs/jbosswiki/wiki-common/target/test-reports/reports/TESTS-TestSuites.xml"
+ emailFailureTo="qa-internal at jboss.com"
+ emailAlwaysTo="dsicore at jboss.com">
+ </project>
+<!--
+ <project template="projecttemplate.vm"
+ name="cruisecontrol"
+ modificationset="cruisecontrol"
+ requiremodification="true"
+ scheduleinterval="900"
+ buildfile="build-cruisecontrol.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="cruisecontrol"
+ emailFailureTo="qa-internal at jboss.com,rrajasekaran at jboss.com"
+ emailAlwaysTo="qa-internal at jboss.com,rrajasekaran at jboss.com">
+ </project>
+-->
+ <project template="projecttemplate.vm"
+ name="microcontainer-head-testsuite"
+ modificationset="microcontainer-head-testsuite/container"
+ modificationset1="microcontainer-head-testsuite/dependency"
+ modificationset2="microcontainer-head-testsuite/kernel"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-microcontainer-head-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="microcontainer-head-testsuite"
+ testResults="checkout/microcontainer-head-testsuite/build/reports/TESTS-TestSuites.xml">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-seam-testsuite"
+ modificationset="jboss-seam-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-seam-testsuite.xml"
+ target="test-build-failures"
+ timeout="7200"
+ logbuilddirectory="jboss-seam-testsuite"
+ testResults="scripts/logbuild/jboss-seam-testsuite/results/tests/Core.xml"
+ emailFailureTo="jboss-development at lists.jboss.org"
+ emailAlwaysTo="qa at jboss.com"
+ jbossdir="jboss-seam-testsuite">
+ </project>
+
+ <project template="jbosslabstemplate.vm"
+ name="committer-list"
+ modificationset="committer-list"
+ requiremodification="true"
+ time="2200"
+ buildfile="build-committer-list.xml"
+ target="build"
+ timeout="3600"
+ logbuilddirectory="committer-list"
+ testResults="checkout/committer-list/output/reports/html/TESTS-TestSuites.xml"
+ emailFailureTo="qa-internal at jboss.com,rrajasekaran at jboss.com"
+ emailAlwaysTo="qa-internal at jboss.com,rrajasekaran at jboss.com">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-3.2-compatibility-matrix"
+ buildafterfailed="true"
+ modificationset="jboss-3.2-compatibility-matrix"
+ tag="Branch_3_2"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test-compatibility copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-3.2-compatibility-matrix"
+ testResults="checkout/jboss-3.2-compatibility-matrix/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="Branch_3_2"
+ cvsmodule="jboss-3.2.x"
+ jbossdir="jboss-3.2-compatibility-matrix">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jboss-4.0-compatibility-matrix"
+ buildafterfailed="true"
+ modificationset="jboss-4.0-compatibility-matrix"
+ tag="Branch_4_0"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jboss-common.xml"
+ target="test-compatibility copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-4.0-compatibility-matrix"
+ testResults="checkout/jboss-4.0-compatibility-matrix/testsuite/output/reports/TESTS-TestSuites.xml"
+ cvsbranch="JBoss_4_0_4_SP"
+ cvsmodule="jboss-4.0.x"
+ jbossdir="jboss-4.0-compatibility-matrix">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="jbossretro-testsuite"
+ buildafterfailed="true"
+ modificationset="jbossretro-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbossretro-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbossretro-testsuite"
+ testResults="checkout/jbossretro-testsuite/output/reports/TESTS-TestSuites.xml"
+ jbossdir="jbossretro-testsuite">
+ </project>
+
+ <project template="projecttemplate.vm"
+ name="concurrent-testsuite"
+ buildafterfailed="true"
+ modificationset="concurrent-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-concurrent-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="concurrent-testsuite"
+ testResults="checkout/concurrent-testsuite/output/reports/TESTS-TestSuites.xml"
+ jbossdir="concurrent-testsuite">
+ </project>
+<!--
+ <project template="projecttemplate.vm"
+ name="jbossws-testsuite"
+ buildafterfailed="true"
+ modificationset="jbossws-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-jbossws-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jbossws-testsuite"
+ testResults="checkout/jbossws-testsuite/output/tests/reports/TESTS-TestSuites.xml"
+ jbossdir="jbossws-testsuite">
+ </project>
+-->
+<!--
+ <project template="projecttemplate.vm"
+ name="aop-head-testsuite"
+ buildafterfailed="true"
+ modificationset="aop-head-testsuite"
+ requiremodification="false"
+ time="2200"
+ buildfile="build-aop-head-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="aop-head-testsuite"
+ testResults="checkout/aop-head-testsuite/aop/output/reports/TESTS-TestSuites.xml"
+ jbossdir="aop-head-testsuite">
+ </project>
+-->
+ <project template="projecttemplate.vm"
+ name="jboss-serialization-testsuite"
+ buildafterfailed="true"
+ modificationset="jboss-serialization-testsuite"
+ requiremodification="true"
+ time="2200"
+ buildfile="build-jboss-serialization-testsuite.xml"
+ target="copyresults"
+ timeout="7200"
+ logbuilddirectory="jboss-serialization-testsuite"
+ testResults="checkout/jboss-serialization-testsuite/build/test-results/aggrtest.xml"
+ jbossdir="jboss-serialization-testsuite">
+ </project>
+
+</projects>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projects.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projecttemplate.vm
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projecttemplate.vm (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projecttemplate.vm 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,74 @@
+ #set( $name = $project.getAttributeValue("name") )
+ <project name="$name" buildafterfailed="$project.getAttributeValue("buildafterfailed")">
+ <!-- Bootstrappers are run every time the build runs,
+ *before* the modification checks -->
+ <bootstrappers>
+ <currentbuildstatusbootstrapper file="logs/$name/buildstatus.txt"/>
+ </bootstrappers>
+
+ <!-- Defines where cruise looks for changes, to decide whether to run the build -->
+ <!-- quietperiod - seconds to wait for no changes before doing a build -->
+ #set( $requiremodification = $project.getAttributeValue("requiremodification") )
+ #set( $modificationset1 = $project.getAttributeValue("modificationset1") )
+ #set( $modificationset2 = $project.getAttributeValue("modificationset2") )
+ #set( $fakeModset = $project.getAttributeValue("fakeModset") )
+ #set( $tag = $project.getAttributeValue("tag") )
+ #set( $buildstatuslogdir = $project.getAttributeValue("buildstatuslogdir") )
+<modificationset quietperiod="$project.getAttributeValue("quietperiod")" #if( !($requiremodification == "")) requiremodification="$requiremodification" #end>
+ <cvs localworkingcopy="checkout/$project.getAttributeValue("modificationset")" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/>
+#if( !($modificationset1 == "") ) <cvs localworkingcopy="checkout/$modificationset1" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/> #end
+#if( !($modificationset2 == "") ) <cvs localworkingcopy="checkout/$modificationset2" #if( !($tag == "") ) tag="$project.getAttributeValue("tag")" #end/> #end
+ #if( !($buildstatuslogdir == "")) <buildstatus logdir="$buildstatuslogdir"/> #end
+ #if( !($fakeModset ==""))
+ <!-- use this for testing, don't wait for cvs log-->
+ <httpfile url="$fakeModset"/>
+ #end
+</modificationset>
+
+ <!-- Configures the actual build loop, how often and which build file/target -->
+ <!-- interval - (300) num seconds between checks -->
+ #set( $cvsbranch = $project.getAttributeValue("cvsbranch") )
+ #set( $cvsmodule = $project.getAttributeValue("cvsmodule") )
+ #set( $jbossdir = $project.getAttributeValue("jbossdir") )
+ #set( $scheduleinterval = $project.getAttributeValue("scheduleinterval") )
+ #set( $time = $project.getAttributeValue("time") )
+ <schedule #if( !($scheduleinterval == "") ) interval="$project.getAttributeValue("scheduleinterval")" #end>
+ <ant buildfile="$project.getAttributeValue("buildfile")" target="$project.getAttributeValue("target")" antscript="/opt/apache-ant-1.6.2/bin/ant" #if( !($time == "") ) time="$project.getAttributeValue("time")" #end
+ uselogger="$project.getAttributeValue("uselogger")" usedebug="$project.getAttributeValue("usedebug")" timeout="$project.getAttributeValue("timeout")" antWorkingDir="scripts">
+ #if( !($cvsbranch == "") ) <property name="cvs.branch" value="$cvsbranch"/> #end
+#if( !($cvsmodule == "")) <property name="cvs.module" value="$cvsmodule"/> #end
+#if( !($jbossdir == "")) <property name="jboss.dir" value="$jbossdir"/> #end
+</ant>
+ </schedule>
+
+ <!-- directory to write build logs to -->
+ <log dir="logs/$name">
+ <merge removeproperties="$project.getAttributeValue("removeproperties")"
+ file="$project.getAttributeValue("testResults")"/>
+ </log>
+
+ <!-- Publishers are run *after* a build completes -->
+ <publishers>
+ <artifactspublisher
+ dir="scripts/logbuild/$project.getAttributeValue("logbuilddirectory")"
+ dest="artifacts/$name"/>
+
+ <currentbuildstatuspublisher file="logs/$name/buildstatus.txt"/>
+
+ <!-- CHANGE TO cruisecontrol install dir and reporting host-->
+ <htmlemail mailhost="localhost"
+ css="../cruisecontrol-2.1.6/reporting/jsp/css/cruisecontrol.css"
+ xsldir="../cruisecontrol-2.1.6/reporting/jsp/xsl"
+ logdir="logs/$name"
+ returnaddress="$project.getAttributeValue("emailFrom")"
+ buildresultsurl="http://cruisecontrol.jboss.com/cc/buildresults/$name"
+ skipusers="$project.getAttributeValue("skipusers")">
+
+ <failure reportWhenFixed="$project.getAttributeValue("reportWhenFixed")" address="$project.getAttributeValue("emailFailureTo")"/>
+ <always address="$project.getAttributeValue("emailAlwaysTo")"/>
+ &maillist;
+ </htmlemail>
+
+ </publishers>
+ </project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/projecttemplate.vm
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/velocity-1.4.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/templates/velocity-1.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/test-cc.sh
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/test-cc.sh (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/test-cc.sh 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#echo kill old cruisecontrol jobs
+
+#killall -9 java
+#killall -9 cvs
+
+
+#echo sleep a bit before we start again
+#sleep 30
+
+../cruisecontrol/main/bin/cruisecontrol.sh -configfile scripts/cc-config.xml -projectname jboss-head -port 8090
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/cruisecontrol/test-cc.sh
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/jbossbuild.properties
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/jbossbuild.properties (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/jbossbuild.properties 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,9 @@
+
+# The location of the thirdparty (prebuilt artifacts) directory relative to the project root
+jbossbuild.thirdparty.dir=thirdparty
+
+# The name of the component info file
+jbossbuild.component.info=component-info.xml
+
+# The targetdefs to use
+jbossbuild.targetdefs.refid=targets
\ No newline at end of file
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/jbossbuild.properties
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/release.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/release.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/release.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,152 @@
+<?xml version="1.0"?>
+
+<!--
+ JBoss, the OpenSource J2EE webOS
+
+ Distributable under LGPL license.
+ See terms of license at gnu.org.
+-->
+
+<!-- ================================================================== -->
+<!-- JBoss AOP release build definition -->
+<!-- ================================================================== -->
+
+<project name="main.build"
+ default="build"
+ basedir="."
+>
+ <!-- Import the types -->
+ <import file="../tools/etc/jbossbuild/tasks.xml"/>
+
+ <!-- =============================================================== -->
+ <!-- The Main project definition -->
+ <!-- =============================================================== -->
+
+ <build id="jboss-aop"
+ impltitle="JBoss AOP"
+ implversion="1.0.0-FINAL"
+ implvendor="JBoss Inc."
+ implurl="http://www.jboss.com/products/aop"
+ description="JBoss Aspect Oriented Programming Framewoork"
+ cvsroot="cvs.sourceforge.net:/cvsroot/jboss"
+ thirdpartypath="../thirdparty/"
+ location="http://cruisecontrol.jboss.com/repository/"
+ targetdefs="targets">
+
+ <!-- ============================================================ -->
+ <!-- Common utilities -->
+ <!-- ============================================================ -->
+
+ <component id="common"
+ version="5.0-SNAPSHOT"
+ >
+ <artifact id="jboss-common.jar" release="lib"/>
+ <artifact id="jboss-common-client.jar"/>
+ <artifact id="namespace.jar"/>
+ </component>
+
+ <includes id="common-project">
+ <include input="jboss-common.jar"/>
+ <include input="namespace.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- Container -->
+ <!-- ============================================================ -->
+
+ <component id="container"
+ version="5.0-SNAPSHOT"
+ >
+ <artifact id="jboss-container.jar"/>
+ </component>
+
+ <includes id="container-project">
+ <include input="jboss-container.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- AOP -->
+ <!-- ============================================================ -->
+
+ <component id="aop"
+ module="jboss-aop"
+ version="1.0.0-FINAL"
+ >
+ <artifact id="jboss-aop.jar" release="lib"/>
+ </component>
+
+ <includes id="aop-project">
+ <include input="jboss-aop.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- QDox -->
+ <!-- ============================================================ -->
+
+ <component id="qdox"
+ version="1.4">
+ <artifact id="qdox.jar" release="lib"/>
+ </component>
+
+ <includes id="qdox-lib">
+ <include input="qdox.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- Javassist -->
+ <!-- ============================================================ -->
+
+ <component id="javassist"
+ version="3.0beta">
+ <artifact id="javassist.jar" release="lib"/>
+ </component>
+
+ <includes id="javassist-lib">
+ <include input="javassist.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- Trove -->
+ <!-- ============================================================ -->
+
+ <component id="trove"
+ version="2.1.1">
+ <artifact id="trove.jar" release="lib"/>
+ </component>
+
+ <includes id="trove-lib">
+ <include input="trove.jar"/>
+ </includes>
+
+ <!-- ============================================================ -->
+ <!-- Oswego Concurrent Library -->
+ <!-- ============================================================ -->
+
+ <component id="oswego-concurrent"
+ version="1.0">
+ <artifact id="concurrent.jar" release="lib"/>
+ </component>
+
+ <includes id="concurrent">
+ <include input="concurrent.jar"/>
+ </includes>
+
+
+ <!-- ============================================================ -->
+ <!-- JUnit -->
+ <!-- ============================================================ -->
+
+ <component id="junit-junit"
+ version="3.8.1">
+ <artifact id="junit.jar" release="lib"/>
+ </component>
+
+ <includes id="junit">
+ <include input="junit.jar"/>
+ </includes>
+ </build>
+
+ <!-- Generate the targets -->
+ <generate generate="jboss-aop"/>
+
+</project>
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/release.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/tasks.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/tasks.xml (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/tasks.xml 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,1023 @@
+<?xml version="1.0"?>
+
+<!--
+ JBoss, the OpenSource J2EE webOS
+
+ Distributable under LGPL license.
+ See terms of license at gnu.org.
+-->
+<project name="jboss.ant.tasks"
+ default="help-fragment"
+>
+<!-- ================================================================== -->
+<!-- Properties -->
+<!-- ================================================================== -->
+
+ <!-- because this file may be imported from various locations
+ locations must be referenced in an absolute fashion -->
+ <dirname property="imported.basedir" file="${ant.file.jboss.ant.tasks}"/>
+
+
+ <property file="${imported.basedir}/jbossbuild.properties"/>
+
+ <property name="jboss.tasks.path"
+ value="${imported.basedir}/../../../tools/lib/jbossbuild.jar" />
+
+ <!-- items required for javcc task -->
+ <property name="sun.javacc.lib"
+ value="${imported.basedir}/../../../${jbossbuild.thirdparty.dir}/sun-javacc/lib/"/>
+
+ <property name="jacorb.root"
+ value="${imported.basedir}/../../../${jbossbuild.thirdparty.dir}/jacorb"/>
+
+ <property name="apache.logkit.lib"
+ value="${imported.basedir}/../../../${jbossbuild.thirdparty.dir}/apache-avalon-logkit/lib"/>
+
+
+ <path id="jacorb.idl.classpath">
+ <pathelement path="${jacorb.root}/lib/idl.jar"/>
+ <pathelement path="${apache.logkit.lib}/logkit.jar"/>
+ </path>
+
+
+<!-- ================================================================== -->
+<!-- Type Definitions -->
+<!-- ================================================================== -->
+
+ <!-- The generate type -->
+ <typedef name="generate"
+ classname="org.jboss.ant.types.Generate"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The build type -->
+ <typedef name="build"
+ classname="org.jboss.ant.types.build.Build"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The artifact type definition type -->
+ <typedef name="artifacttype"
+ classname="org.jboss.ant.types.build.ArtifactType"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The component definition type -->
+ <typedef name="componentdef"
+ classname="org.jboss.ant.types.component.ComponentDefinition"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The component type -->
+ <typedef name="component"
+ classname="org.jboss.ant.types.build.Component"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The includes type -->
+ <typedef name="includes"
+ classname="org.jboss.ant.types.Includes"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- The build targets type -->
+ <typedef name="targets"
+ classname="org.jboss.ant.types.target.TargetDefinitions"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+<!-- ================================================================== -->
+<!-- Task Definitions -->
+<!-- ================================================================== -->
+
+ <!-- Update ide info for the main build -->
+ <taskdef name="idemain"
+ classname="org.jboss.ant.tasks.build.IDETask"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- Update ide info for the component -->
+ <taskdef name="idecomponent"
+ classname="org.jboss.ant.tasks.component.IDETask"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- Generate a componentref graph and resolve the dependencies -->
+ <taskdef name="synchronizeinfo"
+ classname="org.jboss.ant.tasks.build.SynchronizeComponentsTask"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- A task which allows a visitor to visit the graph -->
+ <taskdef name="visit-componentref-graph"
+ classname="org.jboss.ant.tasks.build.VisitComponentRefGraphTask"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- Generate libraries.ent with version number in paths -->
+ <taskdef name="gen-lib-file"
+ classname="org.jboss.ant.tasks.build.GenerateLibrariesFile"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- RMIC compilation logic -->
+ <taskdef name="rmic-helper"
+ classname="org.jboss.ant.tasks.build.RMICHelper"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- Executes a given target without reparsing the project file -->
+ <taskdef name="execute-target"
+ classname="org.jboss.ant.tasks.build.TargetExecutor"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- Copy with support for zipfile sets -->
+ <taskdef name="copy-zfs"
+ classname="org.jboss.ant.tasks.build.CopyWithZipFileSetSupport"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+ <!-- File release task -->
+ <taskdef name="copy-release"
+ classname="org.jboss.ant.tasks.build.CopyRelease"
+ loaderRef="jboss.tasks.path"
+ classpath="${jboss.tasks.path}"
+ />
+
+
+
+
+
+
+<!-- ================================================================== -->
+<!-- Artifact Definitions -->
+<!-- ================================================================== -->
+
+ <artifacttype type="jar" outputtype="lib"/>
+ <artifacttype type="zip" outputtype="lib"/>
+ <artifacttype type="sar" outputtype="lib"/>
+ <artifacttype type="rar" outputtype="lib"/>
+ <artifacttype type="war" outputtype="lib"/>
+ <artifacttype type="deployer" outputtype="lib"/>
+ <artifacttype type="api" outputtype="api"/>
+ <artifacttype type="xml" outputtype="resource"/>
+ <artifacttype type="policy" outputtype="resource"/>
+ <artifacttype type="properties" outputtype="resource"/>
+ <artifacttype type="sh" outputtype="bin"/>
+ <artifacttype type="bat" outputtype="bin"/>
+ <artifacttype type="conf" outputtype="bin"/>
+ <artifacttype type="dtd" outputtype="dtd"/>
+ <artifacttype type="xsd" outputtype="schema"/>
+ <artifacttype type="aop" outputtype="resource"/>
+ <artifacttype type="idl" outputtype="resource"/>
+ <artifacttype type="md5" outputtype="bin"/>
+ <artifacttype type="dir" outputtype="lib"/>
+ <artifacttype type="ddl" outputtype="resource"/>
+
+<!-- ================================================================== -->
+<!-- Target Definitions -->
+<!-- ================================================================== -->
+
+ <targets id="targets">
+
+ <!-- ============================================================ -->
+ <!-- Build All -->
+ <!-- Builds everything (build, docs, tests and release archives) -->
+ <!-- ============================================================ -->
+
+ <targetdef target="all" description="Build All">
+ <main depends="build, doc, test, archives" components="none"/>
+ <component depends="build, doc, test"/>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Init -->
+ <!-- Basic initilization tasks and property setup -->
+ <!-- ============================================================ -->
+ <targetdef target="build.init" description="initilization tasks and property setup">
+
+ <!-- for each componentdef in jbossbuild file, setup properties
+ in case a use wishes to access them
+ -->
+ <component>
+ <property name="build.module" value="@{parentDir}"/>
+ <property name="build.module.src" value="${build.module}/src"/>
+ <property name="build.module.resources" value="${build.module}/src/resources"/>
+ <property name="build.module.etc" value="${build.module}/src/etc"/>
+ <property name="build.module.output" value="@{output}"/>
+ <property name="build.module.output.gen-src" value="${build.module.output}/gen-src"/>
+ <property name="build.module.dir" value="@{output}"/>
+ <property name="build.module.output.resources" value="${build.module.output}/resources"/>
+ <property name="build.module.output.lib" value="${build.module.output}/lib"/>
+ <property name="build.module.output.classes" value="${build.module.output}/classes"/>
+ </component>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Build -->
+ <!-- Builds the artifacts and compiles all source -->
+ <!-- ============================================================ -->
+
+ <targetdef target="build" description="Build" >
+
+ <!-- Build the main release
+ Creates the main release directory and copies artifacts
+ to the specified location
+ -->
+ <main>
+ <mkdir dir="@{releaseDir}"/>
+ <antCall target="release"/>
+ </main>
+
+
+ <!--
+ Build the component
+ Just makes the output folder
+ -->
+ <component depends="build.init, build.etc">
+ <mkdir dir="@{output}/etc"/>
+ <copy todir="@{output}/etc" filtering="yes">
+ <fileset dir="@{component.dir}/src/etc/" includes="**"/>
+ </copy>
+ </component>
+
+ <!-- Build resources if the component has a
+ resource node -->
+ <resource depends="build.resources"/>
+
+ <!-- JTREE-JAVACC source generation -->
+ <generatedsource when="@{jtree-javacc}">
+
+ <dirname file="/@{jtree-javacc}" property="@{id}.path"/>
+ <property name="@{id}.output.path" value="@{output}/${@{id}.path}"/>
+
+ <mkdir dir="${@{id}.output.path}"/>
+ <jjtree
+ target="src/@{srcdir}/@{jtree-javacc}"
+ outputdirectory="${@{id}.output.path}"
+ javacchome="${sun.javacc.lib}"/>
+
+ <basename file="@{jtree-javacc}"
+ property="@{id}.basename"
+ suffix="jjt"/>
+
+ <javacc
+ target="${@{id}.output.path}/${@{id}.basename}.jj"
+ javacchome="${sun.javacc.lib}"/>
+
+ </generatedsource>
+
+ <!-- JAVACC source generation -->
+ <generatedsource when="@{javacc}">
+
+ <dirname file="/@{javacc}" property="@{id}.path"/>
+ <property name="@{id}.output.path" value="@{output}/${@{id}.path}"/>
+
+ <mkdir dir="${@{id}.output.path}"/>
+
+ <javacc
+ target="src/@{srcdir}/@{javacc}"
+ javacchome="${sun.javacc.lib}"
+ static="@{static}"
+ outputdirectory="${@{id}.output.path}"/>
+
+ </generatedsource>
+
+ <!-- IDL compilation -->
+ <generatedsource when="@{idl}">
+
+ <!-- Task to compile idl files required by jacorb -->
+ <taskdef name="jacidl"
+ classname="org.jacorb.idl.JacIDL"
+ classpathref="jacorb.idl.classpath"
+ />
+
+ <property name="@{id}.output.path" value="@{output}/@{id}"/>
+
+ <mkdir dir="${@{id}.output.path}"/>
+
+ <jacidl
+ srcdir ="src/@{idl}"
+ destdir="${@{id}.output.path}"
+ includes="*.idl"
+ includepath="${jacorb.root}/resources/"
+ />
+
+ </generatedsource>
+
+
+ <!-- Compile the source
+ Runs depend on the source output then compiles the source
+ -->
+ <source if="@{compileable}">
+
+ <mkdir dir="@{output}"/>
+ <depend srcdir="@{sourcePath}"
+ destdir="@{output}"
+ >
+ <classpath>
+ <buildpathelements/>
+ </classpath>
+ </depend>
+ <javac srcdir="@{sourcePath}"
+ destdir="@{output}"
+ debug="true"
+ deprecation="true"
+ excludes="@{excludes}"
+ target="@{jvmTarget}"
+ source="@{jvmSource}"
+ fork="true"
+ memoryMaximumSize="512M"
+ >
+ <classpath>
+ <buildpathelements/>
+ </classpath>
+ <src path="@{sourcePath}"/>
+ <!-- allow multiple sources to be compiled at once to handle circular references -->
+ <srcelements/>
+ </javac>
+
+ <copy toDir="@{output}">
+ <fileset dir="@{sourcePath}">
+ <include name="**/*.properties"/>
+ </fileset>
+ </copy>
+ </source>
+
+ <source when="@{stubversion}">
+ <property name="jb.stubversion" value="@{stubversion}"/>
+ </source>
+
+
+ <!-- Remote method call compilation. -->
+ <source when="@{rmic}">
+ <rmic-helper
+ base="@{output}"
+ includes="@{rmic}"
+ verify="true"
+ debug="false"
+ iiop="@{iiop}"
+ idl="false"
+ external="@{external}"
+ stubversion="${jb.stubversion}"
+
+ >
+ <classpath>
+ <buildpathelements/>
+ </classpath>
+ </rmic-helper>
+ </source>
+
+ <!-- Create a jar archive
+ Jars the inputs of the jar artifact
+ -->
+ <jar null="@{manifest}" if="@{buildable}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <manifest>
+ <attribute name="Created-by" value="@{component.VMVersion} @{component.VMVendor}"/>
+ <attribute name="Specification-Title" value="@{component.specTitle}"/>
+ <attribute name="Specification-Version" value="@{component.specVersion}"/>
+ <attribute name="Specification-Vendor" value="@{component.specVendor}"/>
+ <attribute name="Implementation-Title" value="@{component.implTitle}"/>
+ <attribute name="Implementation-URL" value="@{component.implURL}"/>
+ <attribute name="Implementation-Version" value="@{component.implVersion}"/>
+ <attribute name="Implementation-Vendor" value="@{component.implVendor}"/>
+ <attribute name="Implementation-Vendor-Id" value="@{component.implURL}"/>
+ <attribute name="Class-Path" value="@{classpath}"/>
+ </manifest>
+ <filesets/>
+ </jar>
+ </jar>
+
+ <!-- Create an aop archive
+ Jars the inputs of the aop artifact
+ -->
+ <aop if="@{buildable}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <filesets/>
+ </jar>
+ </aop>
+
+ <jar when="@{manifest}" if="@{buildable}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}"
+ manifest="@{component.output}/etc/manifest/@{manifest}">
+ <filesets/>
+ </jar>
+ </jar>
+
+
+
+ <!-- Create a sar archive
+ Jars the inputs of the sar artifact
+ -->
+ <sar null="@{manifest}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <manifest>
+ <attribute name="Created-by" value="@{component.VMVersion} @{component.VMVendor}"/>
+ <attribute name="Specification-Title" value="@{component.specTitle}"/>
+ <attribute name="Specification-Version" value="@{component.specVersion}"/>
+ <attribute name="Specification-Vendor" value="@{component.specVendor}"/>
+ <attribute name="Implementation-Title" value="@{component.implTitle}"/>
+ <attribute name="Implementation-URL" value="@{component.implURL}"/>
+ <attribute name="Implementation-Version" value="@{component.implVersion}"/>
+ <attribute name="Implementation-Vendor" value="@{component.implVendor}"/>
+ <attribute name="Implementation-Vendor-Id" value="@{component.implURL}"/>
+ <attribute name="Class-Path" value="@{classpath}"/>
+ </manifest>
+ <filesets/>
+ </jar>
+ </sar>
+
+
+ <!-- Create a rar archive
+ Jars the inputs of the rar artifact
+ -->
+ <rar null="@{manifest}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <manifest>
+ <attribute name="Created-by" value="@{component.VMVersion} @{component.VMVendor}"/>
+ <attribute name="Specification-Title" value="@{component.specTitle}"/>
+ <attribute name="Specification-Version" value="@{component.specVersion}"/>
+ <attribute name="Specification-Vendor" value="@{component.specVendor}"/>
+ <attribute name="Implementation-Title" value="@{component.implTitle}"/>
+ <attribute name="Implementation-URL" value="@{component.implURL}"/>
+ <attribute name="Implementation-Version" value="@{component.implVersion}"/>
+ <attribute name="Implementation-Vendor" value="@{component.implVendor}"/>
+ <attribute name="Implementation-Vendor-Id" value="@{component.implURL}"/>
+ <attribute name="Class-Path" value="@{classpath}"/>
+ </manifest>
+ <filesets/>
+ </jar>
+ </rar>
+
+ <!-- Create a war archive
+ Jars the inputs of the war artifact
+ -->
+ <war null="@{manifest}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <manifest>
+ <attribute name="Created-by" value="@{component.VMVersion} @{component.VMVendor}"/>
+ <attribute name="Specification-Title" value="@{component.specTitle}"/>
+ <attribute name="Specification-Version" value="@{component.specVersion}"/>
+ <attribute name="Specification-Vendor" value="@{component.specVendor}"/>
+ <attribute name="Implementation-Title" value="@{component.implTitle}"/>
+ <attribute name="Implementation-URL" value="@{component.implURL}"/>
+ <attribute name="Implementation-Version" value="@{component.implVersion}"/>
+ <attribute name="Implementation-Vendor" value="@{component.implVendor}"/>
+ <attribute name="Implementation-Vendor-Id" value="@{component.implURL}"/>
+ <attribute name="Class-Path" value="@{classpath}"/>
+ </manifest>
+ <filesets/>
+ </jar>
+ </war>
+
+ <!-- Create a deployer archive
+ Jars the inputs of the war artifact
+ -->
+ <deployer null="@{manifest}" if="@{buildable}">
+ <mkdir dir="@{parentDir}"/>
+ <jar destfile="@{output}">
+ <manifest>
+ <attribute name="Created-by" value="@{component.VMVersion} @{component.VMVendor}"/>
+ <attribute name="Specification-Title" value="@{component.specTitle}"/>
+ <attribute name="Specification-Version" value="@{component.specVersion}"/>
+ <attribute name="Specification-Vendor" value="@{component.specVendor}"/>
+ <attribute name="Implementation-Title" value="@{component.implTitle}"/>
+ <attribute name="Implementation-URL" value="@{component.implURL}"/>
+ <attribute name="Implementation-Version" value="@{component.implVersion}"/>
+ <attribute name="Implementation-Vendor" value="@{component.implVendor}"/>
+ <attribute name="Implementation-Vendor-Id" value="@{component.implURL}"/>
+ <attribute name="Class-Path" value="@{classpath}"/>
+ </manifest>
+ <filesets/>
+ </jar>
+ </deployer>
+
+ <!-- Create a md5 checksumarchive -->
+ <md5 null="@{manifest}">
+ <mkdir dir="@{parentDir}"/>
+ <checksum>
+ <filesets/>
+ </checksum>
+ </md5>
+
+ <!-- create a directory and copy into it all of the filesets or zipfilesets -->
+ <dir if="@{buildable}">
+ <mkdir dir="@{output}"/>
+ <copy-zfs todir="@{output}">
+ <filesets/>
+ </copy-zfs>
+ </dir>
+
+
+ <!-- this is a hack. jbbuild will not allow artifacts with same id
+ varia requires a dir to be created called kernel, but cannot be created
+ because kernel already exists as a component. Only option is to create the dir
+ and rename it to kernel -->
+ <dir if="@{buildable}" when="@{rename}">
+ <mkdir dir="@{parentDir}/@{rename}"/>
+ <copy-zfs todir="@{parentDir}/@{rename}">
+ <filesets/>
+ </copy-zfs>
+ </dir>
+
+ <!-- copying of artifacts to new name -->
+ <artifactdef when="@{toname}">
+ <mkdir dir="@{parentDir}"/>
+ <copy toFile="@{parentDir}/@{toname}">
+ <filesets/>
+ </copy>
+ </artifactdef>
+
+ <sh depends="build.bin"/>
+ <bat depends="build.bin"/>
+ </targetdef>
+
+ <!-- Copy the etc -->
+ <targetdef target="build.etc">
+
+ <component>
+
+ <mkdir dir="@{output}/etc"/>
+ <mkdir dir="@{component.dir}/src/etc/"/>
+ <copy todir="@{output}/etc" filtering="yes">
+
+ <fileset dir="@{component.dir}/src/etc/" includes="**"/>
+ <filterset>
+ <filter token="java.vm.version" value="@{component.VMVersion}"/>
+ <filter token="java.vm.vendor" value="@{component.VMVendor}"/>
+ <filter token="specification.title" value="@{component.specTitle}"/>
+ <filter token="specification.version" value="@{component.specVersion}"/>
+ <filter token="specification.vendor" value="@{component.specVendor}"/>
+ <filter token="implementation.title" value="@{component.implTitle}"/>
+ <filter token="implementation.url" value="@{component.implURL}"/>
+ <filter token="implementation.version" value="@{component.implVersion}"/>
+ <filter token="implementation.vendor" value="@{component.implVendor}"/>
+ <filter token="implementation.vendor.id" value="@{component.implURL}"/>
+ </filterset>
+ </copy>
+ </component>
+
+ </targetdef>
+
+ <targetdef target="build.resources">
+
+ <component>
+ <mkdir dir="@{output}/resources"/>
+ <copy todir="@{output}" filtering="yes">
+ <fileset dir="@{component.dir}/src" includes="resources/**"/>
+ </copy>
+ </component>
+ </targetdef>
+
+
+
+ <targetdef target="build.bin">
+ <component>
+ <mkdir dir="@{output}/bin"/>
+ <copy todir="@{output}/bin" filtering="yes">
+ <fileset dir="@{component.dir}/src/bin">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <fixcrlf srcdir="@{output}/bin"
+ eol="lf" eof="remove"
+ includes="**/*.sh"/>
+
+ <fixcrlf srcdir="@{output}/bin"
+ eol="crlf" eof="remove"
+ includes="**/*.bat, **/*.cmd"/>
+
+ <chmod perm="+x">
+ <fileset dir="@{output}/bin">
+ <include name="**/*.sh"/>
+ </fileset>
+ </chmod>
+
+ </component>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Release -->
+ <!-- Create the release by copying all artifacts that have a -->
+ <!-- release tag to that specified location. -->
+ <!-- ============================================================ -->
+
+ <targetdef target="release">
+
+
+ <!-- Copy the artifact into the release -->
+ <artifact when="@{tofile}">
+ <copy-release release="@{release}" tofile="@{tofile}" requiredJDK="@{requiredJDK}"
+ exploded="@{exploded}" overwrite="@{overwrite}">
+ <output/>
+ </copy-release>
+ </artifact>
+
+ <artifact null="@{tofile}" when="@{release}" >
+ <copy-release release="@{release}"
+ exploded="@{exploded}"
+ requiredJDK="@{requiredJDK}"
+ overwrite="@{overwrite}"
+ >
+ <output/>
+ </copy-release>
+ </artifact>
+
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Publish -->
+ <!-- Copy an artifact to the location specified by -->
+ <!-- ${jbossbuild.repository.root} -->
+ <!-- Used by the continous build to publish to the repository. -->
+ <!-- ============================================================ -->
+
+ <targetdef target="publish" if="@{local}">
+
+ <!-- copy the component-info.xml into the repository -->
+ <componentmain if="@{local}">
+ <fail unless="repository.root">
+ The publish target requires repository.root to be set.
+ </fail>
+ <mkdir dir="${repository.root}/@{relativePath}"/>
+ <copy failonerror="false" file="@{dir}/${jbossbuild.component.info}"
+ todir="${repository.root}/@{relativePath}"
+ />
+
+ </componentmain>
+
+ <!-- Copy the artifact into the release -->
+ <artifact if="@{component.local}">
+ <fail unless="repository.root">
+ The publish target requires repository.root to be set.
+ </fail>
+ <mkdir dir="${repository.root}/@{relativePath}"/>
+ <copy todir="${repository.root}/@{relativePath}">
+ <output/>
+ </copy>
+ </artifact>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Archives -->
+ <!-- Builds the release archive(s) -->
+ <!-- ============================================================ -->
+
+ <!-- Build the release archives -->
+ <targetdef target="archives" description="Build the release archives">
+
+ <!-- Make the archives -->
+ <main>
+
+ <!-- Create the zip file -->
+ <zip destfile="@{output}/@{releaseName}.zip"
+ basedir="@{releaseDir}"
+ />
+ </main>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Doc -->
+ <!-- Creates the documentation. -->
+ <!-- ============================================================ -->
+
+ <targetdef target="doc" description="Documentation">
+
+ <!-- Generate the documentation -->
+ <component depends="api"/>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- API -->
+ <!-- Creates the javadoc -->
+ <!-- ============================================================ -->
+
+ <targetdef target="api" description="Javadoc">
+
+ <!-- Generate the javadoc -->
+ <component/>
+ <api>
+ <mkdir dir="@{output}"/>
+ <javadoc packagenames="*"
+ destdir="@{output}"
+ >
+ <doctitle>
+ <![CDATA[<h1>@{description} API Documentation</h1>]]>
+ </doctitle>
+ <bottom>
+ <![CDATA[
+ <i>
+ <div align="center">
+ <font size="-1">
+ Copyright © 2005 JBoss Inc. All Rights Reservered.
+ </font>
+ </div>
+ </i>
+ ]]>
+ </bottom>
+ <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
+ <sourcepath>
+ <sourcepaths/>
+ </sourcepath>
+ <classpath>
+ <sourcepathelements/>
+ </classpath>
+ </javadoc>
+ </api>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Clean -->
+ <!-- Deletes the output folder -->
+ <!-- ============================================================ -->
+
+ <targetdef target="clean" description="Clean">
+ <common>
+ <delete dir="@{output}" failonerror="false"/>
+ </common>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Clobber -->
+ <!-- Deletes the output folder and removes thirdparty -->
+ <!-- ============================================================ -->
+
+ <targetdef target="clobber" description="Clobber">
+ <main depends="clean">
+ <delete dir="@{thirdparty}"/>
+ </main>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Synchronize -->
+ <!-- Resynchronizes the project with cvs -->
+ <!-- ============================================================ -->
+
+ <targetdef target="synchronize" description="Synchronize">
+
+ <!-- Update the main build folder and tools from cvs
+ then do the same for the components before running
+ the after synchronization processing
+ NOTE: Does not automatically invoke component builds
+ as the list of components maybe out-of-date at this point
+ and we need to conditionally do cvs co/update
+ -->
+ <main components="none">
+ <!-- cvs command="update -dP" failonerror="true"/-->
+ <!--invoke target="synchronize" dir="../tools"/-->
+ <execute-target target="synchronize.components" />
+ <!-- execant target="synchronize.after.main"/-->
+ </main>
+
+ <componentmain unless="@{local}">
+ <mkdir dir="@{thirdpartyDir}"/>
+ <get src="@{location}/${jbossbuild.component.info}"
+ dest="@{thirdpartyDir}/${jbossbuild.component.info}"
+ useTimestamp="false"
+ verbose="true"
+ />
+ </componentmain>
+
+ <!-- If the component exists we just do a cvs update -->
+ <componentmain if="@{exists}">
+ <cvs dest="@{dir}" command="update"/>
+ <!-- NOTE: unable to delegate to component until JBBUILD-62 is resolved -->
+ <!--invoke target="synchronize" dir="@{dir}"/-->
+ <!--execant target="synchronize.after" dir="@{dir}"/-->
+ </componentmain>
+
+ <!-- If the component doesn't exist and we want to
+ get the source build check it out from cvs
+ -->
+ <componentmain unless="@{exists}" if="@{local}">
+ <cvs dest="@{dir.parent}">
+ <commandline>
+ <argument value="-d"/>
+ <argument value="@{build.cvsroot}"/>
+ <argument value="co"/>
+ <argument value="-d"/>
+ <argument value="@{id}"/>
+ <argument value="@{module}"/>
+ </commandline>
+ </cvs>
+ <!-- execant target="synchronize.after" dir="@{dir}"/-->
+ </componentmain>
+
+ <!-- The component already exists do a cvs update
+ and run the after synchronization
+ -->
+ <component nomain="true">
+ <cvs command="update -dP" failonerror="true"/>
+ <!--execant target="synchronize.after"/-->
+ </component>
+
+ <!-- If we are not doing a source checkout of this
+ component, download the artifacts to thirdparty
+ -->
+ <artifact unless="@{component.local}">
+ <mkdir dir="@{parentDir}"/>
+ <get src="@{location}"
+ dest="@{output}"
+ useTimestamp="false"
+ verbose="true"
+ />
+ </artifact>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Commit -->
+ <!-- Commits the changes to cvs -->
+ <!-- ============================================================ -->
+
+ <targetdef target="commit" description="Commit">
+ <!-- Commit the main build and tools -->
+ <main>
+ <fail message="Use -Dm="xxx" to specify the commit message" unless="m"/>
+ <cvs failonerror="true">
+ <commandline>
+ <argument value="commit"/>
+ <argument value="-m"/>
+ <argument value="${m}"/>
+ </commandline>
+ </cvs>
+ <invoke target="commit" dir="../tools"/>
+ </main>
+ <!-- Commit the component -->
+ <component>
+ <fail message="Use -Dm="xxx" to specify the commit message" unless="m"/>
+ <cvs failonerror="true">
+ <commandline>
+ <argument value="commit"/>
+ <argument value="-m"/>
+ <argument value="${m}"/>
+ </commandline>
+ </cvs>
+ </component>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Test -->
+ <!-- Builds and runs the tests -->
+ <!-- ============================================================ -->
+
+ <targetdef target="test" description="Build and run the tests">
+ <component depends="build, runtest"/>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- RunTest -->
+ <!-- Runs the tests for sources marked with a test attribute -->
+ <!-- ============================================================ -->
+
+ <!-- Run the Test -->
+ <targetdef target="runtest" description="Run tests">
+ <component/>
+ <source when="@{test}">
+ <mkdir dir="@{testDir}"/>
+ <delete file="@{testDir}/test.log"/>
+ <junit fork="true"
+ printSummary="true">
+ <sysproperty key="org.jboss.test.logfile" value="@{testDir}/test.log"/>
+ <formatter type="plain"/>
+ <classpath>
+ <pathElements/>
+ </classpath>
+ <batchtest todir="@{testDir}">
+ <fileset dir="@{sourceDir}" includes="@{test}"/>
+ </batchtest>
+ </junit>
+ </source>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Rebuild -->
+ <!-- Synchronizes then builds -->
+ <!-- ============================================================ -->
+
+ <!-- Rebuild -->
+ <targetdef target="rebuild" description="Synchronize then build">
+ <common depends="synchronize">
+ <execant target="build"/>
+ </common>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- RebuildAll -->
+ <!-- Synchronizes then builds all -->
+ <!-- ============================================================ -->
+
+ <!-- Rebuild all -->
+ <targetdef target="rebuildall" description="Synchronize then build all">
+ <common depends="synchronize">
+ <execant target="all"/>
+ </common>
+ </targetdef>
+
+ <!-- ============================================================ -->
+ <!-- Synchronize.After -->
+ <!-- After synchronization processing -->
+ <!-- ============================================================ -->
+
+ <!-- After synchronization processing -->
+ <targetdef target="synchronize.after" description="After synchronization processing">
+ <main>
+ <idemain/>
+ </main>
+ <component>
+ <idecomponent/>
+ </component>
+ </targetdef>
+
+
+
+ </targets>
+
+<!-- ================================================================== -->
+<!-- Macro Definitions -->
+<!-- ================================================================== -->
+
+ <condition property="execant-executable" value="cmd.exe">
+ <os family="windows"/>
+ </condition>
+ <property name="execant-executable" value="ant"/>
+ <condition property="execant-prefix" value="/c ant">
+ <os family="windows"/>
+ </condition>
+ <property name="execant-prefix" value=""/>
+ <!-- Set the execant.args to empty unless it already exists -->
+ <condition property="execant.args" value="">
+ <not><isset property="execant.args"/></not>
+ </condition>
+
+ <!-- The execant macro -->
+ <macrodef name="execant">
+ <attribute name="dir"
+ default="${basedir}"
+ description="The directory"
+ />
+ <attribute name="target"
+ description="The target"
+ />
+ <attribute name="filename"
+ default="jbossbuild.xml"
+ description="The ant file to execute"
+ />
+ <sequential>
+ <!-- Invoke using a new ant -->
+ <exec dir="@{dir}"
+ executable="${execant-executable}"
+ >
+ <arg line="${execant-prefix} ${execant.args} -f @{filename} @{target}"/>
+ </exec>
+ </sequential>
+ </macrodef>
+
+ <!-- The invoke macro -->
+ <macrodef name="invoke">
+ <attribute name="dir"
+ default="${basedir}"
+ description="The directory"
+ />
+ <attribute name="target"
+ description="The target"
+ />
+ <sequential>
+ <!-- Invoke using a new ant -->
+ <ant antfile="jbossbuild.xml" dir="@{dir}" target="@{target}"/>
+ </sequential>
+ </macrodef>
+
+<!-- ================================================================== -->
+<!-- Targets -->
+<!-- ================================================================== -->
+
+ <target name="help-fragment">
+ <fail message="Do not execute this build fragment directly!"/>
+ </target>
+
+</project>
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/etc/jbossbuild/tasks.xml
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/templates/mbean-custom.j
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/templates/mbean-custom.j (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/etc/xdoclet/templates/mbean-custom.j 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,5 @@
+
+<XDtClass:ifHasClassTag tagName="jmx:mbean" paramName="name">
+ //default object name
+ public static final javax.management.ObjectName OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory.create("<XDtClass:classTagValue tagName="jmx:mbean" paramName="name"/>");
+</XDtClass:ifHasClassTag>
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/README
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tools/lib/README (rev 0)
+++ labs/jbossbuild/buildmagic/trunk/tools/lib/README 2008-08-05 19:10:51 UTC (rev 21373)
@@ -0,0 +1,14 @@
+Please refer to the Ant manual under Installing Ant / Library
+Dependencies for a list of the jar requirements for various optional
+tasks and features.
+
+This directory contains xercesImpl.jar from the 2.6.1 release of
+Apache Xerces. For more information or newer releases see
+<http://xml.apache.org/xerces2-j/>. See the file LICENSE.xerces for
+the terms of distribution.
+
+It also contains xml-apis.jar from the 2.6.1 release of Apache Xerces.
+For more information or newer releases see
+<http://xml.apache.org/commons/>. See the files LICENSE.dom and
+LICENSE.sax for the terms of distribution.
+
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/README
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-javamail.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-javamail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-junit.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-junit.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-launcher.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-launcher.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-nodeps.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-nodeps.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-trax.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-trax.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-xslp.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant-xslp.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/ant.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/ant.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/bsf.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/bsf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/buildmagic-tasks.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/buildmagic-tasks.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/jbossbuild.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/jbossbuild.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/jdtCompilerAdapter.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/jdtCompilerAdapter.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/junit.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/junit.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/org.eclipse.jdt.core_3.1.0.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/org.eclipse.jdt.core_3.1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/pretty.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/pretty.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/resolver.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/resolver.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/xalan.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/xalan.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/xercesImpl.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/xercesImpl.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbossbuild/buildmagic/trunk/tools/lib/xml-apis.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbossbuild/buildmagic/trunk/tools/lib/xml-apis.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the jboss-svn-commits
mailing list