[Jboss-cvs] JBossAS SVN: r55213 - in branches/MC_VDF_WORK/system-jmx: . src/main/org/jboss/system
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 4 13:16:28 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-08-04 13:16:08 -0400 (Fri, 04 Aug 2006)
New Revision: 55213
Added:
branches/MC_VDF_WORK/system-jmx/.classpath
branches/MC_VDF_WORK/system-jmx/.project
branches/MC_VDF_WORK/system-jmx/build-test.xml
branches/MC_VDF_WORK/system-jmx/build.bat
branches/MC_VDF_WORK/system-jmx/build.sh
branches/MC_VDF_WORK/system-jmx/build.xml
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/BarrierController.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/BarrierControllerMBean.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ConfigurationException.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InterceptorServiceMBean.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InterceptorServiceMBeanSupport.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InvalidAttributeException.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ListenerServiceMBean.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ListenerServiceMBeanSupport.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/MissingAttributeException.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/NotificationFilterFactory.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/Service.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceBinding.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceConfigurator.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceContext.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceController.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceControllerMBean.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceCreator.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceDynamicMBeanSupport.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceFactory.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceInstance.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBean.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBeanState.java
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBeanSupport.java
Modified:
branches/MC_VDF_WORK/system-jmx/
Log:
Move jmx related code to the system-jmx module
Property changes on: branches/MC_VDF_WORK/system-jmx
___________________________________________________________________
Name: svn:ignore
+
output
Added: branches/MC_VDF_WORK/system-jmx/.classpath
===================================================================
--- branches/MC_VDF_WORK/system-jmx/.classpath 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/.classpath 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/j2se"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/mbeans"/>
+ <classpathentry kind="lib" path="/thirdparty/dom4j/lib/dom4j.jar"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/system"/>
+ <classpathentry kind="output" path="output/eclipse-classes"/>
+</classpath>
Added: branches/MC_VDF_WORK/system-jmx/.project
===================================================================
--- branches/MC_VDF_WORK/system-jmx/.project 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/.project 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>system-jmx</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: branches/MC_VDF_WORK/system-jmx/build-test.xml
===================================================================
--- branches/MC_VDF_WORK/system-jmx/build-test.xml 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/build-test.xml 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+ <!ENTITY buildmagic SYSTEM "../tools/etc/buildmagic/buildmagic.ent">
+ <!ENTITY libraries SYSTEM "../thirdparty/libraries.ent">
+ <!ENTITY modules SYSTEM "../tools/etc/buildmagic/modules.ent">
+ <!ENTITY targets SYSTEM "../tools/etc/buildmagic/targets.ent">
+]>
+
+<!-- $Id$ -->
+
+<project default="main" name="JBoss/System Tests">
+
+ <!-- ================================================================== -->
+ <!-- Setup -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Include the common Buildmagic elements.
+ |
+ | This defines several different targets, properties and paths.
+ | It also sets up the basic extention tasks amoung other things.
+ -->
+
+ &buildmagic;
+
+ <!--
+ | Include the normal targets.
+ -->
+ &targets;
+
+ <!-- ================================================================== -->
+ <!-- Configuration -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Configure the build system.
+ |
+ | This target is invoked by the Buildmagic initialization logic and
+ | should contain module specific configuration elements.
+ -->
+
+ <target name="configure" unless="configure.disable">
+
+ <!-- =================== -->
+ <!-- Basic Configuration -->
+ <!-- =================== -->
+
+ <!-- Module name(s) & version -->
+ <property name="module.name" value="system" />
+ <property name="source.java" value="${module.source}/tests" />
+ <property name="javac.target" value="5" />
+ <property name="javac.source" value="5" />
+ <property name="build.classes" value="${module.output}/classes-tests" />
+ <property name="build.testlog" value="${module.output}/log" />
+ <property name="build-bypass.disabled" value="true" />
+ <property name="tests.support.classes" value="output/tests-support/classes" />
+ <property name="tests.support.lib" value="output/tests-support/lib" />
+ <!-- jbosstest.deploy.dir is a URI -->
+ <pathconvert targetos="unix" property="jbosstest.deploy.path">
+ <path>
+ <pathelement location="${module.output}/lib" />
+ </path>
+ </pathconvert>
+ <!-- Test hotdeployment root directory -->
+ <property name="jbosstest.deploy.dir" value="file:${jbosstest.deploy.path}" />
+ <!-- Support test classes lib root -->
+ <pathconvert targetos="unix" property="jbosstest.support.path">
+ <path>
+ <pathelement location="${module.output}/tests-support/lib" />
+ </path>
+ </pathconvert>
+ <property name="jbosstest.support.dir" value="file:${jbosstest.support.path}" />
+
+ <!-- ========= -->
+ <!-- Libraries -->
+ <!-- ========= -->
+
+ &libraries;
+
+ <!-- The combined library classpath -->
+ <path id="library.classpath">
+ <path refid="junit.junit.classpath" />
+ <path refid="gnu.getopt.classpath" />
+ <path refid="javassist.classpath" />
+ <path refid="apache.log4j.classpath" />
+ <path refid="oswego.concurrent.classpath" />
+ <path refid="jboss.jbossxb.classpath" />
+ <path refid="jboss.common.classpath" />
+ <path refid="jboss.profiler.jvmti.classpath" />
+ </path>
+
+ <!-- ======= -->
+ <!-- Modules -->
+ <!-- ======= -->
+
+ &modules;
+ <!-- this -->
+ <property name="jboss.this.root" value="${module.root}/output" />
+ <property name="jboss.this.lib" value="${jboss.this.root}/lib" />
+ <path id="jboss.this.classpath">
+ <fileset dir="${jboss.this.lib}">
+ <include name="*.jar" />
+ <exclude name="run.jar" />
+ </fileset>
+ </path>
+
+ <!-- The combined dependant module classpath -->
+ <path id="dependentmodule.classpath">
+ <path refid="jboss.microcontainer.classpath"/>
+ <path refid="jboss.j2se.classpath" />
+ <path refid="jboss.mbeans.classpath" />
+ <path refid="jboss.test.classpath" />
+ <pathelement location="output/classes" />
+ <pathelement location="src/resources/tests/bootstrap" />
+ <pathelement location="src/resources/tests/conf" />
+ <pathelement location="src/resources/tests/xml" />
+ </path>
+
+ <!-- ===== -->
+ <!-- Tasks -->
+ <!-- ===== -->
+
+ <call target="_default:task-init" />
+
+ <path id="thirdparty.classpath">
+ <path refid="library.classpath" />
+ <path refid="dependentmodule.classpath" />
+ </path>
+
+ </target>
+ <patternset id="compile-resources.pattern">
+ <include name="${src.resources}/**" />
+ </patternset>
+
+ <!-- ================================================================== -->
+ <!-- Compile -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Compile everything.
+ |
+ | This target should depend on other compile-* targets for each
+ | different type of compile that needs to be performed, short of
+ | documentation compiles.
+ -->
+
+ <target name="compile" description="Compile all source files." depends="_default:compile-classes, _default:compile-resources" />
+
+ <!-- ================================================================== -->
+ <!-- Archives -->
+ <!-- ================================================================== -->
+
+ <target name="module-jars" depends="init, tests-support-jars" />
+
+ <target name="tests-support-jars" depends="init"
+ description="Compiles and creates the tests-support tree jars">
+
+
+ <path id="tests-support.classpath">
+ <path refid="library.classpath" />
+ <path refid="dependentmodule.classpath" />
+ </path>
+ <mkdir dir="${tests.support.classes}" />
+ <mkdir dir="${tests.support.lib}" />
+ <javac destdir="${tests.support.classes}"
+ target="${javac.target}"
+ source="${javac.source}"
+ debug="${javac.debug}"
+ failonerror="true">
+ <src path="src/tests-support"/>
+ <classpath refid="tests-support.classpath"/>
+ </javac>
+
+ <jar destfile="${tests.support.lib}/org.jboss.server.support.jar">
+ <manifest>
+ <attribute name="Specification-Title" value="Support" />
+ <attribute name="Specification-Version" value="1.0.0.GA" />
+ <attribute name="Specification-Vendor" value="JBoss Inc." />
+ </manifest>
+ <zipfileset dir="${tests.support.classes}">
+ <include name="org/jboss/test/server/support/**" />
+ </zipfileset>
+ </jar>
+
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Tests -->
+ <!-- ================================================================== -->
+
+ <target name="tests" depends="most"
+ description="Execute all tests in the given test directory.">
+ <mkdir dir="${build.reports}" />
+ <mkdir dir="${build.testlog}" />
+ <!-- Remove the test.log so each run has a fresh log -->
+ <delete file="${build.testlog}/test.log" />
+ <junit dir="${module.output}" printsummary="yes" haltonerror="false" haltonfailure="false" fork="true">
+
+ <sysproperty key="build.testlog" value="${build.testlog}" />
+ <syspropertyset id="jbosstest-properties">
+ <propertyref prefix="jbosstest" />
+ </syspropertyset>
+
+ <classpath>
+ <pathelement location="${build.classes}" />
+ <pathelement location="${build.resources}/tests" />
+ <path refid="javac.classpath" />
+ <path refid="apache.xerces.classpath" />
+ </classpath>
+
+ <formatter type="plain" usefile="true" />
+ <formatter type="xml" usefile="true" />
+
+ <batchtest todir="${build.reports}" haltonerror="false" haltonfailure="false" fork="true">
+
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/**/*TestCase.class" />
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="one-test" depends="init"
+ description="Execute the test defined by ${test}">
+ <mkdir dir="${build.reports}" />
+ <mkdir dir="${build.testlog}" />
+ <!-- Remove the test.log so each run has a fresh log -->
+ <delete file="${build.testlog}/test.log" />
+ <junit dir="${module.output}" printsummary="yes" haltonerror="false" haltonfailure="false" fork="true">
+
+ <sysproperty key="build.testlog" value="${build.testlog}" />
+ <syspropertyset id="jbosstest-properties">
+ <propertyref prefix="jbosstest" />
+ </syspropertyset>
+
+ <classpath>
+ <pathelement location="${build.classes}" />
+ <pathelement location="${build.resources}/tests" />
+ <path refid="thirdparty.classpath" />
+ <path refid="apache.xerces.classpath"/>
+ </classpath>
+
+ <formatter type="plain" usefile="true" />
+ <formatter type="xml" usefile="true" />
+
+ <test todir="${build.reports}" name="${test}" haltonerror="${junit.batchtest.haltonerror}" haltonfailure="${junit.batchtest.haltonfailure}" fork="${junit.batchtest.fork}" />
+ </junit>
+ </target>
+
+ <target name="memory-test" depends="most" description="Execute MemoryLeakTestCase">
+ <mkdir dir="${build.reports}" />
+ <mkdir dir="${build.testlog}" />
+
+ <junit printsummary="yes" fork="yes" haltonfailure="no">
+ <classpath>
+ <pathelement location="${build.classes}" />
+ <pathelement location="${build.resources}" />
+ <path refid="thirdparty.classpath" />
+ <path refid="javac.classpath" />
+ <path refid="apache.xerces.classpath" />
+ </classpath>
+ <jvmarg value="-agentlib:jbossAgent" />
+ <formatter type="plain" usefile="true" />
+ <formatter type="xml" usefile="true" />
+ <test fork="yes" todir="${build.reports}" name="org.jboss.test.memorytests.ClassInfoMemoryTestCase" />
+ </junit>
+
+ </target>
+
+</project>
Added: branches/MC_VDF_WORK/system-jmx/build.bat
===================================================================
--- branches/MC_VDF_WORK/system-jmx/build.bat 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/build.bat 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,89 @@
+ at echo off
+REM ======================================================================
+REM
+REM This is the main entry point for the build system.
+REM
+REM Users should be sure to execute this file rather than 'ant' to ensure
+REM the correct version is being used with the correct configuration.
+REM
+REM ======================================================================
+REM
+REM $Id: build.bat 24242 2004-10-04 20:13:37Z andd $
+REM
+REM Authors:
+REM Jason Dillon <jason at planet57.com>
+REM Sacha Labourey <sacha.labourey at cogito-info.ch>
+REM
+
+REM ******************************************************
+REM Ignore the ANT_HOME variable: we want to use *our*
+REM ANT version and associated JARs.
+REM ******************************************************
+REM Ignore the users classpath, cause it might mess
+REM things up
+REM ******************************************************
+
+SETLOCAL
+
+set CLASSPATH=
+set ANT_HOME=
+set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
+
+REM ******************************************************
+REM - "for" loops have been unrolled for compatibility
+REM with some WIN32 systems.
+REM ******************************************************
+
+set NAMES=tools;tools\ant;tools\apache\ant
+set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
+
+REM ******************************************************
+REM ******************************************************
+
+SET EXECUTED=FALSE
+for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
+
+goto :EOF
+
+
+REM ******************************************************
+REM ********* Search for names in the subfolders *********
+REM ******************************************************
+
+:subLoop
+for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
+
+goto :EOF
+
+
+REM ******************************************************
+REM ************ Test if ANT Batch file exists ***********
+REM ******************************************************
+
+:testIfExists
+if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
+
+goto :EOF
+
+
+REM ******************************************************
+REM ************** Batch file has been found *************
+REM ******************************************************
+
+:BatchFound
+if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
+set EXECUTED=TRUE
+
+goto :EOF
+
+REM ******************************************************
+REM ************* Execute Batch file only once ***********
+REM ******************************************************
+
+:ExecuteBatch
+echo Calling %1 %2 %3 %4 %5 %6 %7 %8
+call %1 %2 %3 %4 %5 %6 %7 %8
+
+:end
+
+if "%NOPAUSE%" == "" pause
Added: branches/MC_VDF_WORK/system-jmx/build.sh
===================================================================
--- branches/MC_VDF_WORK/system-jmx/build.sh 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/build.sh 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,172 @@
+#!/bin/sh
+### ====================================================================== ###
+## ##
+## This is the main entry point for the build system. ##
+## ##
+## Users should be sure to execute this file rather than 'ant' to ensure ##
+## the correct version is being used with the correct configuration. ##
+## ##
+### ====================================================================== ###
+
+# $Id: build.sh 24242 2004-10-04 20:13:37Z andd $
+
+PROGNAME=`basename $0`
+DIRNAME=`dirname $0`
+GREP="grep"
+ROOT="/"
+
+# Ignore user's ANT_HOME if it is set
+ANT_HOME=""
+
+# the default search path for ant
+ANT_SEARCH_PATH="\
+ tools
+ tools/ant \
+ tools/apache/ant \
+ ant"
+
+# the default build file name
+ANT_BUILD_FILE="build.xml"
+
+# the default arguments
+ANT_OPTIONS="-find $ANT_BUILD_FILE"
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+MAX_FD="maximum"
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+case "`uname`" in
+ CYGWIN*)
+ cygwin=true
+ ;;
+
+ Darwin*)
+ darwin=true
+ ;;
+esac
+
+#
+# Helper to complain.
+#
+die() {
+ echo "${PROGNAME}: $*"
+ exit 1
+}
+
+#
+# Helper to complain.
+#
+warn() {
+ echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to source a file if it exists.
+#
+maybe_source() {
+ for file in $*; do
+ if [ -f "$file" ]; then
+ . $file
+ fi
+ done
+}
+
+search() {
+ search="$*"
+ for d in $search; do
+ ANT_HOME="`pwd`/$d"
+ ANT="$ANT_HOME/bin/ant"
+ if [ -x "$ANT" ]; then
+ # found one
+ echo $ANT_HOME
+ break
+ fi
+ done
+}
+
+#
+# Main function.
+#
+main() {
+ # if there is a build config file. then source it
+ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
+
+ # Increase the maximum file descriptors if we can
+ if [ $cygwin = "false" ]; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ]; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
+ # use the system max
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ]; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+ fi
+
+ # try the search path
+ ANT_HOME=`search $ANT_SEARCH_PATH`
+
+ # try looking up to root
+ if [ "x$ANT_HOME" = "x" ]; then
+ target="build"
+ _cwd=`pwd`
+
+ while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
+ cd ..
+ cwd=`pwd`
+ ANT_HOME=`search $ANT_SEARCH_PATH`
+ done
+
+ # make sure we get back
+ cd $_cwd
+
+ if [ "$cwd" != "$ROOT" ]; then
+ found="true"
+ fi
+
+ # complain if we did not find anything
+ if [ "$found" != "true" ]; then
+ die "Could not locate Ant; check \$ANT or \$ANT_HOME."
+ fi
+ fi
+
+ # make sure we have one
+ ANT=$ANT_HOME/bin/ant
+ if [ ! -x "$ANT" ]; then
+ die "Ant file is not executable: $ANT"
+ fi
+
+ # need to specify planet57/buildmagic protocol handler package
+ ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
+
+ # setup some build properties
+ ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
+
+ # change to the directory where the script lives so users are not forced
+ # to be in the same directory as build.xml
+ cd $DIRNAME
+
+ # export some stuff for ant
+ export ANT ANT_HOME ANT_OPTS
+
+ # execute in debug mode, or simply execute
+ if [ "x$ANT_DEBUG" != "x" ]; then
+ /bin/sh -x $ANT $ANT_OPTIONS "$@"
+ else
+ exec $ANT $ANT_OPTIONS "$@"
+ fi
+}
+
+##
+## Bootstrap
+##
+
+main "$@"
Added: branches/MC_VDF_WORK/system-jmx/build.xml
===================================================================
--- branches/MC_VDF_WORK/system-jmx/build.xml 2006-08-04 17:15:23 UTC (rev 55212)
+++ branches/MC_VDF_WORK/system-jmx/build.xml 2006-08-04 17:16:08 UTC (rev 55213)
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+ <!ENTITY buildmagic SYSTEM "../tools/etc/buildmagic/buildmagic.ent">
+ <!ENTITY libraries SYSTEM "../thirdparty/libraries.ent">
+ <!ENTITY modules SYSTEM "../tools/etc/buildmagic/modules.ent">
+ <!ENTITY targets SYSTEM "../tools/etc/buildmagic/targets.ent">
+]>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id: build.xml 55118 2006-08-03 16:33:33Z adrian at jboss.org $ -->
+
+<project default="main" name="JBoss/SystemJMX">
+
+ <!-- ================================================================== -->
+ <!-- Setup -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Include the common Buildmagic elements.
+ |
+ | This defines several different targets, properties and paths.
+ | It also sets up the basic extention tasks amoung other things.
+ -->
+
+ &buildmagic;
+
+ <!--
+ | Include the normal targets.
+ -->
+ &targets;
+
+ <!-- ================================================================== -->
+ <!-- Configuration -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Configure the build system.
+ |
+ | This target is invoked by the Buildmagic initialization logic and
+ | should contain module specific configuration elements.
+ -->
+
+ <target name="configure" unless="configure.disable">
+
+ <!-- =================== -->
+ <!-- Basic Configuration -->
+ <!-- =================== -->
+
+ <!-- Module name(s) & version -->
+ <property name="module.name" value="system"/>
+ <property name="module.Name" value="JBoss System"/>
+ <property name="module.version" value="DEV"/>
+
+ <!-- ========= -->
+ <!-- Libraries -->
+ <!-- ========= -->
+
+ &libraries;
+
+ <!-- The combined library classpath -->
+ <path id="library.classpath">
+ <path refid="junit.junit.classpath"/>
+ <path refid="gnu.getopt.classpath"/>
+ <path refid="apache.xerces.classpath"/>
+ <path refid="apache.log4j.classpath"/>
+ <path refid="apache.commons.classpath"/>
+ <path refid="oswego.concurrent.classpath"/>
+ <path refid="dom4j.dom4j.classpath"/>
+ <path refid="jboss.jbossxb.classpath"/>
+ <path refid="jboss.microcontainer.classpath"/>
+ <path refid="jboss.common.classpath"/>
+ </path>
+
+ <!-- ======= -->
+ <!-- Modules -->
+ <!-- ======= -->
+
+ <!-- The combined dependant module classpath -->
+ <path id="dependentmodule.classpath">
+ <path refid="jboss.j2se.classpath"/>
+ <path refid="jboss.mbeans.classpath"/>
+ </path>
+
+ <!-- ===== -->
+ <!-- Tasks -->
+ <!-- ===== -->
+
+ <property name="jar.prefix" value="jboss-system"/>
+ <property name="javac.target" value="1.5"/>
+ <property name="javac.source" value="1.5"/>
+ <property name="jar.client.includes"
+ value="org/jboss/deployment/DeploymentException*,
+ org/jboss/deployment/IncompleteDeploymentException*,
+ org/jboss/deployment/Deployer*,
+ org/jboss/system/Service.class,
+ org/jboss/system/server/ServerLoader*.class,
+ org/jboss/system/server/Server.class,
+ org/jboss/system/server/ServerConfig.class,
+ **/*MBean.class"
+ />
+
+ <call target="_default:task-init"/>
+
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Compile -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Compile everything.
+ |
+ | This target should depend on other compile-* targets for each
+ | different type of compile that needs to be performed, short of
+ | documentation compiles.
+ -->
+
+ <target name="compile"
+ description="Compile all source files."
+ depends="_default:compile-classes,
+ _default:compile-resources,
+ _default:compile-etc,
+ _default:compile-bin"/>
+
+ <!-- ================================================================== -->
+ <!-- Archives -->
+ <!-- ================================================================== -->
+
+
+
+
+ <!--
+ | Build all jar files.
+ -->
+ <target name="module-jars" >
+
+ <!-- Server and client jars -->
+ <call target="_default:server-client-jars"/>
+
+ <!--
+ | Build log4j-boot.jar This is a minimal subset of the log4j
+ | classes that allow the boot process to use log4j but avoids
+ | loading log4j classes that depend on other features like
+ | JMS, JDBC, JavaMail, etc.
+ -->
+
+ <jar jarfile="${build.lib}/log4j-boot.jar">
+ <zipfileset src="${apache.log4j.lib}/log4j.jar">
+ <include name="org/apache/log4j/*"/>
+ <include name="org/apache/log4j/config/*"/>
+ <include name="org/apache/log4j/helpers/*"/>
+ <include name="org/apache/log4j/or/*"/>
+ <include name="org/apache/log4j/spi/*"/>
+ </zipfileset>
+ </jar>
+
+ <!-- -->
+ <jar jarfile="${build.lib}/jboss-system.jar" manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}" />
+ <fileset dir="${build.resources}">
+ <include name="dtd/**"/>
+ </fileset>
+ </jar>
+
+ <!-- Build jboss-boot.jar -->
+ <jar jarfile="${build.lib}/jboss-boot.jar" manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/system/server/NoAnnotationURLClassLoader.class"/>
+ <include name="org/jboss/system/server/ServerLoader*.class"/>
+ <include name="org/jboss/system/server/Server.class"/>
+ <include name="org/jboss/system/server/ServerConfig.class"/>
+ </fileset>
+ </jar>
+
+ <!-- Build run.jar -->
+ <jar jarfile="${build.lib}/run.jar" manifest="${build.etc}/run.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/Version*.class"/>
+ <include name="org/jboss/Main*.class"/>
+ <include name="org/jboss/system/JBossRMIClassLoader.class"/>
+ <include name="org/jboss/system/server/NoAnnotationURLClassLoader.class"/>
+ <include name="org/jboss/system/server/ServerLoader*.class"/>
+ <include name="org/jboss/system/server/Server.class"/>
+ <include name="org/jboss/system/server/ServerConfig.class"/>
+ <include name="org/jboss/system/server/ServerConfigUtil.class"/>
+ <include name="org/jboss/system/server/jmx/*"/>
+ <include name="org/jboss/system/ORBSingleton.class"/>
+ </fileset>
+ <fileset dir="${build.resources}">
+ <include name="*.properties"/>
+ <include name="jdklogger.xml"/>
+ <include name="org/jboss/version.properties"/>
+ </fileset>
+
+ <!-- Include getopt -->
+ <zipfileset src="${gnu.getopt.lib}/getopt.jar">
+ <include name="**"/>
+ </zipfileset>
+ </jar>
+
+ <!--
+ | JBoss/Testsuite Support
+ -->
+
+ <!-- testsuite-support.jar -->
+ <jar jarfile="${build.lib}/testsuite-support.jar" manifest="${build.etc}/default.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/deployment/**"/>
+ <include name="org/jboss/system/Service.class"/>
+ <include name="org/jboss/system/ServiceMBean.class"/>
+ <include name="org/jboss/system/*MBeanSupport.class"/>
+ <include name="org/jboss/system/MBeanClassLoader*.class"/>
+ <include name="org/jboss/system/UnifiedClassLoader*.class"/>
+ <include name="org/jboss/system/ServiceLibraries*.class"/>
+ <include name="org/jboss/system/server/*MBean.class"/>
+ <include name="org/jboss/system/server/ServerConfigLocator.class"/>
+ <include name="org/jboss/system/server/ServerConfig.class"/>
+ <include name="org/jboss/system/server/Server.class"/>
+ </fileset>
+ </jar>
+
+ </target>
+
+</project>
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/BarrierController.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/BarrierController.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/BarrierControllerMBean.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/BarrierControllerMBean.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ConfigurationException.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ConfigurationException.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InterceptorServiceMBean.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/InterceptorServiceMBean.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InterceptorServiceMBeanSupport.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/InterceptorServiceMBeanSupport.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/InvalidAttributeException.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/InvalidAttributeException.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ListenerServiceMBean.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ListenerServiceMBean.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ListenerServiceMBeanSupport.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ListenerServiceMBeanSupport.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/MissingAttributeException.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/MissingAttributeException.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/NotificationFilterFactory.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/NotificationFilterFactory.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/Service.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/Service.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceBinding.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceBinding.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceConfigurator.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceConfigurator.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceContext.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceContext.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceController.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceController.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceControllerMBean.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceControllerMBean.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceCreator.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceCreator.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceDynamicMBeanSupport.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceDynamicMBeanSupport.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceFactory.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceFactory.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceInstance.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceInstance.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBean.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceMBean.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBeanState.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceMBeanState.java)
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/ServiceMBeanSupport.java (from rev 55211, branches/MC_VDF_WORK/system/src/main/org/jboss/system/ServiceMBeanSupport.java)
More information about the jboss-cvs-commits
mailing list