You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by do...@apache.org on 2001/02/22 09:22:24 UTC

cvs commit: jakarta-avalon-cornerstone build.xml

donaldp     01/02/22 00:22:24

  Modified:    .        build.xml
  Log:
  integrated testing into main build file (though it notwork for some reason - think bug in ant task - will fix soon)
  
  Revision  Changes    Path
  1.2       +20 -1     jakarta-avalon-cornerstone/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2001/02/22 07:57:05	1.1
  +++ build.xml	2001/02/22 08:22:23	1.2
  @@ -202,7 +202,26 @@
          ===================================================================
     -->
     <target name="test" depends="jars">
  -    <ant antfile="src/make/build-test.xml" target="test" />
  +
  +<!--
  +    <path id="test.class.path">
  +      <pathelement path="${java.class.path}" />
  +      <pathelement path="${build.classes}" />
  +    </path>
  +
  +    <property name="test.class.path" refid="test.class.path" />
  +    <echo message="TCP: ${test.class.path}" />
  +-->
  +
  +    <test showSuccess="false" showBanner="false" showTrace="true" forceShowTrace="true" > 
  +      <classpath>
  +        <pathelement path="${build.classes}" /> 
  +        <pathelement path="${java.class.path}" />
  +      </classpath>
  +
  +      <testlet>org.apache.cornerstone.services.scheduler.test.CronTimeTriggerTestlet</testlet>
  +    </test> 
  +
     </target>
   
     <target name="install" depends="jars,install-check" if="install.dir">