cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: cocoon-2.1/src/targets compile-build.xml
Date Wed, 06 Aug 2003 08:37:17 GMT
stephan     2003/08/06 01:37:16

  Modified:    src/targets compile-build.xml
  Log:
  cocoon-testcase.jar should only contain reusable classes.
  
  Revision  Changes    Path
  1.13      +16 -5     cocoon-2.1/src/targets/compile-build.xml
  
  Index: compile-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/targets/compile-build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- compile-build.xml	24 Jun 2003 12:02:41 -0000	1.12
  +++ compile-build.xml	6 Aug 2003 08:37:16 -0000	1.13
  @@ -120,16 +120,12 @@
              target="${target.vm}"
              compiler="${compiler}"
              classpathref="test.classpath"/>
  -
  -    <jar jarfile="${build}/${name}-tests.jar">
  -      <fileset dir="${build.test}" includes="**/*.class"/>
  -    </jar>
     </target>
   
   <!-- === Package Targets ======================================================= -->
   
     <!-- packages everything -->
  -  <target name="package" depends="package-core, package-scratchpad, package-deprecated"/>
  +  <target name="package" depends="package-core, package-scratchpad, package-deprecated,
package-testcase"/>
   
     <!-- package the core -->
     <target name="package-core" depends="compile-core, block-roles">
  @@ -151,6 +147,21 @@
     <target name="package-deprecated" depends="compile-deprecated" unless="unless.exclude.deprecated">
       <jar jarfile="${build}/${name}-deprecated.jar">
         <fileset dir="${build.deprecated}"/>
  +    </jar>
  +  </target>
  +
  +  <!-- package testcase code -->
  +  <target name="package-testcase" depends="compile-tests">
  +    <jar jarfile="${build}/${name}-testcase.jar">
  +      <fileset dir="${build.test}">
  +        <include name="org/apache/cocoon/environment/mock/*"/>
  +        <include name="org/apache/cocoon/components/source/SourceResolverAdapter*"/>
  +        <include name="org/apache/cocoon/AbstractCompositeTestCase*"/>
  +        <include name="org/apache/cocoon/acting/AbstractActionTestCase*"/>
  +        <include name="org/apache/cocoon/generation/AbstractGeneratorTestCase*"/>
  +        <include name="org/apache/cocoon/transformation/AbstractTransformerTestCase*"/>
  +        <include name="org/apache/cocoon/xml/WhitespaceFilter*"/>
  +      </fileset>
       </jar>
     </target>
   
  
  
  

Mime
View raw message