Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 77085 Details for
Bug 201342
'Add to Java Search' does not reopen/recreate 'External Plug-in Libraries' project
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to open the project if it exists but is closed.
org.eclipse.pde.ui-bug201342-patch.txt (text/plain), 1.46 KB, created by
Remy Suen
on 2007-08-27 21:29:55 EDT
(
hide
)
Description:
Patch to open the project if it exists but is closed.
Filename:
MIME Type:
Creator:
Remy Suen
Created:
2007-08-27 21:29:55 EDT
Size:
1.46 KB
patch
obsolete
>Index: src/org/eclipse/pde/internal/ui/views/plugins/JavaSearchOperation.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/views/plugins/JavaSearchOperation.java,v >retrieving revision 1.2 >diff -u -r1.2 JavaSearchOperation.java >--- src/org/eclipse/pde/internal/ui/views/plugins/JavaSearchOperation.java 3 Aug 2007 21:18:42 -0000 1.2 >+++ src/org/eclipse/pde/internal/ui/views/plugins/JavaSearchOperation.java 28 Aug 2007 01:30:58 -0000 >@@ -7,6 +7,7 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * Remy Chi Jian Suen <remy.suen@gmail.com> - Bug 201342 'Add to Java Search' does not reopen/recreate 'External Plug-in Libraries' project > *******************************************************************************/ > package org.eclipse.pde.internal.ui.views.plugins; > >@@ -58,8 +59,12 @@ > public IProject createProxyProject(IProgressMonitor monitor) throws CoreException { > IWorkspaceRoot root = PDECore.getWorkspace().getRoot(); > IProject project = root.getProject(SearchablePluginsManager.PROXY_PROJECT_NAME); >- if (project.exists()) >+ if (project.exists()) { >+ if (!project.isOpen()) { >+ project.open(monitor); >+ } > return project; >+ } > > monitor.beginTask(NLS.bind(PDEUIMessages.JavaSearchOperation_createProjectTaskName, SearchablePluginsManager.PROXY_PROJECT_NAME), 5); > project.create(new SubProgressMonitor(monitor, 1));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201342
:
77084
| 77085 |
77087