openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r1057394 - /openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml
Date Mon, 10 Jan 2011 22:13:09 GMT
Author: mikedd
Date: Mon Jan 10 22:13:09 2011
New Revision: 1057394

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

Modified:
    openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml

Modified: openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml?rev=1057394&r1=1057393&r2=1057394&view=diff
==============================================================================
--- openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml (original)
+++ openjpa/branches/2.1.x/openjpa-persistence-jdbc/src/main/ant/enhancer.xml Mon Jan 10 22:13:09
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