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/15 19:56:41 UTC
svn commit: r496438 - /incubator/ode/trunk/dao-jpa-ojpa/pom.xml
Author: mriou
Date: Mon Jan 15 10:56:41 2007
New Revision: 496438
URL: http://svn.apache.org/viewvc?view=rev&rev=496438
Log:
Forcing the recreation of enhanced classes, otherwise you get into annoyances of having to clean all the time.
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=496438&r1=496437&r2=496438
==============================================================================
--- incubator/ode/trunk/dao-jpa-ojpa/pom.xml (original)
+++ incubator/ode/trunk/dao-jpa-ojpa/pom.xml Mon Jan 15 10:56:41 2007
@@ -74,8 +74,6 @@
<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"/>
@@ -83,6 +81,18 @@
<path refid="maven.dependency.classpath"/>
</classpath>
</java>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <phase>validate</phase>
+ <id>Cleanup</id>
+ <configuration>
+ <tasks>
+ <delete><fileset dir="${basedir}" includes="target/classes/**/*.class"/></delete>
</tasks>
</configuration>
<goals>