openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r1056354 - /openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml
Date Fri, 07 Jan 2011 15:29:31 GMT
Author: mikedd
Date: Fri Jan  7 15:29:31 2011
New Revision: 1056354

URL: http://svn.apache.org/viewvc?rev=1056354&view=rev
Log:
OPENJPA-1909: Enhancing proxy entities separately with the appropriate configuration. 
Submitted By: Mark Struberg

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml?rev=1056354&r1=1056353&r2=1056354&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/main/ant/enhancer.xml Fri Jan  7 15:29:31 2011
@@ -76,6 +76,7 @@
             <include name="**/*.class" />
             <exclude name="**/inheritance/serializable/*.class" />
             <exclude name="**/detach/serializable/*.class" />
+            <exclude name="**/proxy/entities/*.class" />
             <exclude name="**/xml/*.class" />
             <exclude name="**/Unenhanced*.class" />
             <exclude name="**/AbstractUnenhanced*.class" />
@@ -110,6 +111,15 @@
             </fileset>
             <config log="${openjpa.Log}" />
         </openjpac>
+        <!-- Enhance with DetachState fetch-groups option -->
+        <openjpac>
+            <config propertiesFile="${project.build.testOutputDirectory}/org/apache/openjpa/persistence/proxy/persistence1.xml"
/>
+            <classpath refid="cp" />
+            <fileset dir="${project.build.testOutputDirectory}">
+                <include name="**/proxy/entities/*.class"/>
+            </fileset>
+            <config log="${openjpa.Log}" />
+        </openjpac>
 		<!-- Enhance delimited identifiers XML-based entities separately -->
         <openjpac>
             <config propertiesFile="${project.build.testOutputDirectory}/META-INF/delim_persistence.xml"
/>



Mime
View raw message