tests/build.xml
author Jan Vrany <jan.vrany@labware.com>
Mon, 29 Nov 2021 16:36:55 +0000
changeset 4010 19843598d34b
parent 3337 fd5013aca049
child 4012 117835eb9839
permissions -rw-r--r--
Test for different methods in `ProjectDefinition >> #postLoadJavaHook` This commit just changes the clumsy test for compiled class libraries to use multiple different methods. `#classNamesAndAttributes` may be missing in (pure) Pharo `PackageManifests`. `#mandatoryPreRequisites` may be missing in some old project definitions created before (single) `#preRequisites` have been split to `#mandatoryPreRequisites` and `#requiredPreRequisites`. Sigh.

<project name="tests" default="build">

<property name="libraries.stx.libjava" value="../java/libs"/>
<property name="libraries.stx.libjava.libs" value="../libs/java/libs"/>

<path id="libjava-tests.classpath">
    <fileset dir="${libraries.stx.libjava}">
        <include name="**/*.jar"/>
    </fileset>
    <fileset dir="${libraries.stx.libjava.libs}">
        <include name="**/*.jar"/>
    </fileset>
</path>

  <target name="build">
	<ant antfile="build.xml" target="build" inheritRefs="false" dir="java">
	  <reference refid="libjava-tests.classpath" torefid="libjava-tests.classpath"/>
	</ant>

	<ant antfile="build.xml" target="build" inheritRefs="false" dir="mauve/java">

	</ant>
  </target>

  <target name="clean">
	<ant antfile="build.xml" target="clean" inheritRefs="false" dir="java">
          <reference refid="libjava-tests.classpath" torefid="libjava-tests.classpath"/>
        </ant>

        <ant antfile="build.xml" target="clean" inheritRefs="false" dir="mauve/java">

        </ant>

  </target>



</project>