Community
Participate
Working Groups
Build ID: I20070921-0919 Steps To Reproduce: 1.Start the workbench on a new empty workspace. 2.Create a dynamic dynamic web project named "project1". 3.Go to the project explorer menu and click on "Select Working Set". 4. In the opened dialog create a new working set and add project1 to this working set. 5. Again from the project explorer menu chose Top Level Elements->Working Sets. 6. Create a new dynamic web project - project2. 7. After creating the project2 it is not shown in the project explorer since it is not in the working set. I think it will be reasonable the dynamic web project wizard to propose to add the newly created project to a working set. This is done for example in the New Java Project wizard. On the first page there is a check button "Add project to working set"
The same enhancement can be made to the static web project ofcourse
The same enhancement can be made in all WTP new projects wizards :) This can be easily done with WorkingSetConfigurationBlock. See: http://pookzilla.net/wp/2007/08/new-resources-and-working-sets/
This is an enhancement for the Common project since all WTP project creation wizards are based on the Faceted project wizard. Even the Simple project wizard has an "Add project to working sets" option and I think this is much desired for WTP as well.
> This is an enhancement for the Common project since all WTP project creation > wizards are based on the Faceted project wizard. While it's true that all WTP project creation wizards are build on the facet project wizard framework, the actual first page where the working sets UI would have to go belongs to the individual wizards. I created Bug 243488 to track getting this implemented for the generic "Faceted Project" wizard which is part of the framework. Sending this bug back to Java EE.
Created attachment 114415 [details] Patch This patch provides the UI part for resolving the bug - it adds the Working Set group to the first page of the wizard. The synchronization with the underlying model should be done.
Created attachment 118946 [details] Patch v2 This second version of the patch modifies the postPerformFinish() method of the NewProjectDataModelFacetWizard, so that the project is added to the selected working sets.
committed to HEAD and released to build.