-
Notifications
You must be signed in to change notification settings - Fork 2
FAQ Troubleshooting
The Maven build of the generated project does not work / artifacts do not execute correctly when using Eclipse 2024-06 or newer
The current Eclipse Release 2024-06 uses JavaSE-21, which messes with parts of the build process. Changing the workspace settings to use JavaSE-17 instead fixes this particular problem. For that, right-click on some of the generated Bundles, go to Java Compiler>Configure Workspace Settings... and set the Compiler compilance level to 17 and let SPViz re-generate the bundles (you may need to delete them first).
The KLighD diagram probably uses the default EObjectDiagramSynthesis instead of your project-specific synthesis. To correct that, go into the 3-dots-menu of the diagram view, on Syntheses, and select the [your project architecture name]DiagramSynthesis instead.
This can have multiple reasons, these solutions may solve that:
The generated bundles have some dependencies that need to be resolvable when building them. A working target platform is automatically generated along with the project-specific bundles in the spviz.build/de.cau.cs.kieler.spviz.targetplatform/de.cau.cs.kieler.spviz.targetplatform.target
file, activate that and see if that fixed the problem.
After restarting Eclipse you may also need to reload this target platform.
The generated projects may need to be rebuilt by Eclipse (Project->Clean...->Select generated bundles->Clean) or by the m2e Plugin (right click on one of the generated .model
bundles->Maven->Update Project...->Select generated bundles->Ok)
From older versions of SPViz or your .spviz
and .spvizmodel
files there may be some artifacts in the generated bundles which are out of date or do not work anymore. For this it may help if you back up manual configuration of the build files and the src/
folder of the generated bundles and let SPViz regenerate them from scratch and them reapply your manual configuration.