OepenerPlatt / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
0 stars 0 forks source link

Neither an available bundle nor the associated JRE export package 'org.eclipse.xtext.resource' #2

Open OepenerPlatt opened 5 months ago

OepenerPlatt commented 5 months ago

image

OepenerPlatt commented 5 months ago

This seems to be the reason why 'xcore' was not included in the build. Idem for 'uml2'. image

OepenerPlatt commented 5 months ago

Target platform needs to be activated. Doc ?

image

travkin79 commented 2 months ago

Hi @OepenerPlatt, Exactly, you have to activate the target platform defined in net.sourceforge.plantuml.target/eclipse-2023-12.target. Then, you'll compile your workspace against the target platform, i.e. a certain selection of plug-ins / features that are expected to be installed in the target Eclipse IDE.

You activate the target platform by opening the target file and clicking on "Set as Active Target Platform". Bildschirmfoto 2024-04-17 um 22 09 27

This way, all the xtext plug-ins will be available.

pbrossel commented 2 months ago

Would be nice if the target platform could be set automatically when you clone the repo. I will check how it can be done.

travkin79 commented 2 months ago

AFAIK, there is no way to automate activation of a target platform. And I think, it's not desired, since you could have multiple target platform definition files in your workspace. How can the IDE know, which one to activate?

We could of course improve the documentation and better explain what to do when developing PlantUML Eclipse plug-ins.