From dev-return-20823-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Wed Aug 1 21:44:03 2012 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B88BDCEE for ; Wed, 1 Aug 2012 21:44:03 +0000 (UTC) Received: (qmail 25673 invoked by uid 500); 1 Aug 2012 21:44:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 25511 invoked by uid 500); 1 Aug 2012 21:44:03 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 25495 invoked by uid 99); 1 Aug 2012 21:44:03 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 21:44:03 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E0786142860 for ; Wed, 1 Aug 2012 21:44:02 +0000 (UTC) Date: Wed, 1 Aug 2012 21:44:02 +0000 (UTC) From: "Helen Xu (JIRA)" To: dev@openjpa.apache.org Message-ID: <636714264.2402.1343857442921.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (OPENJPA-2244) Nested classpath ignored in mapping tool ant task MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Helen Xu created OPENJPA-2244: --------------------------------- Summary: Nested classpath ignored in mapping tool ant task Key: OPENJPA-2244 URL: https://issues.apache.org/jira/browse/OPENJPA-2244 Project: OpenJPA Issue Type: Bug Affects Versions: 2.2.0, 2.1.1, 2.0.1 Reporter: Helen Xu Assignee: Helen Xu The nested classpath element inside the mappingtool ant task are ignored when loading the persistent configuration file. User got the following error: 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira