You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by js...@apache.org on 2005/06/17 18:06:05 UTC
svn commit: r191169 -
/incubator/beehive/trunk/controls/test/tools/tch/build.xml
Author: jsong
Date: Fri Jun 17 09:06:04 2005
New Revision: 191169
URL: http://svn.apache.org/viewcvs?rev=191169&view=rev
Log:
Update controls/test/tools/tch/build.xml. Contributed by Jacob Danner.
Modified:
incubator/beehive/trunk/controls/test/tools/tch/build.xml
Modified: incubator/beehive/trunk/controls/test/tools/tch/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/tools/tch/build.xml?rev=191169&r1=191168&r2=191169&view=diff
==============================================================================
--- incubator/beehive/trunk/controls/test/tools/tch/build.xml (original)
+++ incubator/beehive/trunk/controls/test/tools/tch/build.xml Fri Jun 17 09:06:04 2005
@@ -1,6 +1,6 @@
-<project name="tch" default="all">
+<project name="tch" default="all" basedir=".">
- <property name="buildenv-props" value="buildenv.properties"/>
+ <property name="buildenv-props" value="common.props"/>
<property file="${buildenv-props}"/>
<import file="../../../../beehive-imports.xml"/>
@@ -10,21 +10,21 @@
<property name="classes" value="${builddir}/classes"/>
<property name="nativedir" value="${branch-home}/native"/>
<property name="nativegendir" value="${nativedir}/gen"/>
-
+
<property name="nop4" value="false"/>
-
+
<!-- Stuff for schema compilation -->
<property name="schema.compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
<property name="schema.jar.file" location="deploy/schema.jar"/>
-
+
<path id="classpath">
<path refid="xbean.dependency.path" />
</path>
-
-
- <target name="all" depends="build, jar, gen-root"/>
-
+
+
+ <target name="all" depends="build, jar, gen-root"/>
+
<target name="clean">
<delete quiet="true" dir="${classes}"/>
<delete quiet="true" file="${core-jar-location}"/>
@@ -39,11 +39,11 @@
<fail unless="${propfile-found}" message="Cannot load ${buildenv-props}"/>
<antcall target="compile.schema"/>
-
- <mkdir dir="${classes}"/>
+
+ <mkdir dir="${classes}"/>
<echo message="java-src is: ${java-src}"/>
- <javac
- debug="${debug}" srcdir="${java-src}" destdir="${classes}"
+ <javac
+ debug="${debug}" srcdir="${java-src}" destdir="${classes}"
excludes="tch/version.java,
tch/**"
>
@@ -56,8 +56,8 @@
<!-- rmic -->
- <rmic
- base="${classes}"
+ <rmic
+ base="${classes}"
sourcebase="${branch-home}/stubs"
includes="org/apache/beehive/test/tools/tch/core/remote/RemoteTaskRunnerImpl.class,
org/apache/beehive/test/tools/tch/core/remote/RemoteResultHandlerAdapter.class
@@ -73,16 +73,16 @@
<echo message="nop4 is set to: ${nop4}"/>
<echo>
---------------------------
-running VersionGenerator
----------------------------
+running VersionGenerator
+---------------------------
</echo>
- <java
+ <java
classname="org.apache.beehive.test.tools.tch.core.VersionGenerator"
fork="true" dir="${java-src}/org/apache/beehive/test/tools/tch/"
>
<classpath>
<pathelement path="${classes}"/>
- </classpath>
+ </classpath>
<sysproperty key="nop4" value="${nop4}"/>
</java>
<javac debug="${debug}" srcdir="${java-src}" destdir="${classes}"
@@ -108,7 +108,7 @@
<!-- javah -->
<target name="native">
- <mkdir dir="${nativegendir}"/>
+ <mkdir dir="${nativegendir}"/>
<javah destdir="${nativegendir}" class="org.apache.beehive.test.tools.tch.test.NativeTest"/>
</target>
@@ -119,25 +119,25 @@
<target name="jar" depends="manifest-file.write">
<mkdir dir="${deploydir}"/>
<echo message="Getting dtds from ${dtd-location}"/>
- <jar
- jarfile="${core-jar-location}"
+ <jar
+ jarfile="${core-jar-location}"
basedir="${classes}"
- manifest="pkg-manifest.mf"
+ manifest="pkg-manifest.mf"
>
- <fileset
+ <fileset
dir="${dtd-location}"
includes="valid-values-1-0.dtd"
/>
- <fileset
+ <fileset
dir="${dtd-location}"
- includes="gtlf-config-1-0.dtd"
+ includes="gtlf-config-1-0.dtd"
/>
<fileset
dir="${dtd-location}"
includes="gtlf-config-2-0.dtd"
/>
</jar>
- <delete file="pkg-manifest.mf" />
+ <delete file="pkg-manifest.mf" />
</target>
<target name="manifest-file.write">
@@ -172,7 +172,7 @@
<target name="jar.gtlf-utils">
<mkdir dir="${deploydir}"/>
<echo>
- Packaging GTLF Utils
+ Packaging GTLF Utils
FIXME -- These classes should be moved out of Blackhawk.
</echo>
<jar
@@ -221,7 +221,7 @@
dir="${dtd-location}"
includes="gtlf-config-2-0.dtd"
/>
- </jar>
+ </jar>
</target>
<!-- package tch src -->
@@ -238,17 +238,17 @@
</zip>
</target>
-
-
+
+
<!-- compiles the schema using xbeans -->
<target name="compile.schema">
<echo message="Using compiler from: ${schema.compiler}"/>
-
+
<property name="schema.file" location="deploy/schema/everything-suite.xsd"/>
<property name="temp.dir" location="temp"/>
-
+
<echo message="schema.file: ${schema.file}"/>
-
+
<delete file="${schema.jar.file}"/>
<delete dir="${temp.dir}"/>
<mkdir dir="${temp.dir}"/>