openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Rak <>
Subject Re: [Newbie] OPenJPA (1.2.1) Enhancement woes
Date Thu, 18 Jun 2009 15:42:55 GMT
I've attached my build.xml file that I use for Netbeans and have had  
no issues with it.  It assumes that your Netbeans library is called  
openjpa for loading the enhancer.

Here is my build.xml (the important part is within the <target></ 
target> tags):

<?xml version="1.0" encoding="UTF-8"?>
<project name="one-entities" default="default" basedir="."  

     <description>Builds, tests, and runs the project one-entities.</ 
     <import file="nbproject/build-impl.xml"/>

     <target name="-post-compile">
       <taskdef name="openjpac"  

       <openjpac enforcePropertyRestrictions="true"  
			<pathelement path="${libs.openjpa.classpath}"/>
			<pathelement path="${basedir}/build/jar"/>
			<pathelement path="${basedir}/src/java"/>
         <fileset dir="build/jar">
           <include name="**/*.class"/>

		<config propertiesFile="src/conf/persistence.xml"/>

If you have any questions, I'll help out as much as I can (sorry it  
took so long to respond to this thread).


Richard Rak

On 18-Jun-09, at 11:34 AM, Rick Curtis wrote:

> I don't think many (if any) people around here have NetBeans  
> experience... so
> it sounds like you're blazing a trail. I spent an hour this morning  
> trying
> NB out, and I can't get things working... please let us know if/when  
> you
> figure out what's going on.
> Is there a particular reason that you're running on NB? Most of us  
> around
> here run Eclipse(I assume).
> -Rick
> -- 
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

View raw message