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/ome-io/build.xml

    r6026 r6686  
    1313  <property file="build.properties"/> 
    1414 
    15   <target name="test" depends="jar,test-no-omeio" description="run tests" if="doTests"> 
     15  <target name="test" depends="jar, test-no-omeio" description="run tests"> 
     16    <!-- NOTE: Overrides default "test" target from java.xml --> 
    1617    <copy tofile="${build.dir}/testng.xml" overwrite="true" 
    1718      file="${tests.dir}/loci/ome/utests/testng.xml"/> 
    18     <testng 
    19       classpath="${test-classes.dir}:${classes.dir}:${component.classpath}"> 
     19    <testng> 
     20      <classpath> 
     21        <pathelement location="${test-classes.dir}"/> 
     22        <pathelement location="${classes.dir}"/> 
     23        <pathelement path="${component.classpath}"/> 
     24      </classpath> 
    2025      <xmlfileset file="${build.dir}/testng.xml"/> 
    2126      <jvmarg value="-mx${testng.memory}"/> 
     
    2631    <copy tofile="${build.dir}/testng.xml" overwrite="true" 
    2732      file="${tests.dir}/loci/ome/utests/testng-no-ome-io.xml"/> 
    28     <testng classpath="${test-classes.dir}:${component.classpath}"> 
     33    <testng> 
     34      <classpath> 
     35        <pathelement location="${test-classes.dir}"/> 
     36        <pathelement path="${component.classpath}"/> 
     37      </classpath> 
    2938      <xmlfileset file="${build.dir}/testng.xml"/> 
    3039      <jvmarg value="-mx${testng.memory}"/> 
Note: See TracChangeset for help on using the changeset viewer.