Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import as source project in PDE #858

Open
RedeemerSK opened this issue Jan 12, 2025 · 4 comments
Open

Unable to import as source project in PDE #858

RedeemerSK opened this issue Jan 12, 2025 · 4 comments

Comments

@RedeemerSK
Copy link

While doing some Eclipse development I ended up needing to see source code of 'org.eclipse.tm4e.ui' plugin. As previously with other plugins, I expected to be able to just import as source project from plugins view. In case this expectation is unjustified, let me know, I'm no expert in Eclipse plugins development.

Project was however not imported with source code, but just with binary JAR of itself (as a referenced library of created project).

Eclipse PDE Latest (2025-03 M1 (4.35.0 M1)), fully updated.
org.eclipse.tm4e.ui version: 0.14.1.202412182118 (atm latest from https://download.eclipse.org/tm4e/snapshots/).
Target platform set to "Running platform".

I can only guess that "Eclipse-SourceReferences" in MANIFEST.MF is used when importing project for plugin, and the "path" there seems ok to me. Only the whole MANIFEST.MF file is not formatted according to spec, but it may not be the cause.

@sebthom
Copy link
Member

sebthom commented Jan 12, 2025

TBH I have no idea. @mickaelistria WDYT?

@mickaelistria
Copy link
Contributor

Import As > Source Project would only work if you have the source bundle available too IIRC.
If you want to import using the Eclipse-SourceReferences (which is best), you should try "Import As > Project from Repository...".

@mickaelistria
Copy link
Contributor

I've open eclipse-pde/eclipse.pde#1556 to hopefully provide better guidance from the plug-in view.

@mickaelistria
Copy link
Contributor

and also eclipse-pde/eclipse.pde#1557 was one cause here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants