Targets at test/build.xml should not be overriden (it breaks binary tests distribution). Rather use build-unit.xml for customization. BETA_UC_090605
authorjskrivanek@netbeans.org
Wed, 15 Jun 2005 12:51:22 +0000
changeset 338b37e16addb4
parent 32 e1e875e8eb8f
child 34 6dbebd06ab54
Targets at test/build.xml should not be overriden (it breaks binary tests distribution). Rather use build-unit.xml for customization.
openide.util/test/build-unit.xml
openide.util/test/build.xml
     1.1 --- a/openide.util/test/build-unit.xml	Tue Jun 14 15:18:54 2005 +0000
     1.2 +++ b/openide.util/test/build-unit.xml	Wed Jun 15 12:51:22 2005 +0000
     1.3 @@ -9,10 +9,19 @@
     1.4  http://www.sun.com/
     1.5  
     1.6  The Original Code is NetBeans. The Initial Developer of the Original
     1.7 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
     1.8 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
     1.9  Microsystems, Inc. All Rights Reserved.
    1.10  -->
    1.11  
    1.12  <project name="openide/util/test-unit" basedir="." default="all">
    1.13      <import file="../../../nbbuild/templates/xtest-unit.xml"/>
    1.14 +    
    1.15 +    <!-- ========= -->
    1.16 +    <!-- Compilers -->
    1.17 +    <!-- ========= -->
    1.18 +    
    1.19 +    <target name="default-compiler" depends="xtest-unit.default-compiler">
    1.20 +        <ant dir="unit/src/org/openide/util/data"/>
    1.21 +    </target>
    1.22 +
    1.23  </project>
     2.1 --- a/openide.util/test/build.xml	Tue Jun 14 15:18:54 2005 +0000
     2.2 +++ b/openide.util/test/build.xml	Wed Jun 15 12:51:22 2005 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  http://www.sun.com/
     2.5  
     2.6  The Original Code is NetBeans. The Initial Developer of the Original
     2.7 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
     2.8 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
     2.9  Microsystems, Inc. All Rights Reserved.
    2.10  -->
    2.11  <project name="openide/util/test" basedir="." default="all" >
    2.12 @@ -21,14 +21,8 @@
    2.13      <!-- default testtypes, attributes used when no value is supplied from command line -->
    2.14      <property name="xtest.testtype" value="unit"/>
    2.15      <property name="xtest.attribs" value="stable"/>
    2.16 -    
    2.17 -    <target name="build-data" >
    2.18 -        <ant dir="unit/src/org/openide/util/data"/>
    2.19 -    </target>
    2.20 -    
    2.21 -    <target name="buildtests" depends="build-data,xtest.buildtests" >
    2.22 -    </target>
    2.23 -    
    2.24 +
    2.25 +    <!-- Should not be here - some day change to not build to src. -->
    2.26      <target name="cleantests" depends="xtest.cleantests" >
    2.27          <ant dir="unit/src/org/openide/util/data" target="clean"/>
    2.28      </target>