db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r609037 - /db/jdo/trunk/tck2-legacy/maven.xml
Date Fri, 04 Jan 2008 22:38:54 GMT
Author: mcaisse
Date: Fri Jan  4 14:38:53 2008
New Revision: 609037

URL: http://svn.apache.org/viewvc?rev=609037&view=rev
Log:
Merge tck2 enhancements: add cleanClasses goal, fix for copying rather than recompiling pa
and pc classes.

Modified:
    db/jdo/trunk/tck2-legacy/maven.xml

Modified: db/jdo/trunk/tck2-legacy/maven.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2-legacy/maven.xml?rev=609037&r1=609036&r2=609037&view=diff
==============================================================================
--- db/jdo/trunk/tck2-legacy/maven.xml (original)
+++ db/jdo/trunk/tck2-legacy/maven.xml Fri Jan  4 14:38:53 2008
@@ -93,6 +93,13 @@
         <attainGoal name="build"/>
     </goal>
 
+    <goal name="cleanClasses">
+        <delete>
+            <fileset dir="${basedir}/target/classes" includes="**/*"/>
+            <fileset dir="${basedir}/target/enhanced" includes="**/*"/>
+        </delete>
+    </goal>
+    
     <goal name="clobber" prereqs="clean">
         <delete>
             <fileset dir="." defaultexcludes="no" includes="**/*~"/>
@@ -530,13 +537,12 @@
             <fileset dir="${basedir}/src/jdo/${jdo.tck.identitytype}"
                      includes="**/*.jdo, **/*.jdoquery, **/jdoTest.properties"/>
         </copy>
-        <!-- compile pc and pa classes -->
-        <javac srcdir="${basedir}/src/java"
-           includes="${jdo.tck.pcclasses.sources} ${jdo.tck.paclasses.sources}"
-           destdir="${enhanced.dir}"
-           debug="on"
-           classpathref="jdo.tck.enhancer.classpath">
-        </javac>
+        <!-- copy pc and pa classes -->
+        <copy todir="${enhanced.dir}">
+            <fileset dir="${basedir}/target/classes"
+                includes="${jdo.tck.pcclasses.files}
+                        ${jdo.tck.paclasses.files}" />
+        </copy>
     </goal>
 
     <goal name="doEnhance.iut">



Mime
View raw message