Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <target name="enhance">
  2.  
  3. <path id="enhanceclasspath">
  4. <pathelement location="build"/>
  5. <fileset dir="${openjpa.home}">
  6. <include name="**/*.jar"/>
  7. </fileset>
  8. </path>
  9.  
  10. <!-- define the openjpac task-->
  11. <taskdef name="openjpac" classname="org.apache.openjpa.ant.PCEnhancerTask">
  12. <classpath refid="enhanceclasspath"/>
  13. </taskdef>
  14.  
  15. <!-- invoke enhancer the enhancer -->
  16. <openjpac>
  17. <classpath refid="enhanceclasspath"/>
  18. </openjpac>
  19. <echo message="Enhancing complete."/>
  20. </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement