Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <target name="enhance">
- <path id="enhanceclasspath">
- <pathelement location="build"/>
- <fileset dir="${openjpa.home}">
- <include name="**/*.jar"/>
- </fileset>
- </path>
- <!-- define the openjpac task-->
- <taskdef name="openjpac" classname="org.apache.openjpa.ant.PCEnhancerTask">
- <classpath refid="enhanceclasspath"/>
- </taskdef>
- <!-- invoke enhancer the enhancer -->
- <openjpac>
- <classpath refid="enhanceclasspath"/>
- </openjpac>
- <echo message="Enhancing complete."/>
- </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement