Revision: 4042
Author:   seba.wagner
Date:     Sat Aug 13 06:29:45 2011
Log:      [No log message]
http://code.google.com/p/openmeetings/source/detail?r=4042

Modified:
 /branches/dev/injection/build_openmeetings_jar.xml

=======================================
--- /branches/dev/injection/build_openmeetings_jar.xml Sat Aug 13 01:46:31 2011 +++ /branches/dev/injection/build_openmeetings_jar.xml Sat Aug 13 06:29:45 2011
@@ -313,11 +313,11 @@


     <path id="jpa.enhancement.classpath">
-        <pathelement path="${classes.dir}"/>
+        <pathelement location="${classes.dir}"/>
<!-- lib contains all of the jars that came with the OpenJPA binary download -->
         <fileset dir="${openjpa.lib}" includes="*.jar" />
     </path>
-
+
     <!-- define the openjpac task -->
<taskdef name="openjpac" classname="org.apache.openjpa.ant.PCEnhancerTask">
         <classpath refid="jpa.enhancement.classpath"/>
@@ -326,8 +326,17 @@
     <target name="enhance" depends="compile">
         <!-- invoke the enhancer -->
         <openjpac>
+               <config propertiesFile="src/META-INF/persistence.xml"/>
+               <classpath refid="jpa.enhancement.classpath"/>
+               <fileset dir=".">
+                <include name="**/persistence/*.java" />
+           </fileset>
+
+               <!--
             <classpath refid="jpa.enhancement.classpath"/>
             <config propertiesFile="src/META-INF/persistence.xml"/>
+               <includesfile />
+                -->
         </openjpac>
         <echo message="Enhancing complete."/>
     </target>

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to