[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9823) Properties are displayed twice for Archetype-based project examples

Fred Bricon (JIRA) jira-events at lists.jboss.org
Mon Oct 3 13:36:26 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-9823:
-------------------------------

    Description: 
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.   

  was:
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, by  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.   



> Properties are displayed twice for Archetype-based project examples
> -------------------------------------------------------------------
>
>                 Key: JBIDE-9823
>                 URL: https://issues.jboss.org/browse/JBIDE-9823
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven, project-examples
>    Affects Versions: 3.3.0.M3
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>            Priority: Minor
>             Fix For: 3.3.0.M4
>
>
> 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.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list