Ignore:
Timestamp:
07/09/10 14:22:11 (9 years ago)
Author:
curtis
Message:

Fix up test targets in Ant build scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/common/build.xml

    r6093 r6686  
    1313  <property file="build.properties"/> 
    1414 
    15   <target name="test" depends="jar, compile-tests" 
    16     description="run tests" if="doTests"> 
     15  <target name="test" depends="jar, compile-tests" description="run tests"> 
    1716    <!-- NOTE: Overrides default "test" target from java.xml --> 
    1817    <copy tofile="${build.dir}/testng.xml" 
    1918      file="${testng.xml.template}" overwrite="true"> 
    2019      <filterset> 
    21         <filter token="PARALLEL" value=""/>  <!-- Disable parallelization --> 
     20        <filter token="PARALLEL" value=""/> <!-- Disable parallelization --> 
    2221      </filterset> 
    2322    </copy> 
    24     <testng 
    25         classpath="${test-classes.dir}:${classes.dir}:${component.runtime-cp}"> 
     23    <testng> 
     24      <classpath> 
     25        <pathelement location="${test-classes.dir}"/> 
     26        <pathelement location="${classes.dir}"/> 
     27        <pathelement path="${component.runtime-cp}"/> 
     28      </classpath> 
    2629      <xmlfileset file="${build.dir}/testng.xml"/> 
    2730      <jvmarg value="-mx${testng.memory}"/> 
     
    3740      </filterset> 
    3841    </copy> 
    39     <testng 
    40         classpath="${test-classes.dir}:${classes.dir}:${component.runtime-cp}"> 
     42    <testng> 
     43      <classpath> 
     44        <pathelement location="${test-classes.dir}"/> 
     45        <pathelement location="${classes.dir}"/> 
     46        <pathelement path="${component.runtime-cp}"/> 
     47      </classpath> 
    4148      <xmlfileset file="${build.dir}/testng.xml"/> 
    4249      <jvmarg value="-mx${testng.memory}"/> 
Note: See TracChangeset for help on using the changeset viewer.