OpenJPA enhancer in ant script ------------------------------ Key: OPENJPA-889 URL: https://issues.apache.org/jira/browse/OPENJPA-889 Project: OpenJPA Issue Type: Question Components: kernel Affects Versions: 1.3.0 Environment: Ubuntu 8.04, Java 6, Ant 1.7.0, Netbeans 6.5, OpenJPA 1.2.0/1.3.0-SNAPSHOT Reporter: Mejov Andrey Hi I use OpenJPA enhancer in ant script (for-jpa.xml), according manual: but get error: /home/andrew/work/sg-util-project/ebd-entity/for-jpa.xml:16: org.apache.openjpa.util.MetaDataException: MetaDataFactory could not be configured (conf.newMetaDataFactoryInstance() returned null). This might mean that no configuration properties were found. Ensure that you have a META-INF/persistence.xml file, that it is available in your classpath, or that the properties file you are using for configuration is available. If you are using Ant, please see the or attributes of the task's nested element. This can also occur if your OpenJPA distribution jars are corrupt, or if your security policy is overly strict if uncomment , i get exception: java.util.MissingResourceException: /home/andrew/work/sg-util-project/ebd-entity/src/META-INF/persistence.xml#null Also i used "META-INF/persistence.xml" and "persistence.xml" and tried to add "build/classes" to classpath Folder structure: build /classes /META-INF / build.xml dist for-jpa.xml nbproject src /META-INF / test It's a bug or i wrong understood documentation? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.