Use svg files in the Eclipse RCP template for e4#1723
Use svg files in the Eclipse RCP template for e4#1723vogella merged 1 commit intoeclipse-pde:masterfrom
Conversation
|
Require-Capability: eclipse.swt;filter:="(image.format=svg)" prevents the plug-in from starting correctly, if I remove it its starts and svg files are shown correctly. I used the approach supported by @laeubi from https://github.com/eclipse-platform/eclipse.platform.ui/pull/2925/files#diff-2e3ec9ee6782044d4a3f43dcaff53f6d43fd66f7a91a804ba02246ca9be74b4dR26 Anyone wrong with the MANIFEST.MF you can spot? @Michael5601 |
Should be correct as you just need to add the single |
It was slightly different. In my case the jsvg bundle was not added to the runtime, but yes I want to have a look at this. |
|
As for now I will take out Require-Capability: eclipse.swt;filter:="(image.format=svg)" until it works it is no use to add this to the template. |
f7094a3 to
a1a0c52
Compare
a1a0c52 to
8400a08
Compare
Does not yet add Require-Capability: eclipse.swt;filter:="(image.format=svg)" to the MANIFEST and replaces png with svg files. See eclipse-pde#1727
8400a08 to
4a1ddaa
Compare
|
@HannesWell using this new template I still get: |
|
Strange. I only see this error message is a runtime Eclipse, not in my latest I-Build. I merge this and test it tomorrow in the next I-build. |
Could it be that the TP in your Dev-Eclipse doesn't contain the latest I-build respectively was on an old state of PDE? However looking at what I have described in #1727 (comment) and your screenshot from here, we are actually talking about different errors. |
I had no explicit target platform defined, so I assumed that it would pick up the new runtime plug-ins but maybe it was using an older state. I don't know how a runtime Eclipse sources its target environment if it is using the IDE as target.
Lets see in tomorrows I-Build. |
|
Works fine in latest I-Build (Using template to create RCP app with content -> Start via product -> No error dialog) |
|
Thanks @HannesWell |


Adds Require-Capability: eclipse.swt;filter:="(image.format=svg)" to the MANIFEST and replaces png with svg files.