Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-406

jboss-html5-mobile-archetype should use a different persistence.xml for tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • archetypes
    • None

    Description

      jboss-html5-mobile-archetype generates a project with a persistence.xml file under src/test/resources/META-INF. Since eclipse doesn't disambiguates test and main classpaths, this leads to some issues in hibernate tools (JBDS-2452)

      The generated project should use a test-persistence.xml, consistent with the kitchensink and javaee archetypes, something used in the tests as

      .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml")
      

      Attachments

        Issue Links

          Activity

            People

              rafabene_jira Rafael Benevides (Inactive)
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: