donaldp     02/03/22 19:07:37

  Modified:    proposal/myrmidon build.xml
  Log:
  Add junit from main ant tree into classpath.
  
  Compile tests in same target as compile rest of code.
  
  Revision  Changes    Path
  1.88      +11 -0     jakarta-ant/proposal/myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/build.xml,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- build.xml 23 Mar 2002 02:48:39 -0000      1.87
  +++ build.xml 23 Mar 2002 03:07:37 -0000      1.88
  @@ -71,6 +71,7 @@
   
       <path id="project.class.path">
           <pathelement path="${java.class.path}" />
  +        <pathelement location="../../lib/optional/junit.jar" />
           <fileset dir="${lib.dir}">
               <include name="*.jar" />
           </fileset>
  @@ -239,6 +240,16 @@
               <patternset refid="selftest.include"/>
               <patternset refid="selftest-extension1.include"/>
               <include name="org/apache/antlib/**"/>
  +        </javac>
  +
  +        <mkdir dir="${test.classes}"/>
  +        <javac srcdir="src/test"
  +            destdir="${test.classes}"
  +            debug="${debug}"
  +            deprecation="${deprecation}">
  +            <classpath refid="project.class.path"/>
  +            <exclude name="**/SmbFileSystemTestCase.java" 
unless="jcifs.present"/>
  +            <exclude name="**/FtpFileSystemTestCase.java" 
unless="netcomp.present"/>
           </javac>
   
           <copy todir="${build.classes}">
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to