Added Mauve tests for java.net.* into testsuite development
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 12 Aug 2013 02:36:09 +0100
branchdevelopment
changeset 2652 325eb130eb83
parent 2651 5363bd0388c3
child 2653 f4a15878dccd
Added Mauve tests for java.net.* into testsuite
tests/libjava-mauve/build.xml
--- a/tests/libjava-mauve/build.xml	Sun Aug 11 14:00:50 2013 +0100
+++ b/tests/libjava-mauve/build.xml	Mon Aug 12 02:36:09 2013 +0100
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- WARNING: Eclipse auto-generated file.
-              Any modifications will be overwritten.
-              To include a user specific buildfile here, simply create one in the same
-              directory with the processing instruction <?eclipse.ant.import?>
-              as the first entry and export the buildfile again. -->
+	      Any modifications will be overwritten.
+	      To include a user specific buildfile here, simply create one in the same
+	      directory with the processing instruction <?eclipse.ant.import?>
+	      as the first entry and export the buildfile again. -->
 <project basedir="." default="build" name="stx:libjava | tests | mauve">
     <property environment="env"/>
     <property name="ECLIPSE_HOME" value="../../../../../../../../../../../../../opt/eclipse-4.2"/>
@@ -11,52 +11,53 @@
     <property name="target" value="1.6"/>
     <property name="source" value="1.6"/>
     <path id="stx:libjava | tests | mauve.classpath">
-        <pathelement location="bin"/>
+	<pathelement location="bin"/>
     </path>
     <target name="init">
-        <mkdir dir="bin"/>
-        <copy includeemptydirs="false" todir="bin">
-            <fileset dir="src">
-                <exclude name="**/*.java"/>
-            </fileset>
-        </copy>
+	<mkdir dir="bin"/>
+	<copy includeemptydirs="false" todir="bin">
+	    <fileset dir="src">
+		<exclude name="**/*.java"/>
+	    </fileset>
+	</copy>
     </target>
     <target name="clean">
-        <delete dir="bin"/>
+	<delete dir="bin"/>
     </target>
     <target depends="clean" name="cleanall"/>
     <target depends="build-subprojects,build-project" name="build"/>
     <target name="build-subprojects"/>
     <target depends="init" name="build-project">
-        <echo message="${ant.project.name}: ${ant.file}"/>
-        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
-            <src path="src"/>
-            <!-- Add more here as time comes -->
-            <!-- -->
-            <include name="gnu/testlet/*.java" />
-            <include name="stx/**/*.java" />
-            <!-- -->
-            <include name="gnu/testlet/java/lang/**/*.java" />
-            <include name="gnu/testlet/java/util/**/*.java" />
-            <!-- -->
-            <include name="gnu/testlet/java/io/**/*.java" />
-            <include name="gnu/testlet/java/nio/**/*.java" />
-            <!-- <exclude name="**/*.java"/> -->
-            <classpath refid="stx:libjava | tests | mauve.classpath"/>
-        </javac>
+	<echo message="${ant.project.name}: ${ant.file}"/>
+	<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
+	    <src path="src"/>
+	    <!-- Add more here as time comes -->
+	    <!-- -->
+	    <include name="gnu/testlet/*.java" />
+	    <include name="stx/**/*.java" />
+	    <!-- -->
+	    <include name="gnu/testlet/java/lang/**/*.java" />
+	    <include name="gnu/testlet/java/util/**/*.java" />
+	    <!-- -->
+	    <include name="gnu/testlet/java/io/**/*.java" />
+	    <include name="gnu/testlet/java/nio/**/*.java" />
+	    <include name="gnu/testlet/java/net/**/*.java" />
+	    <!-- <exclude name="**/*.java"/> -->
+	    <classpath refid="stx:libjava | tests | mauve.classpath"/>
+	</javac>
     </target>
     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
     <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
-        <copy todir="${ant.library.dir}">
-            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
-        </copy>
-        <unzip dest="${ant.library.dir}">
-            <patternset includes="jdtCompilerAdapter.jar"/>
-            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
-        </unzip>
+	<copy todir="${ant.library.dir}">
+	    <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
+	</copy>
+	<unzip dest="${ant.library.dir}">
+	    <patternset includes="jdtCompilerAdapter.jar"/>
+	    <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
+	</unzip>
     </target>
     <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
-        <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
-        <antcall target="build"/>
+	<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+	<antcall target="build"/>
     </target>
 </project>