[jbosstools-issues] [JBoss JIRA] (JBIDE-9823) Properties are displayed twice for Archetype-based project examples
Fred Bricon (Resolved) (JIRA)
jira-events at lists.jboss.org
Wed Oct 5 07:47:16 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Bricon resolved JBIDE-9823.
--------------------------------
Resolution: Done
Fixed in trunk.
Set archetypeChanged=true AND loaded extra required properties from the archetype descriptor, as a safe-guard (similarly to loadArchetypeDescriptor()).
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list