1.1 --- a/build.xml Wed Jun 24 13:44:46 2009 +0200
1.2 +++ b/build.xml Wed Jun 24 14:53:01 2009 +0200
1.3 @@ -10,6 +10,9 @@
1.4 <antcall target="corba"/>
1.5 <antcall target="tools"/>
1.6 <antcall target="deprecated7"/>
1.7 +
1.8 +
1.9 + <antcall target="test"/>
1.10 </target>
1.11
1.12 <!-- basic parameters -->
1.13 @@ -355,6 +358,29 @@
1.14 </antcall>
1.15 </target>
1.16
1.17 + <!-- basic sanity tests -->
1.18 + <target name="test">
1.19 + <property name="test.dir" value="build/test"/>
1.20 + <mkdir dir="${test.dir}"/>
1.21 + <path id="boot">
1.22 + <fileset dir="${build.dir}">
1.23 + <include name="*.jar"/>
1.24 + </fileset>
1.25 + </path>
1.26 +
1.27 + <javac srcdir="test/java/util/Properties" destdir="${test.dir}" includeantruntime="false" includejavaruntime="false">
1.28 + <bootclasspath refid="boot"/>
1.29 + </javac>
1.30 +
1.31 + <java classname="XMLReadAndWriteTest" fork="true">
1.32 + <jvmarg value="-ea"/>
1.33 + <classpath>
1.34 + <path refid="boot"/>
1.35 + <pathelement location="${test.dir}"/>
1.36 + </classpath>
1.37 + </java>
1.38 + </target>
1.39 +
1.40 <!-- shared routine to compile one of the modules -->
1.41 <target name="-compile-one-module">
1.42 <mkdir dir="${build.dir}/classes/${module}"/>