I'm trying to run the PCEnhancer ant task via the ant runner in Maven 2.

If I add a config element to the <openjpac> task to point to the 
properties, it just appends it after target/classes, so that ends up 
becoming an invalid path.

The ${basedir} is set correctly inside the build.xml, and it is not set to 
the target/classes directory.  Yet for some reason, the ant task insists 
upon looking underneath target/classes for everything.

Any ideas what could be wrong?  Here's how I've configured <openjpac>:

          <openjpac>
            <classpath>
                <pathelement path="${compile_classpath}"/>
            </classpath>
                <config 
properties="${project_directory}/src/main/resources/META-INF/persistence.xml" />
            <fileset dir="${target_directory}"> 
              <include name="**/model/*.class" />
            </fileset>
          </openjpac>


   Nick

-- 
"Courage isn't just a matter of not being frightened, you know. It's being
 afraid and doing what you have to do anyway."
   Doctor Who - Planet of the Daleks
This message has been brought to you by Nick Johnson 2.3b1 and the number 6.
http://healerNick.com/       http://morons.org/        http://spatula.net/

Reply via email to