moving test dependencies to project.xml BLD200608291800
authorpzajac@netbeans.org
Mon, 28 Aug 2006 17:39:30 +0000
changeset 7439ecf9040e3c1d
parent 7438 3158b7117b72
child 7440 d5295e3e4961
moving test dependencies to project.xml
mdr/nbproject/project.xml
mdr/test/build-unit.xml
     1.1 --- a/mdr/nbproject/project.xml	Mon Aug 28 13:22:24 2006 +0000
     1.2 +++ b/mdr/nbproject/project.xml	Mon Aug 28 17:39:30 2006 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  <project xmlns="http://www.netbeans.org/ns/project/1">
     1.5      <type>org.netbeans.modules.apisupport.project</type>
     1.6      <configuration>
     1.7 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
     1.8 +        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
     1.9              <code-name-base>org.netbeans.modules.mdr</code-name-base>
    1.10              <module-dependencies>
    1.11                  <dependency>
    1.12 @@ -108,6 +108,19 @@
    1.13                      <run-dependency/>
    1.14                  </dependency>
    1.15              </module-dependencies>
    1.16 +          <test-dependencies>
    1.17 +              <test-type>
    1.18 +                  <name>unit</name>
    1.19 +                  <test-dependency>
    1.20 +                      <code-name-base>org.netbeans.modules.mdr</code-name-base>
    1.21 +                      <recursive/>
    1.22 +                      <compile-dependency/>
    1.23 +                  </test-dependency>
    1.24 +              </test-type>
    1.25 +              <test-type>
    1.26 +                  <name>qa-functional</name>
    1.27 +              </test-type>
    1.28 +            </test-dependencies>
    1.29              <public-packages/>
    1.30              <class-path-extension>
    1.31                  <runtime-relative-path>ext/mdr.jar</runtime-relative-path>
     2.1 --- a/mdr/test/build-unit.xml	Mon Aug 28 13:22:24 2006 +0000
     2.2 +++ b/mdr/test/build-unit.xml	Mon Aug 28 17:39:30 2006 +0000
     2.3 @@ -22,19 +22,4 @@
     2.4  
     2.5      <import file="../../../nbbuild/templates/xtest-unit.xml"/>
     2.6  
     2.7 -    <path id="compiletest.classpath">
     2.8 -        <pathelement location="../../dist/mdr.jar"/>
     2.9 -        <pathelement location="../../external/mof.jar"/>
    2.10 -        <pathelement location="../../external/jmi.jar"/>
    2.11 -        <pathelement location="../../jmiutils/dist/jmiutils.jar"/>
    2.12 -        <pathelement location="../../mdrapi/build/classes"/>
    2.13 -        <pathelement location="${openide.dir}/core/openide.jar"/>
    2.14 -    </path>
    2.15 -
    2.16 -    <target name="unit-compiler">
    2.17 -        <buildTests srcDir="unit/src" compileexcludes="**/data/**">
    2.18 -            <classpath refid="compiletest.classpath"/>
    2.19 -        </buildTests>
    2.20 -    </target>
    2.21 -
    2.22  </project>