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 24042 Details for
Bug 99357
import as source project creates invalid project
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
99357.patch (text/plain), 1.35 KB, created by
Wassim Melhem
on 2005-06-27 13:56:22 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Wassim Melhem
Created:
2005-06-27 13:56:22 EDT
Size:
1.35 KB
patch
obsolete
>Index: src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java,v >retrieving revision 1.81 >diff -u -r1.81 PluginImportOperation.java >--- src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java 4 Jun 2005 01:33:41 -0000 1.81 >+++ src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java 27 Jun 2005 17:54:09 -0000 >@@ -41,7 +41,6 @@ > import org.eclipse.jdt.core.JavaModelException; > import org.eclipse.osgi.service.environment.Constants; > import org.eclipse.osgi.service.resolver.BundleDescription; >-import org.eclipse.osgi.service.resolver.BundleSpecification; > import org.eclipse.osgi.util.NLS; > import org.eclipse.pde.core.build.IBuild; > import org.eclipse.pde.core.build.IBuildEntry; >@@ -539,11 +538,10 @@ > if (desc != null) { > if (desc.getExportPackages().length > 0) > return true; >- BundleSpecification[] specs = desc.getRequiredBundles(); >- for (int i = 0; i < specs.length; i++) { >- if (specs[i].isExported()) >- return true; >- } >+ if (desc.getRequiredBundles().length > 0) >+ return true; >+ if (desc.getImportPackages().length > 0) >+ return true; > } > return false; > }
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 99357
: 24042