Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9823

Properties are displayed twice for Archetype-based project examples

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.3.0.M4
    • 3.3.0.M3
    • maven, project-examples
    • None

      When creating a project from the jboss-javaee6-webapp6 project example (Maven Archetype) the name property is displayed twice in the properties table.
      It's set the first time when calling setArchetype(archetype) in ArchetypeExamplesWizardPage.createControl(), then a second time, when loadArchetypeDescriptor() is called by MavenProjectWizardArchetypeParametersPage.setVisible()

      Setting archetypeChanged = false; in ArchetypeExamplesWizardPage.createControl() seemingly fixes the issue, but I'm concerned as loadArchetypeDescriptor() doesn't get called that way. Will try overriding setArchetype() instead.

            fbricon@redhat.com Fred Bricon
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: