[jbosstools-issues] [JBoss JIRA] (JBDS-2198) Projects created via JBoss Central page are not added to working sets
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Thu Jun 7 09:02:18 EDT 2012
[ https://issues.jboss.org/browse/JBDS-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699769#comment-12699769 ]
Snjezana Peco commented on JBDS-2198:
-------------------------------------
{quote}
Why does our code need to use reflection to get working sets info ?
{quote}
Because working sets info is defined in a m2e class (MavenProjectWizardLocationPage).
We already use reflection in the ArchetypeExamplesWizardFirstPage class to set the project's location. See JBIDE-10009, JBIDE-11721
I have created a bug against m2e related to JBIDE-11721 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=378153, but there is no any feedback yet.
Other possible solutions would be the following:
- ask the m2e team to provide API for the archetype wizard
- create archetype page(s) from scratch
> Projects created via JBoss Central page are not added to working sets
> ---------------------------------------------------------------------
>
> Key: JBDS-2198
> URL: https://issues.jboss.org/browse/JBDS-2198
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: central, maven
> Affects Versions: 5.0.0.Beta3
> Environment: RHEL 6, lenovo with CORE i7 vPro
> Reporter: Tomas Repel
> Assignee: Max Rydahl Andersen
> Fix For: 5.0.0.CR1
>
> Attachments: jbds-2198.patch
>
>
> I had set the Working Sets to be the top level elements in Project Explorer. I have three working sets created, two of them are empty, one contains few projects. When I used a wizard to create a project using JBoss Central page (I tried the HTML5 Project and Spring MVC Project from Create Projects section) and clicked on the checkbox 'Add project(s) to working set' where I selected that non-empty working set, the newly created project was not added to that working set.
--
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