[jbosstools-issues] [JBoss JIRA] (JBIDE-18686) persistence.xml has an unexpected error marker when created with Forge (CLI)

Xavier Coulon (JIRA) issues at jboss.org
Wed Oct 22 07:27:35 EDT 2014


Xavier Coulon created JBIDE-18686:
-------------------------------------

             Summary: persistence.xml has an unexpected error marker when created with Forge (CLI)
                 Key: JBIDE-18686
                 URL: https://issues.jboss.org/browse/JBIDE-18686
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: forge, hibernate
    Affects Versions: 4.2.0.Final
            Reporter: Xavier Coulon


When using Forge 2.12.1.Final from CLI in JBDS 8.0.0.Final, when setting up JPA using the following command:{{jpa-setup --dbType MYSQL}},
the {{persistence.xml}} file is created but Eclipse (Dali) reports a problem because 
{quote}
No persistence unit defined in META-INF/persistence.xm
{quote}

In fact, there is no such error. Trigger a new validation on the file fixes the problem.

Note: this problem does not occur with Forge wizards, as [~koen.aers] reported. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list