Bug 437185 - Unable to import exploded source bundle
Summary: Unable to import exploded source bundle
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2014-06-11 10:34 EDT by Brian de Alwis CLA
Modified: 2019-10-11 01:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian de Alwis CLA 2014-06-11 10:34:56 EDT
I added Jetty to a target platform and wanted to import a plugin as source which failed as the source bundle was a directory rather than a jar (jetty's source feature org.eclipse.jetty.bundles.f.source has org.eclipse.jetty.osgi.boot.source plugin set to be unpacked).

java.io.FileNotFoundException: /Users/bsd/Manumitting/Projects/NearHere/workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jetty.osgi.boot.source_8.1.15.v20140411 (Is a directory)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:220)
	at java.util.zip.ZipFile.<init>(ZipFile.java:150)
	at java.util.zip.ZipFile.<init>(ZipFile.java:164)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportHelper.extractJavaSourceFromArchive(PluginImportHelper.java:143)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.extractSourceFolders(PluginImportOperation.java:927)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.importAsSource(PluginImportOperation.java:563)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.importPlugin(PluginImportOperation.java:452)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.runInWorkspace(PluginImportOperation.java:246)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Eclipse Genie CLA 2019-10-11 01:52:43 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.