mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
17.03.2006 a3c19f43bedf3a5f6af3d1841399ebf073588678
Update the build script to ensure that the class files and the JAR file created
by build-tools get created under the build directory so they do not get
accidentally checked into the repository and get properly cleaned up by the
"clean" target.

The build-tools.jar file should now be built every time it is needed, so the
static copy has been removed from the ext directory.
1 files deleted
1 files modified
12 ■■■■ changed files
opends/build.xml 12 ●●●● patch | view | raw | blame | history
opends/ext/build-tools.jar patch | view | raw | blame | history
opends/build.xml
@@ -49,7 +49,7 @@
  <!-- Properties for build tools                                   -->  
  <property name="buildtools.dir" location="build-tools"              />
  <property name="buildtools.src.dir" location="${buildtools.dir}/src" />
  <property name="buildtools.classes.dir" location="${buildtools.dir}/classes" />
  <property name="buildtools.classes.dir" location="${build.dir}/build-tools/classes" />
  <!-- Properties for use in unit testing.                           -->
  <property name="unittest.testng.dir" location="tests/unit-tests-testng"/>
@@ -307,7 +307,7 @@
            <compilerarg value="-Xlint:all" />
            <classpath>
                <fileset dir="${ext.dir}">
                <fileset dir="${build.dir}/build-tools">
                    <include name="build-tools.jar" />
                </fileset>
                <pathelement path="${classes.dir}"/>
@@ -378,7 +378,7 @@
        memoryMaximumSize="${MEM}">
        <compilerarg value="-Xlint:all" />
        <classpath>
            <fileset dir="${ext.dir}">
            <fileset dir="${build.dir}/build-tools">
                <include name="build-tools.jar" />
            </fileset>
            <fileset dir="${pdir}/lib">
@@ -628,7 +628,7 @@
  <!-- Prepare to execute the Directory Server TestNG unit tests. -->
  <target name="testinit" depends="compile"
  <target name="testinit" depends="buildtools,compile"
         description="Prepare to execute the Directory Server TestNG unit tests.">
    <!-- If we are to perform coverage tests, then set that up. -->
@@ -668,7 +668,7 @@
    <!-- Prep the TestNG XML file -->
    <mkdir dir="${unittest.resource.dir}" />
    <typedef name="preptestng" classname="org.opends.build.tools.PrepTestNG"
        classpath="${ext.dir}/build-tools.jar" />
        classpath="${build.dir}/build-tools/build-tools.jar" />
    <preptestng file="${testng.dir}/testng.xml"
@@ -857,7 +857,7 @@
      </classpath>
    </javac>
    <jar jarfile="${ext.dir}/build-tools.jar"
    <jar jarfile="${build.dir}/build-tools/build-tools.jar"
         basedir="${buildtools.classes.dir}" compress="true" index="true" />
  </target>
        
opends/ext/build-tools.jar
Binary files differ