You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2008/02/01 02:04:03 UTC
svn commit: r617320 - in /incubator/qpid/trunk/qpid/java: ./ broker/ client/
common/ integrationtests/ lib/ management/eclipse-plugin/ perftests/
systests/
Author: rhs
Date: Thu Jan 31 17:03:46 2008
New Revision: 617320
URL: http://svn.apache.org/viewvc?rev=617320&view=rev
Log:
ant build system
Added:
incubator/qpid/trunk/qpid/java/broker/build.xml (with props)
incubator/qpid/trunk/qpid/java/build.deps
incubator/qpid/trunk/qpid/java/build.xml (with props)
incubator/qpid/trunk/qpid/java/client/build.xml (with props)
incubator/qpid/trunk/qpid/java/common.xml (with props)
incubator/qpid/trunk/qpid/java/common/build.xml (with props)
incubator/qpid/trunk/qpid/java/common/jython-2.2-rc2.jar (with props)
incubator/qpid/trunk/qpid/java/integrationtests/build.xml (with props)
incubator/qpid/trunk/qpid/java/lib/
incubator/qpid/trunk/qpid/java/lib/com.ibm.icu-3.4.4.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-cli-1.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-codec-1.3.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-collections-3.2.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-configuration-1.2.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-lang-2.2.jar (with props)
incubator/qpid/trunk/qpid/java/lib/commons-logging-1.0.4.jar (with props)
incubator/qpid/trunk/qpid/java/lib/geronimo-jms_1.1_spec-1.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/javacc.jar (with props)
incubator/qpid/trunk/qpid/java/lib/junit-3.8.1.jar (with props)
incubator/qpid/trunk/qpid/java/lib/junit-toolkit-0.6-SNAPSHOT.jar (with props)
incubator/qpid/trunk/qpid/java/lib/log4j-1.2.12.jar (with props)
incubator/qpid/trunk/qpid/java/lib/mina-core-1.1.5.jar (with props)
incubator/qpid/trunk/qpid/java/lib/mina-filter-ssl-1.1.5.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.commands-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.contenttype-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.expressions-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.jobs-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.auth-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.registry-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.common-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.preferences-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.registry-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.help-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.jface-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.osgi-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt.win32.win32.x86-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.forms-3.2.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.workbench-3.2.1.jar (with props)
incubator/qpid/trunk/qpid/java/lib/slf4j-api-1.4.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/slf4j-log4j12-1.4.0.jar (with props)
incubator/qpid/trunk/qpid/java/lib/xalan-2.7.0.jar (with props)
incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml (with props)
incubator/qpid/trunk/qpid/java/module.xml (with props)
incubator/qpid/trunk/qpid/java/perftests/build.xml (with props)
incubator/qpid/trunk/qpid/java/systests/build.xml (with props)
Added: incubator/qpid/trunk/qpid/java/broker/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/broker/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/broker/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/broker/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,38 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="AMQ Broker" default="build">
+
+ <property name="module.depends" value="common"/>
+ <property name="module.main" value="org.apache.qpid.server.Main"/>
+ <property name="module.vm.version" value="1.5"/>
+
+ <import file="../module.xml"/>
+
+ <property name="output.dir" value="${module.precompiled}/org/apache/qpid/server/filter/jms/selector"/>
+
+ <target name="precompile">
+ <mkdir dir="${output.dir}"/>
+ <javacc target="src/main/grammar/SelectorParser.jj"
+ outputdirectory="${output.dir}"
+ javacchome="${project.root}/lib"/>
+ </target>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/broker/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/build.deps
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/build.deps?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/build.deps (added)
+++ incubator/qpid/trunk/qpid/java/build.deps Thu Jan 31 17:03:46 2008
@@ -0,0 +1,66 @@
+commons-cli=lib/commons-cli-1.0.jar
+commons-codec=lib/commons-codec-1.3.jar
+commons-collections=lib/commons-collections-3.2.jar
+commons-configuration=lib/commons-configuration-1.2.jar
+commons-lang=lib/commons-lang-2.2.jar
+commons-logging=lib/commons-logging-1.0.4.jar
+
+geronimo-jms=lib/geronimo-jms_1.1_spec-1.0.jar
+
+junit-toolkit=lib/junit-toolkit-0.6-SNAPSHOT.jar
+
+log4j=lib/log4j-1.2.12.jar
+
+mina-core=lib/mina-core-1.1.5.jar
+mina-filter-ssl=lib/mina-filter-ssl-1.1.5.jar
+
+slf4j-api=lib/slf4j-api-1.4.0.jar
+slf4j-log4j=lib/slf4j-log4j12-1.4.0.jar
+
+xalan=lib/xalan-2.7.0.jar
+
+common.libs=${slf4j-api} ${mina-core} ${mina-filter-ssl} ${commons-codec} \
+ ${commons-lang} ${commons-collections} ${commons-configuration}
+client.libs=${common.libs} ${geronimo-jms}
+broker.libs=${common.libs} ${commons-cli} ${commons-logging} ${log4j} \
+ ${slf4j-log4j} ${xalan}
+systests.libs=${client.libs} ${junit-toolkit}
+perftests.libs=${systests.libs}
+integrationtests.libs=${systests.libs}
+
+ibm-icu=lib/com.ibm.icu-3.4.4.jar
+ecl-core-jface=lib/org.eclipse.jface-3.2.0.jar
+ecl-core-commands=lib/org.eclipse.core.commands-3.2.0.jar
+ecl-core-contenttype=lib/org.eclipse.core.contenttype-3.2.0.jar
+ecl-core-expressions=lib/org.eclipse.core.expressions-3.2.0.jar
+ecl-core-jobs=lib/org.eclipse.core.jobs-3.2.0.jar
+ecl-core-runtime=lib/org.eclipse.core.runtime-3.2.0.jar
+ecl-core-runtime-compat-auth=lib/org.eclipse.core.runtime.compatibility.auth-3.2.0.jar
+ecl-core-runtime-compat-registry=lib/org.eclipse.core.runtime.compatibility.registry-3.2.0.jar
+ecl-equinox-common=lib/org.eclipse.equinox.common-3.2.0.jar
+ecl-equinox-prefs=lib/org.eclipse.equinox.preferences-3.2.0.jar
+ecl-equinox-registry=lib/org.eclipse.equinox.registry-3.2.0.jar
+ecl-help=lib/org.eclipse.help-3.2.0.jar
+ecl-osgi=lib/org.eclipse.osgi-3.2.0.jar
+ecl-swt=lib/org.eclipse.swt-3.2.0.jar
+ecl-swt-win32=lib/org.eclipse.swt.win32.win32.x86-3.2.0.jar
+ecl-ui=lib/org.eclipse.ui-3.2.0.jar
+ecl-ui-forms=lib/org.eclipse.ui.forms-3.2.0.jar
+ecl-ui-workbench=lib/org.eclipse.ui.workbench-3.2.1.jar
+
+management-eclipse-plugin.libs=${commons-codec} ${ibm-icu} ${ecl-core-jface} \
+ ${ecl-core-commands} ${ecl-core-contenttype} ${ecl-core-expressions} \
+ ${ecl-core-jobs} ${ecl-core-runtime} ${ecl-core-runtime-compat-auth} \
+ ${ecl-core-runtime-compat-registry} ${ecl-equinox-common} \
+ ${ecl-equinox-prefs} ${ecl-equinox-registry} ${ecl-help} ${ecl-osgi} \
+ ${ecl-swt} ${ecl-swt-win32} ${ecl-ui} ${ecl-ui-forms} ${ecl-ui-workbench}
+
+test.libs=${log4j} ${slf4j-log4j} ${junit-toolkit}
+
+common.test.libs=${test.libs}
+broker.test.libs=${test.libs}
+client.test.libs=${broker.libs} ${test.libs}
+systests.test.libs=${broker.libs} ${test.libs}
+perftests.test.libs=${systests.test.libs}
+integrationtests.test.libs=${systests.test.libs}
+management-eclipse-plugin.test.libs=${systests.test.libs}
Added: incubator/qpid/trunk/qpid/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,138 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="AMQ Java" default="build">
+
+ <import file="common.xml"/>
+
+ <property name="modules.core" value="common client broker"/>
+ <property name="modules.tests" value="systests perftests integrationtests"/>
+ <property name="modules.management" value="management/eclipse-plugin"/>
+
+ <property name="modules" value="${modules.core} ${modules.tests} ${modules.management}"/>
+
+ <property name="qpid.jar" location="${build.lib}/qpid-incubating.jar"/>
+
+ <map property="release.excludes" value="${modules}">
+ <regexpmapper from="(.*)" to="\1/**"/>
+ </map>
+
+ <property name="release.zip" location="${release}/${project.namever}.zip"/>
+ <property name="release.tar" location="${release}/${project.namever}.tar"/>
+ <property name="release.tgz" location="${release}/${project.namever}.tar.gz"/>
+ <property name="release.bz2" location="${release}/${project.namever}.tar.bz2"/>
+
+ <macrodef name="iterate">
+ <attribute name="target"/>
+ <attribute name="modules" default="${modules}"/>
+ <element name="elements" implicit="true" optional="true"/>
+ <sequential>
+ <subant target="@{target}" antfile="build.xml">
+ <filelist dir="." files="@{modules}"/>
+ <elements/>
+ </subant>
+ </sequential>
+ </macrodef>
+
+ <target name="compile" description="compile sources">
+ <iterate target="compile"/>
+ </target>
+
+ <target name="compile-tests" description="compile unit tests">
+ <iterate target="compile-tests"/>
+ </target>
+
+ <target name="test" description="execute unit tests">
+ <iterate target="test"/>
+ </target>
+
+ <target name="jar" description="create jars">
+ <iterate target="jar"/>
+ </target>
+
+ <target name="jar-tests" description="create unit test jars">
+ <iterate target="jar-tests"/>
+ </target>
+
+ <target name="libs" description="copy dependencies into build directory">
+ <iterate target="libs"/>
+ </target>
+
+ <target name="doc" description="generate api-doc">
+ <iterate target="doc"/>
+ </target>
+
+ <target name="check-manifest">
+ <uptodate property="manifest.done" targetfile="${qpid.jar}">
+ <srcfiles dir="${build.lib}" includes="**/*.jar"/>
+ </uptodate>
+ </target>
+
+ <target name="manifest" depends="jar,libs,check-manifest" unless="manifest.done">
+ <manifestclasspath property="qpid.jar.classpath" jarfile="${qpid.jar}">
+ <classpath>
+ <fileset dir="${build.lib}" includes="**/*.jar"/>
+ </classpath>
+ </manifestclasspath>
+
+ <jar destfile="${qpid.jar}">
+ <manifest>
+ <attribute name="Class-Path" value="${qpid.jar.classpath}"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="build" depends="manifest" description="compile and copy resources into build tree">
+ <iterate target="build"/>
+ </target>
+
+ <target name="prepare">
+ <mkdir dir="${release}"/>
+ </target>
+
+ <target name="zip" depends="build,prepare" description="produce a zip archive of the distribution tree">
+ <zip destfile="${release.zip}">
+ <zipfileset dir="${build}" prefix="${project.namever}" excludes="${release.excludes}"/>
+ </zip>
+ </target>
+
+ <target name="tar" depends="build,prepare" description="produce a tar archive of the distribution tree">
+ <tar destfile="${release.tar}">
+ <tarfileset dir="${build}" prefix="${project.namever}" excludes="${release.excludes}"/>
+ </tar>
+ </target>
+
+ <target name="gzip" depends="tar" description="produce a gzipped tarball of the distribution tree">
+ <gzip src="${release.tar}" destfile="${release.tgz}"/>
+ </target>
+
+ <target name="bzip2" depends="tar" description="produze a bzipped tarball of the distribution tree">
+ <bzip2 src="${release.tar}" destfile="${release.bz2}"/>
+ </target>
+
+ <target name="archive" depends="zip,gzip,bzip2" description="produce all archive formats of the distribution tree"/>
+
+ <target name="clean" description="remove all build artifacts">
+ <iterate target="clean"/>
+ <delete dir="${build}"/>
+ <delete dir="${release}"/>
+ </target>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/client/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/client/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,37 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="AMQ Client" default="build">
+
+ <property name="module.depends" value="common"/>
+ <property name="module.test.depends" value="broker"/>
+
+ <import file="../module.xml"/>
+
+ <property name="output.dir" value="${module.precompiled}/org/apache/qpidity/filter/selector"/>
+
+ <target name="precompile">
+ <mkdir dir="${output.dir}"/>
+ <javacc target="src/main/grammar/SelectorParser.jj"
+ outputdirectory="${output.dir}"
+ javacchome="${project.root}/lib"/>
+ </target>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/client/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/common.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/common.xml (added)
+++ incubator/qpid/trunk/qpid/java/common.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,97 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="common">
+
+ <dirname property="project.root" file="${ant.file.common}"/>
+
+ <property name="project.name" value="qpid"/>
+ <property name="project.version" value="incubating-M3"/>
+ <property name="project.namever" value="${project.name}-${project.version}"/>
+
+ <property name="build" location="${project.root}/build"/>
+ <property name="build.bin" location="${build}/bin"/>
+ <property name="build.etc" location="${build}/etc"/>
+ <property name="build.lib" location="${build}/lib"/>
+ <property name="build.results" location="${build}/results"/>
+ <property name="build.report" location="${build}/report"/>
+ <property name="build.release" location="${build}/release"/>
+ <property name="build.release.prepare" location="${build.release}/prepare"/>
+
+ <property name="java.target" value="1.5"/>
+ <property name="java.source" value="1.5"/>
+
+ <property name="release" location="${project.root}/release"/>
+
+ <property name="tasks" location="${project.root}/tasks"/>
+ <property name="tasks.classes" location="${tasks}/classes"/>
+ <property name="tasks.src" location="${tasks}/src"/>
+
+ <macrodef name="indirect">
+ <attribute name="name"/>
+ <attribute name="variable"/>
+ <sequential>
+ <property name="@{name}" value="${@{variable}}"/>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="echo-path">
+ <attribute name="refid"/>
+ <sequential>
+ <property name="@{refid}" refid="@{refid}"/>
+ <echo message="@{refid} = ${@{refid}}"/>
+ <pathconvert property="@{refid}.pretty"
+ refid="@{refid}"
+ pathsep="${line.separator} |-- "/>
+ <echo message="@{refid}.pretty =${line.separator} |-- ${@{refid}.pretty}"/>
+ </sequential>
+ </macrodef>
+
+ <macrodef name="echo-prop">
+ <attribute name="name"/>
+ <sequential>
+ <echo message="@{name} = ${@{name}}"/>
+ </sequential>
+ </macrodef>
+
+ <mkdir dir="${tasks.classes}"/>
+ <javac srcdir="${tasks.src}" destdir="${tasks.classes}"
+ classpath="${java.class.path}"/>
+
+ <taskdef name="map" classname="org.apache.qpid.tasks.Map"
+ classpath="${tasks.classes}"/>
+ <taskdef name="foreach" classname="org.apache.qpid.tasks.Foreach"
+ classpath="${tasks.classes}"/>
+
+ <target name="clean-tasks">
+ <delete dir="${tasks.classes}"/>
+ </target>
+
+ <target name="report" description="generate test report">
+ <mkdir dir="${build.report}"/>
+ <junitreport todir="${build.report}">
+ <fileset dir="${build.results}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report todir="${build.report}"/>
+ </junitreport>
+ </target>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/common.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/common/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/common/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,106 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="AMQ Common" default="build">
+
+ <import file="../module.xml"/>
+
+ <property name="gentools.home" location="${project.root}/../gentools" />
+ <property name="generated.package" value="org/apache/qpid/framing" />
+ <property name="generated.dir" location="${module.precompiled}/${generated.package}" />
+ <property name="xml.spec.dir" location="${project.root}/../specs" />
+ <property name="xml.spec.deps" value="amqp.0-8.xml cluster.0-8.xml" />
+ <property name="xml.spec.list" value="${xml.spec.dir}/amqp.0-8.xml ${xml.spec.dir}/cluster.0-8.xml" />
+ <property name="mllib.dir" value="${project.root}/../python" />
+ <property name="gentools.timestamp" location="${generated.dir}/gentools.timestamp" />
+ <property name="jython.timestamp" location="${generated.dir}/jython.timestamp" />
+
+ <target name="check_jython_deps">
+ <uptodate property="jython.notRequired" targetfile="${jython.timestamp}">
+ <srcfiles dir="${xml.spec.dir}" includes="amqp.0-10-preview.xml" />
+ </uptodate>
+ </target>
+
+ <target name="jython" depends="check_jython_deps" unless="jython.notRequired">
+ <java classname="org.python.util.jython" fork="true" failonerror="true">
+ <arg value="-Dpython.cachedir.skip=true"/>
+ <arg value="-Dpython.path=${basedir}/jython-lib.jar/Lib${path.separator}${mllib.dir}"/>
+ <arg value="${basedir}/generate"/>
+ <arg value="${module.precompiled}"/>
+ <arg value="org.apache.qpidity.transport"/>
+ <arg value="${xml.spec.dir}/amqp.0-10-preview.xml"/>
+ <classpath>
+ <pathelement location="jython-2.2-rc2.jar"/>
+ </classpath>
+ </java>
+ <touch file="${jython.timestamp}" />
+ </target>
+
+ <target name="compile_gentools">
+ <ant dir="${gentools.home}" />
+ </target>
+
+ <target name="check_gentool_deps">
+ <uptodate property="gentools.notRequired" targetfile="${gentools.timestamp}">
+ <srcfiles dir="${xml.spec.dir}" includes="${xml.spec.deps}" />
+ </uptodate>
+ </target>
+
+ <target name="gentools" depends="compile_gentools,check_gentool_deps" unless="gentools.notRequired">
+ <mkdir dir="${generated.dir}"/>
+ <java classname="org.apache.qpid.gentools.Main" fork="true" dir="${gentools.home}/src" failonerror="true">
+ <arg line="-j -o ${generated.dir} -t ${project.root}/common/templates ${xml.spec.list}"/>
+ <classpath>
+ <pathelement path="${gentools.home}/src" />
+ <fileset dir="${gentools.home}/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </java>
+ <touch file="${gentools.timestamp}" />
+ </target>
+
+ <property name="version.file" location="${module.classes}/qpidversion.properties"/>
+ <property file="${version.file}" prefix="old."/>
+
+ <target name="check-version">
+ <exec executable="svnversion" spawn="false" failifexecutionfails="false"
+ dir="${project.root}" outputproperty="qpid.svnversion">
+ <arg line="."/>
+ </exec>
+ <condition property="version.stale">
+ <not>
+ <equals arg1="${qpid.svnversion}" arg2="${old.qpid.svnversion}"/>
+ </not>
+ </condition>
+ </target>
+
+ <target name="version" depends="check-version" if="version.stale">
+ <!-- Write the version.properties out. -->
+ <propertyfile file="${version.file}">
+ <entry key="qpid.svnversion" value="${qpid.svnversion}"/>
+ <entry key="qpid.name" value="${project.name}"/>
+ <entry key="qpid.version" value="${project.version}"/>
+ </propertyfile>
+ </target>
+
+ <target name="precompile" depends="gentools,jython,version"/>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/common/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/common/jython-2.2-rc2.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/jython-2.2-rc2.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/common/jython-2.2-rc2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/integrationtests/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/integrationtests/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/integrationtests/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/integrationtests/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,28 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="Integration Tests" default="build">
+
+ <property name="module.depends" value="systests client common"/>
+ <property name="module.dist" value="false"/>
+
+ <import file="../module.xml"/>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/integrationtests/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/lib/com.ibm.icu-3.4.4.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/com.ibm.icu-3.4.4.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/com.ibm.icu-3.4.4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-cli-1.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-cli-1.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-cli-1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-codec-1.3.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-codec-1.3.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-codec-1.3.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-collections-3.2.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-collections-3.2.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-collections-3.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-configuration-1.2.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-configuration-1.2.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-configuration-1.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-lang-2.2.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-lang-2.2.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-lang-2.2.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/commons-logging-1.0.4.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/commons-logging-1.0.4.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/commons-logging-1.0.4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/geronimo-jms_1.1_spec-1.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/geronimo-jms_1.1_spec-1.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/geronimo-jms_1.1_spec-1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/javacc.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/javacc.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/javacc.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/junit-3.8.1.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/junit-3.8.1.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/junit-3.8.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/junit-toolkit-0.6-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/junit-toolkit-0.6-SNAPSHOT.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/junit-toolkit-0.6-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/log4j-1.2.12.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/log4j-1.2.12.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/log4j-1.2.12.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/mina-core-1.1.5.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/mina-core-1.1.5.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/mina-core-1.1.5.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/mina-filter-ssl-1.1.5.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/mina-filter-ssl-1.1.5.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/mina-filter-ssl-1.1.5.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.commands-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.commands-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.commands-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.contenttype-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.contenttype-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.contenttype-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.expressions-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.expressions-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.expressions-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.jobs-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.jobs-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.jobs-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.auth-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.auth-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.auth-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.registry-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.registry-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.core.runtime.compatibility.registry-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.common-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.common-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.common-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.preferences-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.preferences-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.preferences-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.registry-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.registry-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.equinox.registry-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.help-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.help-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.help-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.jface-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.jface-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.jface-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.osgi-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.osgi-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.osgi-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt.win32.win32.x86-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt.win32.win32.x86-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.swt.win32.win32.x86-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.forms-3.2.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.forms-3.2.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.forms-3.2.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.workbench-3.2.1.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.workbench-3.2.1.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/org.eclipse.ui.workbench-3.2.1.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/slf4j-api-1.4.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/slf4j-api-1.4.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/slf4j-api-1.4.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/slf4j-log4j12-1.4.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/slf4j-log4j12-1.4.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/slf4j-log4j12-1.4.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/lib/xalan-2.7.0.jar
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/lib/xalan-2.7.0.jar?rev=617320&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/qpid/trunk/qpid/java/lib/xalan-2.7.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,27 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="Eclipse Plugin" default="build">
+
+ <property name="module.depends" value="broker common"/>
+
+ <import file="../../module.xml"/>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/management/eclipse-plugin/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/module.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/module.xml (added)
+++ incubator/qpid/trunk/qpid/java/module.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,209 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="module">
+
+ <import file="common.xml"/>
+
+ <map property="module" value="${basedir}" split="${path.separator}">
+ <globmapper from="${project.root}${file.separator}*" to="*"/>
+ </map>
+
+ <property file="${project.root}/build.deps"/>
+
+ <property name="module.build" location="${build}/${module}"/>
+ <property name="module.classes" location="${module.build}/classes"/>
+ <property name="module.precompiled" location="${module.build}/src"/>
+ <property name="module.api" location="${module.build}/api"/>
+ <property name="module.test.classes" location="${module.build}/test/classes"/>
+ <property name="module.src" location="src/main/java"/>
+ <property name="module.test.src" location="src/test/java"/>
+ <property name="module.bin" location="bin"/>
+ <property name="module.etc" location="etc"/>
+
+ <map property="module.name" value="${module}">
+ <filtermapper>
+ <replacestring from="${file.separator}" to="-"/>
+ </filtermapper>
+ </map>
+
+ <indirect name="module.libs" variable="${module.name}.libs"/>
+ <indirect name="module.test.libs" variable="${module.name}.test.libs"/>
+
+ <path id="module.libs">
+ <filelist dir="${project.root}" files="${module.libs}"/>
+ </path>
+
+ <path id="module.test.libs">
+ <filelist dir="${project.root}" files="${module.test.libs}"/>
+ </path>
+
+ <path id="module.src.path">
+ <pathelement location="${module.src}"/>
+ <pathelement location="${module.precompiled}"/>
+ </path>
+
+ <property name="module.jar" location="${build.lib}/${project.name}-${module.name}-${project.version}.jar"/>
+ <property name="module.test.jar" location="${build.lib}/${project.name}-${module.name}-tests-${project.version}.jar"/>
+
+ <!-- module.depends and module.test.depends are supplied by the importing file -->
+ <property name="module.depends" value=""/>
+ <property name="module.test.depends" value=""/>
+
+ <map property="module.depends.path" value="${module.depends}" join="${path.separator}">
+ <globmapper from="*" to="${build}/*/classes"/>
+ </map>
+
+ <map property="module.test.depends.path" value="${module.test.depends}" join="${path.separator}">
+ <globmapper from="*" to="${build}/*/classes"/>
+ </map>
+
+ <path id="module.class.path">
+ <pathelement location="${module.classes}"/>
+ <pathelement path="${module.depends.path}"/>
+ <path refid="module.libs"/>
+ </path>
+
+ <path id="module.test.path">
+ <pathelement path="${module.test.classes}"/>
+ <path refid="module.class.path"/>
+ <pathelement path="${module.test.depends.path}"/>
+ <path refid="module.test.libs"/>
+ </path>
+
+ <target name="debug">
+ <echo-prop name="basedir"/>
+ <echo-prop name="project.root"/>
+ <echo-prop name="module"/>
+ <echo-prop name="module.libs"/>
+ <echo-prop name="module.test.libs"/>
+ <echo-prop name="module.name"/>
+ <echo-prop name="module.jar"/>
+ <echo-prop name="module.depends"/>
+ <echo-prop name="module.depends.path"/>
+ <echo-prop name="module.test.depends"/>
+ <echo-prop name="module.test.depends.path"/>
+ <echo-path refid="module.src.path"/>
+ <echo-path refid="module.class.path"/>
+ <echo-path refid="module.test.path"/>
+ </target>
+
+ <target name="prepare">
+ <mkdir dir="${build.bin}"/>
+ <mkdir dir="${build.etc}"/>
+ <mkdir dir="${build.lib}"/>
+ <mkdir dir="${build.results}"/>
+ <mkdir dir="${module.classes}"/>
+ <mkdir dir="${module.precompiled}"/>
+ <mkdir dir="${module.api}"/>
+ <mkdir dir="${module.test.classes}"/>
+ </target>
+
+ <target name="precompile"/>
+
+ <target name="compile" depends="prepare,precompile" description="compile sources">
+ <javac source="${java.source}" target="${java.target}"
+ destdir="${module.classes}" debug="on">
+ <src refid="module.src.path"/>
+ <classpath refid="module.class.path"/>
+ </javac>
+
+ <!-- copy any non java src files into the build tree, e.g. log4j.properties -->
+ <copy todir="${module.classes}" verbose="true">
+ <fileset dir="${module.src}">
+ <exclude name="**/*.java"/>
+ <exclude name="**/package.html"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <available property="module.test.src.exists" file="${module.test.src}"/>
+
+ <target name="precompile-tests" if="module.test.src.exists"/>
+
+ <target name="compile-tests" depends="compile,precompile-tests" if="module.test.src.exists"
+ description="compilte unit tests">
+ <javac target="${java.target}" source="${java.source}"
+ destdir="${module.test.classes}" debug="on"
+ srcdir="${module.test.src}">
+ <classpath refid="module.test.path"/>
+ </javac>
+
+ <!-- copy any non java src files into the build tree, e.g. log4j.properties -->
+ <copy todir="${module.test.classes}" verbose="true">
+ <fileset dir="${module.test.src}">
+ <exclude name="**/*.java"/>
+ <exclude name="**/package.html"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="test" depends="compile-tests" if="module.test.src.exists"
+ description="execute unit tests">
+ <junit fork="yes" showoutput="true" haltonfailure="no" timeout="90000">
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <classpath refid="module.test.path"/>
+ <batchtest fork="yes" todir="${build.results}">
+ <fileset dir="${module.test.src}">
+ <include name="**/*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="build" depends="compile" description="compile and copy resources into build tree">
+ <copy todir="${build.bin}" failonerror="false">
+ <fileset dir="${module.bin}"/>
+ </copy>
+ <chmod dir="${build.bin}" perm="ugo+rx" includes="**/*"/>
+ <copy todir="${build.etc}" failonerror="false">
+ <fileset dir="${module.etc}"/>
+ </copy>
+ </target>
+
+ <target name="jar" depends="compile" description="create jar">
+ <jar destfile="${module.jar}" basedir="${module.classes}"/>
+ </target>
+
+ <target name="jar-tests" depends="compile-tests" description="create unit test jar">
+ <jar destfile="${module.test.jar}" basedir="${module.test.classes}"/>
+ </target>
+
+ <target name="libs" description="copy dependencies into build tree">
+ <copy todir="${build.lib}" failonerror="false" flatten="true">
+ <path refid="module.libs"/>
+ </copy>
+ </target>
+
+ <uptodate property="doc.done" targetfile="${module.api}/index.html">
+ <srcfiles dir="${module.src}" includes="**/*.java"/>
+ </uptodate>
+
+ <target name="doc" depends="prepare" unless="doc.done" description="generate api-doc">
+ <javadoc destdir="${module.api}" sourcepathref="module.src.path"
+ classpathref="module.class.path" packagenames="*"/>
+ </target>
+
+ <target name="clean" description="remove build artifacts">
+ <delete dir="${module.build}"/>
+ </target>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/module.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/perftests/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/perftests/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/perftests/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/perftests/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,28 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="Performance Tests" default="build">
+
+ <property name="module.depends" value="systests client broker common"/>
+ <property name="module.dist" value="false"/>
+
+ <import file="../module.xml"/>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/perftests/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/qpid/trunk/qpid/java/systests/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/systests/build.xml?rev=617320&view=auto
==============================================================================
--- incubator/qpid/trunk/qpid/java/systests/build.xml (added)
+++ incubator/qpid/trunk/qpid/java/systests/build.xml Thu Jan 31 17:03:46 2008
@@ -0,0 +1,27 @@
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you 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.
+ -
+ -->
+<project name="System Tests" default="build">
+ <property name="module.depends" value="client broker common"/>
+ <property name="module.dist" value="false"/>
+
+ <import file="../module.xml"/>
+
+</project>
Propchange: incubator/qpid/trunk/qpid/java/systests/build.xml
------------------------------------------------------------------------------
svn:eol-style = native