You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2007/01/11 21:13:15 UTC

svn commit: r495358 - /incubator/ode/trunk/dao-jpa-ojpa/pom.xml

Author: mriou
Date: Thu Jan 11 12:13:14 2007
New Revision: 495358

URL: http://svn.apache.org/viewvc?view=rev&rev=495358
Log:
Hacking an annoyance with classes not being updated by enhancer even if they've been updated.

Modified:
    incubator/ode/trunk/dao-jpa-ojpa/pom.xml

Modified: incubator/ode/trunk/dao-jpa-ojpa/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/dao-jpa-ojpa/pom.xml?view=diff&rev=495358&r1=495357&r2=495358
==============================================================================
--- incubator/ode/trunk/dao-jpa-ojpa/pom.xml (original)
+++ incubator/ode/trunk/dao-jpa-ojpa/pom.xml Thu Jan 11 12:13:14 2007
@@ -79,6 +79,8 @@
                         <id>OpenJPA Enhancer</id>
                         <configuration>
                             <tasks>
+                                <!-- Forcing regenration, the enhance isn't good at picking class modif from a jar -->
+                                <delete><fileset dir="${basedir}/target/classes" includes="**/*DAOImpl.class"/></delete>
                                 <java classname="org.apache.openjpa.enhance.PCEnhancer">
                                     <arg line="-p ${basedir}/src/main/resources/META-INF/persistence.xml"/>
                                     <arg line="-d ${basedir}/target/classes"/>