Bug 156518 - Import of all workbench projects from project container.
Summary: Import of all workbench projects from project container.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Corona (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Piotr Jaworowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2006-09-07 10:10 EDT by Marcin Okraszewski CLA
Modified: 2010-04-08 11:15 EDT (History)
2 users (show)

See Also:


Attachments
Patch for "Import all" functionality (14.71 KB, patch)
2006-09-07 10:28 EDT, Piotr Jaworowski CLA
no flags Details | Diff
Fix for enable/disable "Import"/'Import All" in context menu. (5.31 KB, patch)
2006-09-15 09:44 EDT, Piotr Jaworowski CLA
no flags Details | Diff
Fix for projects which module name contained full path. (6.16 KB, patch)
2006-09-15 10:46 EDT, Piotr Jaworowski CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Okraszewski CLA 2006-09-07 10:10:36 EDT
Now, if someone wants to import all workbench projects defined in a project container, he needs to import them one by one, all select all of them. 

It would be useful if there was a single action for project container in project container explorer to import all workbench projects.
Comment 1 Piotr Jaworowski CLA 2006-09-07 10:28:37 EDT
Created attachment 49619 [details]
Patch for "Import all" functionality
Comment 2 Piotr Jaworowski CLA 2006-09-07 11:40:03 EDT
Please patch project.
Comment 3 edyta.kalka CLA 2006-09-14 10:38:03 EDT
'Import All' is available in context menu and works without problems when repository descriptor name is the same as imported module (being new eclipse project) name. However, when these names are different (see CoronaBuild container definition as example) both completed 'Import All' and 'Import' action don't disable context menu items representing them.
Comment 4 Piotr Jaworowski CLA 2006-09-15 09:44:43 EDT
Created attachment 50256 [details]
Fix for enable/disable "Import"/'Import All" in context menu.

Issue fixed. 
In WpCvsRepositoryAdapter class, getProject() method were retrieving project with incorrect name.
Comment 5 Piotr Jaworowski CLA 2006-09-15 10:46:56 EDT
Created attachment 50262 [details]
Fix for projects which module name contained full path.

When module name contained a full access path like 'org.eclipse.corona/build', an error occured. 
Error occured, because module name was passed to method workspace.getRoot().getProject(), where the method expects only project name (e.g 'org.eclipse.corona/build' was passed before where 'build' was expected).
Comment 6 edyta.kalka CLA 2006-09-15 10:55:54 EDT
Patch applied, tested and commited.
Comment 7 Dennis O'Flynn CLA 2008-02-08 09:25:11 EST
Closing all outstanding RESOLVED and VERIFIED items.
Comment 8 Dennis O'Flynn CLA 2008-02-29 09:54:40 EST
obsolete - resetting content for 1.0.0M5
Comment 9 Eclipse Webmaster CLA 2010-04-08 11:15:22 EDT
Project is archived.