You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2006/04/20 07:38:52 UTC
svn commit: r395494 [2/3] - in
/incubator/harmony/enhanced/classlib/trunk/modules: applet/make/
applet/make/common/ archive/make/ archive/make/common/ auth/make/
auth/make/common/ awt/make/ awt/make/common/ beans/make/ beans/make/common/
crypto/make/ c...
Modified: incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/jndi/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,86 +16,86 @@
-->
<project name="Common_JNDI_Build">
-
- <target name="compile.java" description="Compile JNDI java code">
- <echo message="Compiling JNDI classes from ${hy.jndi.src.main.java}" />
-
- <mkdir dir="${hy.jndi.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.jndi.src.main.java}"
- destdir="${hy.jndi.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/jndi.jar"
- manifest="${hy.jndi}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.jndi.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling JNDI tests from ${hy.jndi.src.test.java}" />
-
- <mkdir dir="${hy.jndi.bin.test}" />
-
- <javac srcdir="${hy.jndi.src.test.java}"
- destdir="${hy.jndi.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.jndi.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <classpath>
- <pathelement path="${hy.jndi.bin.test}"/>
- </classpath>
- <classpath location="../../../../build/tests" />
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.jndi.src.test.java}">
- <include name="**/*Test.java"/>
+
+ <target name="compile.java" description="Compile JNDI java code">
+ <echo message="Compiling JNDI classes from ${hy.jndi.src.main.java}" />
+
+ <mkdir dir="${hy.jndi.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.jndi.src.main.java}"
+ destdir="${hy.jndi.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/jndi.jar"
+ manifest="${hy.jndi}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.jndi.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling JNDI tests from ${hy.jndi.src.test.java}" />
+
+ <mkdir dir="${hy.jndi.bin.test}" />
+
+ <javac srcdir="${hy.jndi.src.test.java}"
+ destdir="${hy.jndi.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.jndi.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <classpath>
+ <pathelement path="${hy.jndi.bin.test}"/>
+ </classpath>
+ <classpath location="../../../../build/tests" />
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.jndi.src.test.java}">
+ <include name="**/*Test.java"/>
<include name="**/Test*.java"/>
<exclude name="**/TestBasicAttribute.java" />
<exclude name="**/TestBasicAttributes.java" />
@@ -114,26 +114,26 @@
<exclude name="**/TestReference.java" />
<exclude name="**/TestResolveResult.java" />
<exclude name="**/TestStringRefAddr.java" />
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >jndi
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >jndi
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >jndi
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >jndi
</echo>
- </target>
-
- <target name="copy.resources">
- <!-- Nothing for JNDI -->
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <!-- Nothing for JNDI -->
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/logging/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/make/build.xml Wed Apr 19 22:38:49 2006
@@ -16,51 +16,51 @@
-->
<project name="LOGGING Build" default="build" basedir="..">
- <description>Build for LOGGING component</description>
+ <description>Build for LOGGING component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
+ <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- LOGGING TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.logging.bin.main}"/>
- <delete dir="${hy.logging.bin.test}"/>
- </target>
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- LOGGING TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.logging.bin.main}" />
+ <delete dir="${hy.logging.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/logging/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,142 +16,142 @@
-->
<project name="Common_LOGGING_Build">
-
- <target name="compile.java" description="Compile LOGGING java code">
- <echo message="Compiling LOGGING classes from ${hy.logging.src.main.java}" />
-
- <mkdir dir="${hy.logging.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.logging.src.main.java}"
- destdir="${hy.logging.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/logging.jar"
- manifest="${hy.logging}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.logging.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling LOGGING tests from ${hy.logging.src.test.java}" />
-
- <mkdir dir="${hy.logging.bin.injected}" />
- <mkdir dir="${hy.logging.bin.test}" />
-
- <javac srcdir="${hy.logging.src.test.injected}"
- destdir="${hy.logging.bin.injected}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- <javac srcdir="${hy.logging.src.test.java}"
- destdir="${hy.logging.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- <pathelement path="${hy.logging.bin.injected}"/>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.logging.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- <pathelement path="${hy.logging.bin.injected}"/>
- </bootclasspath>
- <classpath>
- <pathelement path="${hy.logging.bin.test}"/>
- </classpath>
- <classpath location="../../../../build/tests" />
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.logging.src.test.java}">
- <include name="**/*Test.java"/>
- <exclude name="**/FileHandlerTest.java" />
- <exclude name="**/FormatterTest.java" />
- <exclude name="**/LevelTest.java" />
- <exclude name="**/LogManagerTest.java" />
- <exclude name="**/LogRecordTest.java" />
- <exclude name="**/LoggerTest.java" />
- <exclude name="**/LoggingPermissionTest.java" />
- <exclude name="**/SimpleFormatterTest.java" />
- <exclude name="**/SocketHandlerTest.java" />
- <exclude name="**/XMLFormatterTest.java" />
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >logging
+
+ <target name="compile.java" description="Compile LOGGING java code">
+ <echo message="Compiling LOGGING classes from ${hy.logging.src.main.java}" />
+
+ <mkdir dir="${hy.logging.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.logging.src.main.java}"
+ destdir="${hy.logging.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/logging.jar"
+ manifest="${hy.logging}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.logging.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling LOGGING tests from ${hy.logging.src.test.java}" />
+
+ <mkdir dir="${hy.logging.bin.injected}" />
+ <mkdir dir="${hy.logging.bin.test}" />
+
+ <javac srcdir="${hy.logging.src.test.injected}"
+ destdir="${hy.logging.bin.injected}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ <javac srcdir="${hy.logging.src.test.java}"
+ destdir="${hy.logging.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ <pathelement path="${hy.logging.bin.injected}"/>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.logging.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ <pathelement path="${hy.logging.bin.injected}"/>
+ </bootclasspath>
+ <classpath>
+ <pathelement path="${hy.logging.bin.test}"/>
+ </classpath>
+ <classpath location="../../../../build/tests" />
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.logging.src.test.java}">
+ <include name="**/*Test.java"/>
+ <exclude name="**/FileHandlerTest.java" />
+ <exclude name="**/FormatterTest.java" />
+ <exclude name="**/LevelTest.java" />
+ <exclude name="**/LogManagerTest.java" />
+ <exclude name="**/LogRecordTest.java" />
+ <exclude name="**/LoggerTest.java" />
+ <exclude name="**/LoggingPermissionTest.java" />
+ <exclude name="**/SimpleFormatterTest.java" />
+ <exclude name="**/SocketHandlerTest.java" />
+ <exclude name="**/XMLFormatterTest.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >logging
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >logging
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >logging
</echo>
- </target>
-
- <target name="copy.resources">
- <copy todir="${hy.target}/jre/lib" overwrite="yes" flatten="yes">
- <fileset dir="${hy.logging.src.main.java}">
- <include name="**/logging.properties" />
- </fileset>
- </copy>
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <copy todir="${hy.target}/jre/lib" overwrite="yes" flatten="yes">
+ <fileset dir="${hy.logging.src.main.java}">
+ <include name="**/logging.properties" />
+ </fileset>
+ </copy>
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/make/build.xml Wed Apr 19 22:38:49 2006
@@ -18,7 +18,7 @@
<!-- THIS FILE IS WORK IN PROGRESS - BEWARE -->
- <!--
+<!--
You will need to add the Eclipse
compiler's jars to the CLASSPATH and path to jni.h
to INCLUDE environment variables before build start.
@@ -32,52 +32,52 @@
-->
<project name="LUNI Build" default="build" basedir="..">
- <description>Build for LUNI component</description>
+ <description>Build for LUNI component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
+ <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- LUNI TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <!-- <ant dir="make/platform/${hy.platform}" target="compile.native" />-->
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.luni.bin.main}"/>
- <delete dir="${hy.luni.bin.test}"/>
- </target>
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- LUNI TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <!-- <ant dir="make/platform/${hy.platform}" target="compile.native" />-->
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.luni.bin.main}" />
+ <delete dir="${hy.luni.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -17,177 +17,177 @@
<project name="Common_LUNI_Build">
- <target name="compile.java" description="Compile LUNI java code">
- <echo message="Compiling LUNI classes from ${hy.luni.src.main.java}" />
+ <target name="compile.java" description="Compile LUNI java code">
+ <echo message="Compiling LUNI classes from ${hy.luni.src.main.java}" />
- <mkdir dir="${hy.luni.bin.main}" />
+ <mkdir dir="${hy.luni.bin.main}" />
- <javac sourcepath=""
- srcdir="${hy.luni.src.main.java}"
- destdir="${hy.luni.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/luni.jar" manifest="${hy.luni}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.luni.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests" depends="copy.test.resources">
- <echo message="Compiling LUNI tests from ${hy.luni.src.test.java}" />
-
- <mkdir dir="${hy.luni.bin.test}" />
-
- <javac srcdir="${hy.luni.src.test.java}"
- destdir="${hy.luni.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="${hy.tests.support.bin}" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.luni.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion" />
-
- <!-- Required by various tests that set security manager etc -->
- <jvmarg value="-Djava.security.policy=../../../../support/src/test/resources/config/testing.policy" />
-
- <!-- Required for running the java.net unit tests -->
- <jvmarg value="-Dtest.ini.file=../../../../src/test/resources/config/localhosttest.ini" />
-
- <env key="JAVA_HOME" value="${test.jre.home}" />
-
- <classpath>
- <pathelement path="${hy.luni.bin.test}" />
- <pathelement path="${hy.tests.support.bin}" />
- </classpath>
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.luni.src.test.java}">
- <include name="**/*Test.java" />
- <exclude name="**/BufferedInputStreamTest.java" />
- <exclude name="**/BufferedReaderTest.java" />
- <exclude name="**/BufferedWriterTest.java" />
- <exclude name="**/FileInputStreamTest.java" />
- <exclude name="**/FilterInputStreamTest.java" />
- <exclude name="**/InputStreamReaderTest.java" />
- <exclude name="**/NotSerializableExceptionTest.java" />
- <exclude name="**/ObjectInputStreamTest.java" />
- <exclude name="**/ObjectOutputStreamTest.java" />
- <exclude name="**/OutputStreamWriterTest.java" />
- <exclude name="**/PipedInputStreamTest.java" />
- <exclude name="**/PrintWriterTest.java" />
- <exclude name="**/StreamTokenizerTest.java" />
- <exclude name="**/ArrayIndexOutOfBoundsExceptionTest.java" />
- <exclude name="**/AssertionErrorTest.java" />
- <exclude name="**/ClassLoaderTest.java" />
- <exclude name="**/ClassTest.java" />
- <exclude name="**/PackageTest.java" />
- <exclude name="**/ProcessTest.java" />
- <exclude name="**/StringTest.java" />
- <exclude name="**/FieldTest.java" />
- <exclude name="**/ProxyTest.java" />
- <exclude name="**/ConnectExceptionTest.java" />
- <exclude name="**/DatagramPacketTest.java" />
- <exclude name="**/DatagramSocketTest.java" />
- <exclude name="**/HttpURLConnectionTest.java" />
- <exclude name="**/InetAddressTest.java" />
- <exclude name="**/JarURLConnectionTest.java" />
- <exclude name="**/MulticastSocketTest.java" />
- <exclude name="**/ServerSocketTest.java" />
- <exclude name="**/SocketImplTest.java" />
- <exclude name="**/SocketPermissionTest.java" />
- <exclude name="**/SocketTest.java" />
- <exclude name="**/URISyntaxExceptionTest.java" />
- <exclude name="**/URLClassLoaderTest.java" />
- <exclude name="**/URLConnectionTest.java" />
- <exclude name="**/URLDecoderTest.java" />
- <exclude name="**/URLEncoderTest.java" />
- <exclude name="**/URLTest.java" />
- <exclude name="**/ArrayListTest.java" />
- <exclude name="**/ArraysTest.java" />
- <exclude name="**/CalendarTest.java" />
- <exclude name="**/CollectionsTest.java" />
- <exclude name="**/HashMapTest.java" />
- <exclude name="**/HashtableTest.java" />
- <exclude name="**/IdentityHashMapTest.java" />
- <exclude name="**/LinkedHashMapTest.java" />
- <exclude name="**/LinkedListTest.java" />
- <exclude name="**/ListResourceBundleTest.java" />
- <exclude name="**/LocaleTest.java" />
- <exclude name="**/PropertiesTest.java" />
- <exclude name="**/ResourceBundleTest.java" />
- <exclude name="**/TimeZoneTest.java" />
- <exclude name="**/TreeMapTest.java" />
- <exclude name="**/VectorTest.java" />
- <exclude name="**/WeakHashMapTest.java" />
- <exclude name="**/NYITest.java" />
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >luni
+ <javac sourcepath=""
+ srcdir="${hy.luni.src.main.java}"
+ destdir="${hy.luni.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/luni.jar" manifest="${hy.luni}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.luni.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests" depends="copy.test.resources">
+ <echo message="Compiling LUNI tests from ${hy.luni.src.test.java}" />
+
+ <mkdir dir="${hy.luni.bin.test}" />
+
+ <javac srcdir="${hy.luni.src.test.java}"
+ destdir="${hy.luni.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="${hy.tests.support.bin}" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.luni.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion" />
+
+ <!-- Required by various tests that set security manager etc -->
+ <jvmarg value="-Djava.security.policy=../../../../support/src/test/resources/config/testing.policy" />
+
+ <!-- Required for running the java.net unit tests -->
+ <jvmarg value="-Dtest.ini.file=../../../../src/test/resources/config/localhosttest.ini" />
+
+ <env key="JAVA_HOME" value="${test.jre.home}" />
+
+ <classpath>
+ <pathelement path="${hy.luni.bin.test}" />
+ <pathelement path="${hy.tests.support.bin}" />
+ </classpath>
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.luni.src.test.java}">
+ <include name="**/*Test.java" />
+ <exclude name="**/BufferedInputStreamTest.java" />
+ <exclude name="**/BufferedReaderTest.java" />
+ <exclude name="**/BufferedWriterTest.java" />
+ <exclude name="**/FileInputStreamTest.java" />
+ <exclude name="**/FilterInputStreamTest.java" />
+ <exclude name="**/InputStreamReaderTest.java" />
+ <exclude name="**/NotSerializableExceptionTest.java" />
+ <exclude name="**/ObjectInputStreamTest.java" />
+ <exclude name="**/ObjectOutputStreamTest.java" />
+ <exclude name="**/OutputStreamWriterTest.java" />
+ <exclude name="**/PipedInputStreamTest.java" />
+ <exclude name="**/PrintWriterTest.java" />
+ <exclude name="**/StreamTokenizerTest.java" />
+ <exclude name="**/ArrayIndexOutOfBoundsExceptionTest.java" />
+ <exclude name="**/AssertionErrorTest.java" />
+ <exclude name="**/ClassLoaderTest.java" />
+ <exclude name="**/ClassTest.java" />
+ <exclude name="**/PackageTest.java" />
+ <exclude name="**/ProcessTest.java" />
+ <exclude name="**/StringTest.java" />
+ <exclude name="**/FieldTest.java" />
+ <exclude name="**/ProxyTest.java" />
+ <exclude name="**/ConnectExceptionTest.java" />
+ <exclude name="**/DatagramPacketTest.java" />
+ <exclude name="**/DatagramSocketTest.java" />
+ <exclude name="**/HttpURLConnectionTest.java" />
+ <exclude name="**/InetAddressTest.java" />
+ <exclude name="**/JarURLConnectionTest.java" />
+ <exclude name="**/MulticastSocketTest.java" />
+ <exclude name="**/ServerSocketTest.java" />
+ <exclude name="**/SocketImplTest.java" />
+ <exclude name="**/SocketPermissionTest.java" />
+ <exclude name="**/SocketTest.java" />
+ <exclude name="**/URISyntaxExceptionTest.java" />
+ <exclude name="**/URLClassLoaderTest.java" />
+ <exclude name="**/URLConnectionTest.java" />
+ <exclude name="**/URLDecoderTest.java" />
+ <exclude name="**/URLEncoderTest.java" />
+ <exclude name="**/URLTest.java" />
+ <exclude name="**/ArrayListTest.java" />
+ <exclude name="**/ArraysTest.java" />
+ <exclude name="**/CalendarTest.java" />
+ <exclude name="**/CollectionsTest.java" />
+ <exclude name="**/HashMapTest.java" />
+ <exclude name="**/HashtableTest.java" />
+ <exclude name="**/IdentityHashMapTest.java" />
+ <exclude name="**/LinkedHashMapTest.java" />
+ <exclude name="**/LinkedListTest.java" />
+ <exclude name="**/ListResourceBundleTest.java" />
+ <exclude name="**/LocaleTest.java" />
+ <exclude name="**/PropertiesTest.java" />
+ <exclude name="**/ResourceBundleTest.java" />
+ <exclude name="**/TimeZoneTest.java" />
+ <exclude name="**/TreeMapTest.java" />
+ <exclude name="**/VectorTest.java" />
+ <exclude name="**/WeakHashMapTest.java" />
+ <exclude name="**/NYITest.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >luni
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >luni
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >luni
</echo>
- </target>
+ </target>
- <target name="copy.resources">
- <!-- Nothing for LUNI -->
- </target>
-
- <target name="copy.test.resources">
- <mkdir dir="${hy.luni.bin.test}" />
+ <target name="copy.resources">
+ <!-- Nothing for LUNI -->
+ </target>
+
+ <target name="copy.test.resources">
+ <mkdir dir="${hy.luni.bin.test}" />
<copy todir="${hy.luni.bin.test}" includeemptydirs="false">
<fileset dir="${hy.luni.src.test.resources}">
<exclude name="**/*.java" />
</fileset>
</copy>
- </target>
-
+ </target>
+
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/linux.x86/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/linux.x86/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/linux.x86/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/linux.x86/build.xml Wed Apr 19 22:38:49 2006
@@ -17,22 +17,22 @@
<project name="LUNI build script for Linux x86">
- <property name="libpr" value="lib"/>
- <property name="libsf" value=".so"/>
+ <property name="libpr" value="lib" />
+ <property name="libsf" value=".so" />
- <property name="cPath" value="${env.PATH}" />
- <property name="cINCLUDE" value="${env.INCLUDE}" />
- <property name="cLIB" value="${env.LIB}" />
- <property name="src.java" value="${src.linux.java}" />
- <property name="compile.native.tail" value="linux" />
+ <property name="cPath" value="${env.PATH}" />
+ <property name="cINCLUDE" value="${env.INCLUDE}" />
+ <property name="cLIB" value="${env.LIB}" />
+ <property name="src.java" value="${src.linux.java}" />
+ <property name="compile.native.tail" value="linux" />
- <property name="src.tst.common.ps" value="${src.test.java}/linux" />
+ <property name="src.tst.common.ps" value="${src.test.java}/linux" />
- <property name="jni_md_h.path" location="${env.JAVA_HOME}/include/linux"/>
+ <property name="jni_md_h.path" location="${env.JAVA_HOME}/include/linux" />
+
+ <target name="compile.native">
+ <!-- TBD -->
+ <echo>Compile, compile (linux x86)</echo>
+ </target>
- <target name="compile.native">
- <!-- TBD -->
- <echo>Compile, compile (linux x86)</echo>
- </target>
-
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/windows.x86/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/windows.x86/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/windows.x86/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/make/platform/windows.x86/build.xml Wed Apr 19 22:38:49 2006
@@ -17,22 +17,22 @@
<project name="LUNI build script for Windows x86">
- <property name="libpr" value=""/>
- <property name="libsf" value=".dll"/>
+ <property name="libpr" value="" />
+ <property name="libsf" value=".dll" />
- <property name="cPath" value="${PATH};${env.Path}" />
- <property name="cINCLUDE" value="${env.INCLUDE}" />
- <property name="cLIB" value="${LIB};${env.lib};${env.LIB}" />
- <property name="src.java" value="${src.win.java}" />
- <property name="compile.native.tail" value="windows" />
+ <property name="cPath" value="${PATH};${env.Path}" />
+ <property name="cINCLUDE" value="${env.INCLUDE}" />
+ <property name="cLIB" value="${LIB};${env.lib};${env.LIB}" />
+ <property name="src.java" value="${src.win.java}" />
+ <property name="compile.native.tail" value="windows" />
- <property name="src.tst.common.ps" value="${src.test.java}/windows" />
+ <property name="src.tst.common.ps" value="${src.test.java}/windows" />
- <property name="jni_md_h.path" location="${env.JAVA_HOME}/include/win32"/>
+ <property name="jni_md_h.path" location="${env.JAVA_HOME}/include/win32" />
+
+ <target name="compile.native">
+ <!-- TBD -->
+ <echo>Compile, compile (windows x86)</echo>
+ </target>
- <target name="compile.native">
- <!-- TBD -->
- <echo>Compile, compile (windows x86)</echo>
- </target>
-
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/math/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/math/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/math/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/math/make/build.xml Wed Apr 19 22:38:49 2006
@@ -16,51 +16,51 @@
-->
<project name="MATH Build" default="build" basedir="..">
- <description>Build for MATH component</description>
+ <description>Build for MATH component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
+ <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- MATH TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.math.bin.main}"/>
- <delete dir="${hy.math.bin.test}"/>
- </target>
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- MATH TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.math.bin.main}" />
+ <delete dir="${hy.math.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/math/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/math/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/math/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/math/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,110 +16,110 @@
-->
<project name="Common_MATH_Build">
-
- <target name="compile.java" description="Compile MATH java code">
- <echo message="Compiling MATH classes from ${hy.math.src.main.java}" />
-
- <mkdir dir="${hy.math.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.math.src.main.java}"
- destdir="${hy.math.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/math.jar"
- manifest="${hy.math}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.math.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling MATH tests from ${hy.math.src.test.java}" />
-
- <mkdir dir="${hy.math.bin.test}" />
-
- <javac srcdir="${hy.math.src.test.java}"
- destdir="${hy.math.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.math.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <classpath>
- <pathelement path="${hy.math.bin.test}"/>
- </classpath>
- <classpath location="../../../../build/tests" />
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.math.src.test.java}">
- <include name="**/*Test.java" />
- <!-- This test seems to loop -->
- <exclude name="**/api/java/math/BigDecimalTest.java" />
- <!-- This test fails -->
- <exclude name="**/api/java/math/BigIntegerTest.java" />
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >math
+
+ <target name="compile.java" description="Compile MATH java code">
+ <echo message="Compiling MATH classes from ${hy.math.src.main.java}" />
+
+ <mkdir dir="${hy.math.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.math.src.main.java}"
+ destdir="${hy.math.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/math.jar"
+ manifest="${hy.math}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.math.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling MATH tests from ${hy.math.src.test.java}" />
+
+ <mkdir dir="${hy.math.bin.test}" />
+
+ <javac srcdir="${hy.math.src.test.java}"
+ destdir="${hy.math.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.math.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <classpath>
+ <pathelement path="${hy.math.bin.test}"/>
+ </classpath>
+ <classpath location="../../../../build/tests" />
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.math.src.test.java}">
+ <include name="**/*Test.java" />
+ <!-- This test seems to loop -->
+ <exclude name="**/api/java/math/BigDecimalTest.java" />
+ <!-- This test fails -->
+ <exclude name="**/api/java/math/BigIntegerTest.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >math
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >math
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >math
</echo>
- </target>
-
- <target name="copy.resources">
- <!-- Nothing for MATH -->
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <!-- Nothing for MATH -->
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/make/build.xml Wed Apr 19 22:38:49 2006
@@ -16,51 +16,51 @@
-->
<project name="NIO Build" default="build" basedir="..">
- <description>Build for NIO component</description>
+ <description>Build for NIO component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
+ <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- NIO TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.nio.bin.main}"/>
- <delete dir="${hy.nio.bin.test}"/>
- </target>
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- NIO TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.nio.bin.main}" />
+ <delete dir="${hy.nio.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,107 +16,107 @@
-->
<project name="Common_NIO_Build">
-
- <target name="compile.java" description="Compile NIO java code">
- <echo message="Compiling NIO classes from ${hy.nio.src.main.java}" />
-
- <mkdir dir="${hy.nio.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.nio.src.main.java}"
- destdir="${hy.nio.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/nio.jar"
- manifest="${hy.nio}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.nio.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling NIO tests from ${hy.nio.src.test.java}" />
-
- <mkdir dir="${hy.nio.bin.test}" />
-
- <javac srcdir="${hy.nio.src.test.java}"
- destdir="${hy.nio.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.nio.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <classpath>
- <pathelement path="${hy.nio.bin.test}"/>
- <pathelement path="../../../../build/tests" />
- </classpath>
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.nio.src.test.java}">
- <include name="**/*Test.java"/>
- <exclude name="**/ServerSocketChannelTest.java"/>
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >nio
+
+ <target name="compile.java" description="Compile NIO java code">
+ <echo message="Compiling NIO classes from ${hy.nio.src.main.java}" />
+
+ <mkdir dir="${hy.nio.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.nio.src.main.java}"
+ destdir="${hy.nio.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/nio.jar"
+ manifest="${hy.nio}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.nio.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling NIO tests from ${hy.nio.src.test.java}" />
+
+ <mkdir dir="${hy.nio.bin.test}" />
+
+ <javac srcdir="${hy.nio.src.test.java}"
+ destdir="${hy.nio.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.nio.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <classpath>
+ <pathelement path="${hy.nio.bin.test}"/>
+ <pathelement path="../../../../build/tests" />
+ </classpath>
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.nio.src.test.java}">
+ <include name="**/*Test.java"/>
+ <exclude name="**/ServerSocketChannelTest.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >nio
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >nio
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >nio
</echo>
- </target>
-
- <target name="copy.resources">
- <!-- Nothing for NIO -->
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <!-- Nothing for NIO -->
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/build.xml Wed Apr 19 22:38:49 2006
@@ -16,50 +16,50 @@
-->
<project name="NIO_CHAR Build" default="build" basedir="..">
- <description>Build for NIO_CHAR component</description>
+ <description>Build for NIO_CHAR component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- NIO_CHAR TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.nio_char.bin.main}"/>
- <delete dir="${hy.nio_char.bin.test}"/>
- </target>
+ <property name="build.compiler" value="modern" />
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- NIO_CHAR TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.nio_char.bin.main}" />
+ <delete dir="${hy.nio_char.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio_char/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,130 +16,130 @@
-->
<project name="Common_NIO_CHAR_Build">
-
- <target name="compile.java" description="Compile NIO_CHAR java code">
- <echo message="Compiling NIO_CHAR classes from ${hy.nio_char.src.main.java}" />
-
- <mkdir dir="${hy.nio_char.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.nio_char.src.main.java}"
- destdir="${hy.nio_char.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/${hy.nio_char.packaging.jarname}.jar"
- manifest="${hy.nio_char}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.nio_char.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling NIO_CHAR tests from ${hy.nio_char.src.test.java}" />
-
- <mkdir dir="${hy.nio_char.bin.test}" />
-
- <javac srcdir="${hy.nio_char.src.test.java}"
- destdir="${hy.nio_char.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.nio_char.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <classpath>
- <pathelement path="${hy.nio_char.bin.test}"/>
- </classpath>
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.nio_char.src.test.java}">
- <include name="**/*Test.java"/>
- <exclude name="**/ASCCharsetDecoderTest.java"/>
- <exclude name="**/ASCCharsetEncoderTest.java"/>
- <exclude name="**/CharacterCodingExceptionTest.java"/>
- <exclude name="**/CharsetDecoderTest.java"/>
- <exclude name="**/CharsetEncoderTest.java"/>
- <exclude name="**/CharsetProviderTest.java"/>
- <exclude name="**/CharsetTest.java"/>
- <exclude name="**/CoderMalfunctionErrorTest.java"/>
- <exclude name="**/ConcreteCharsetTest.java"/>
- <exclude name="**/GBCharsetDecoderTest.java"/>
- <exclude name="**/GBCharsetEncoderTest.java"/>
- <exclude name="**/ISOCharsetDecoderTest.java"/>
- <exclude name="**/ISOCharsetEncoderTest.java"/>
- <exclude name="**/IllegalCharsetNameExceptionTest.java"/>
- <exclude name="**/MalformedInputExceptionTest.java"/>
- <exclude name="**/UTF16BECharsetDecoderTest.java"/>
- <exclude name="**/UTF16BECharsetEncoderTest.java"/>
- <exclude name="**/UTF16CharsetDecoderTest.java"/>
- <exclude name="**/UTF16CharsetEncoderTest.java"/>
- <exclude name="**/UTF16LECharsetDecoderTest.java"/>
- <exclude name="**/UTF16LECharsetEncoderTest.java"/>
- <exclude name="**/UTFCharsetDecoderTest.java"/>
- <exclude name="**/UTFCharsetEncoderTest.java"/>
- <exclude name="**/UnmappableCharacterExceptionTest.java"/>
- <exclude name="**/UnsupportedCharsetExceptionTest.java"/>
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >nio_char
+
+ <target name="compile.java" description="Compile NIO_CHAR java code">
+ <echo message="Compiling NIO_CHAR classes from ${hy.nio_char.src.main.java}" />
+
+ <mkdir dir="${hy.nio_char.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.nio_char.src.main.java}"
+ destdir="${hy.nio_char.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/${hy.nio_char.packaging.jarname}.jar"
+ manifest="${hy.nio_char}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.nio_char.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling NIO_CHAR tests from ${hy.nio_char.src.test.java}" />
+
+ <mkdir dir="${hy.nio_char.bin.test}" />
+
+ <javac srcdir="${hy.nio_char.src.test.java}"
+ destdir="${hy.nio_char.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.nio_char.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <classpath>
+ <pathelement path="${hy.nio_char.bin.test}"/>
+ </classpath>
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.nio_char.src.test.java}">
+ <include name="**/*Test.java"/>
+ <exclude name="**/ASCCharsetDecoderTest.java"/>
+ <exclude name="**/ASCCharsetEncoderTest.java"/>
+ <exclude name="**/CharacterCodingExceptionTest.java"/>
+ <exclude name="**/CharsetDecoderTest.java"/>
+ <exclude name="**/CharsetEncoderTest.java"/>
+ <exclude name="**/CharsetProviderTest.java"/>
+ <exclude name="**/CharsetTest.java"/>
+ <exclude name="**/CoderMalfunctionErrorTest.java"/>
+ <exclude name="**/ConcreteCharsetTest.java"/>
+ <exclude name="**/GBCharsetDecoderTest.java"/>
+ <exclude name="**/GBCharsetEncoderTest.java"/>
+ <exclude name="**/ISOCharsetDecoderTest.java"/>
+ <exclude name="**/ISOCharsetEncoderTest.java"/>
+ <exclude name="**/IllegalCharsetNameExceptionTest.java"/>
+ <exclude name="**/MalformedInputExceptionTest.java"/>
+ <exclude name="**/UTF16BECharsetDecoderTest.java"/>
+ <exclude name="**/UTF16BECharsetEncoderTest.java"/>
+ <exclude name="**/UTF16CharsetDecoderTest.java"/>
+ <exclude name="**/UTF16CharsetEncoderTest.java"/>
+ <exclude name="**/UTF16LECharsetDecoderTest.java"/>
+ <exclude name="**/UTF16LECharsetEncoderTest.java"/>
+ <exclude name="**/UTFCharsetDecoderTest.java"/>
+ <exclude name="**/UTFCharsetEncoderTest.java"/>
+ <exclude name="**/UnmappableCharacterExceptionTest.java"/>
+ <exclude name="**/UnsupportedCharsetExceptionTest.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >nio_char
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >nio_char
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >nio_char
</echo>
- </target>
-
- <target name="copy.resources">
- <!-- Nothing for NIO_CHAR -->
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <!-- Nothing for NIO_CHAR -->
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/build.xml Wed Apr 19 22:38:49 2006
@@ -16,51 +16,51 @@
-->
<project name="PREFS Build" default="build" basedir="..">
- <description>Build for PREFS component</description>
+ <description>Build for PREFS component</description>
- <!-- import common properties -->
- <import file="${basedir}/../../make/properties.xml" />
+ <!-- import common properties -->
+ <import file="${basedir}/../../make/properties.xml" />
- <!-- set global properties for this build. -->
- <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true"/>
+ <!-- set global properties for this build. -->
+ <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
- <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+ <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
use the Eclipse Java compiler. But it does not support jsr14 target -->
- <property name="build.compiler" value="modern" />
+ <property name="build.compiler" value="modern" />
- <target name="init">
- <tstamp>
- <format property="build-date" pattern="yyyyMMdd" locale="en" />
- </tstamp>
- <tstamp>
- <format property="build-time" pattern="yyyyMMdd_HHmm" />
- </tstamp>
- <echo message="build-date=${build-date}" />
- <echo message="build-time=${build-time}" />
- <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
-
- <property name="java.debug.option" value="on" />
- <property name="native.debug.option" value="on" />
-
- </target>
-
- <!-- PREFS TARGETS -->
-
- <target name="build" depends="init">
- <ant dir="make/common" target="compile.java" />
- <ant dir="make/common" target="build.jar" />
- <ant dir="make/common" target="copy.resources" />
- </target>
-
-
- <target name="test" depends="build">
- <ant dir="make/common" target="compile.tests" />
- <ant dir="make/common" target="run.tests" />
- </target>
-
- <target name="clean">
- <delete dir="${hy.prefs.bin.main}"/>
- <delete dir="${hy.prefs.bin.test}"/>
- </target>
+ <target name="init">
+ <tstamp>
+ <format property="build-date" pattern="yyyyMMdd" locale="en" />
+ </tstamp>
+ <tstamp>
+ <format property="build-time" pattern="yyyyMMdd_HHmm" />
+ </tstamp>
+ <echo message="build-date=${build-date}" />
+ <echo message="build-time=${build-time}" />
+ <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+ <property name="java.debug.option" value="on" />
+ <property name="native.debug.option" value="on" />
+
+ </target>
+
+ <!-- PREFS TARGETS -->
+
+ <target name="build" depends="init">
+ <ant dir="make/common" target="compile.java" />
+ <ant dir="make/common" target="build.jar" />
+ <ant dir="make/common" target="copy.resources" />
+ </target>
+
+
+ <target name="test" depends="build">
+ <ant dir="make/common" target="compile.tests" />
+ <ant dir="make/common" target="run.tests" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${hy.prefs.bin.main}" />
+ <delete dir="${hy.prefs.bin.test}" />
+ </target>
</project>
Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml?rev=395494&r1=395493&r2=395494&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml Wed Apr 19 22:38:49 2006
@@ -16,109 +16,109 @@
-->
<project name="Common_PREFS_Build">
-
- <target name="compile.java" description="Compile PREFS java code">
- <echo message="Compiling PREFS classes from ${hy.prefs.src.main.java}" />
-
- <mkdir dir="${hy.prefs.bin.main}" />
-
- <javac sourcepath=""
- srcdir="${hy.prefs.src.main.java}"
- destdir="${hy.prefs.bin.main}"
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- </javac>
- </target>
-
- <target name="build.jar">
- <jar destfile="${hy.target}/jre/lib/boot/prefs.jar"
- manifest="${hy.prefs}/META-INF/MANIFEST.MF">
- <fileset dir="${hy.prefs.bin.main}" />
- </jar>
- </target>
-
-
- <target name="compile.tests">
- <echo message="Compiling PREFS tests from ${hy.prefs.src.test.java}" />
-
- <mkdir dir="${hy.prefs.bin.test}" />
-
- <javac srcdir="${hy.prefs.src.test.java}"
- destdir="${hy.prefs.bin.test}"
- sourcepath=""
- source="${hy.javac.source}"
- target="${hy.javac.target}"
- debug="${java.debug.option}">
-
- <bootclasspath>
- <fileset dir="${hy.target}/jre/lib/boot">
- <include name="**/*.jar" />
- </fileset>
- </bootclasspath>
- <classpath location="../../../../build/tests" />
- </javac>
- </target>
-
-
- <target name="run.tests">
-
- <mkdir dir="${hy.tests.reports}" />
-
- <property name="test.jre.home" value="${hy.target}/jre" />
-
- <junit fork="yes"
- forkmode="once"
- printsummary="withOutAndErr"
- errorproperty="test.errors"
- failureproperty="test.failures"
- showoutput="on"
- dir="${hy.prefs.bin.test}"
- jvm="${test.jre.home}/bin/java">
-
- <jvmarg value="-showversion"/>
-
- <env key="JAVA_HOME" value="${test.jre.home}"/>
-
- <classpath>
- <pathelement path="${hy.prefs.bin.test}"/>
- </classpath>
- <classpath location="../../../../build/tests" />
-
- <formatter type="xml" />
-
- <batchtest todir="${hy.tests.reports}" haltonfailure="no">
- <fileset dir="${hy.prefs.src.test.java}">
- <include name="**/*Test.java"/>
- <exclude name="**/AbstractPreferencesTest.java"/>
- <exclude name="**/FilePreferencesImplTest.java"/>
- <exclude name="**/PreferencesTest.java"/>
- </fileset>
- </batchtest>
- </junit>
- <antcall target="touch-failures-file" />
- <antcall target="touch-errors-file" />
- </target>
-
- <target name="touch-failures-file" if="test.failures">
- <echo file="${hy.tests.reports}/test.failures"
- append="true" >prefs
+
+ <target name="compile.java" description="Compile PREFS java code">
+ <echo message="Compiling PREFS classes from ${hy.prefs.src.main.java}" />
+
+ <mkdir dir="${hy.prefs.bin.main}" />
+
+ <javac sourcepath=""
+ srcdir="${hy.prefs.src.main.java}"
+ destdir="${hy.prefs.bin.main}"
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ </javac>
+ </target>
+
+ <target name="build.jar">
+ <jar destfile="${hy.target}/jre/lib/boot/prefs.jar"
+ manifest="${hy.prefs}/META-INF/MANIFEST.MF">
+ <fileset dir="${hy.prefs.bin.main}" />
+ </jar>
+ </target>
+
+
+ <target name="compile.tests">
+ <echo message="Compiling PREFS tests from ${hy.prefs.src.test.java}" />
+
+ <mkdir dir="${hy.prefs.bin.test}" />
+
+ <javac srcdir="${hy.prefs.src.test.java}"
+ destdir="${hy.prefs.bin.test}"
+ sourcepath=""
+ source="${hy.javac.source}"
+ target="${hy.javac.target}"
+ debug="${java.debug.option}">
+
+ <bootclasspath>
+ <fileset dir="${hy.target}/jre/lib/boot">
+ <include name="**/*.jar" />
+ </fileset>
+ </bootclasspath>
+ <classpath location="../../../../build/tests" />
+ </javac>
+ </target>
+
+
+ <target name="run.tests">
+
+ <mkdir dir="${hy.tests.reports}" />
+
+ <property name="test.jre.home" value="${hy.target}/jre" />
+
+ <junit fork="yes"
+ forkmode="once"
+ printsummary="withOutAndErr"
+ errorproperty="test.errors"
+ failureproperty="test.failures"
+ showoutput="on"
+ dir="${hy.prefs.bin.test}"
+ jvm="${test.jre.home}/bin/java">
+
+ <jvmarg value="-showversion"/>
+
+ <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+ <classpath>
+ <pathelement path="${hy.prefs.bin.test}"/>
+ </classpath>
+ <classpath location="../../../../build/tests" />
+
+ <formatter type="xml" />
+
+ <batchtest todir="${hy.tests.reports}" haltonfailure="no">
+ <fileset dir="${hy.prefs.src.test.java}">
+ <include name="**/*Test.java"/>
+ <exclude name="**/AbstractPreferencesTest.java"/>
+ <exclude name="**/FilePreferencesImplTest.java"/>
+ <exclude name="**/PreferencesTest.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ <antcall target="touch-failures-file" />
+ <antcall target="touch-errors-file" />
+ </target>
+
+ <target name="touch-failures-file" if="test.failures">
+ <echo file="${hy.tests.reports}/test.failures"
+ append="true" >prefs
</echo>
- </target>
- <target name="touch-errors-file" if="test.errors">
- <echo file="${hy.tests.reports}/test.errors"
- append="true" >prefs
+ </target>
+ <target name="touch-errors-file" if="test.errors">
+ <echo file="${hy.tests.reports}/test.errors"
+ append="true" >prefs
</echo>
- </target>
-
- <target name="copy.resources">
- <!-- Nothing for PREFS -->
- </target>
+ </target>
+
+ <target name="copy.resources">
+ <!-- Nothing for PREFS -->
+ </target>
</project>