Author: spepping
Date: Thu Apr 24 11:19:06 2008
New Revision: 651333

URL: http://svn.apache.org/viewvc?rev=651333&view=rev
Log:
Make the eventResourceGenerator task for the test files a separate
task. Now one can do: ant codegen, compile outside of ant, ant
compile-copy-resources, ant junit-compile-copy-resources.

Modified:
    xmlgraphics/fop/trunk/build.xml

Modified: xmlgraphics/fop/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/build.xml?rev=651333&r1=651332&r2=651333&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/build.xml (original)
+++ xmlgraphics/fop/trunk/build.xml Thu Apr 24 11:19:06 2008
@@ -790,7 +790,8 @@
       <exclude name="**/intermediate/*"/>
     </patternset>
   </target>
-  <target name="junit-compile" depends="package, transcoder-pkg, 
junit-with-xmlunit, junit-without-xmlunit" description="Runs FOP's JUnit tests" 
if="junit.present">
+
+  <target name="junit-compile-java" depends="package, transcoder-pkg, 
junit-with-xmlunit, junit-without-xmlunit" if="junit.present">
     <mkdir dir="${build.dir}/test-classes"/>
     <mkdir dir="${build.dir}/test-gensrc"/>
     <mkdir dir="${junit.reports.dir}"/>
@@ -807,6 +808,9 @@
         </fileset>
       </classpath>
     </javac>
+  </target>
+
+  <target name="junit-compile-copy-resources" if="junit.present">
     <eventResourceGenerator 
modelfile="${build.dir}/test-gensrc/org/apache/fop/events/test-event-model.xml">
       <fileset dir="${basedir}/test/java">
         <include name="**/*.java"/>
@@ -822,6 +826,8 @@
       </fileset>
     </copy>
   </target>
+
+  <target name="junit-compile" depends="junit-compile-java, 
junit-compile-copy-resources" description="Compiles FOP's JUnit tests" 
if="junit.present"/>
 
   <target name="junit-transcoder" depends="junit-compile" description="Runs 
FOP's JUnit transcoder tests" if="junit.present">
     <echo message="Running basic functionality tests for fop-transcoder.jar"/>



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

Reply via email to