New Java Project is no longer working
How to reproduce
- Click on
Show all template
card - Click on Java template card
An error is raised and no new project is created.
Reason
The commit #0b20dc5fa4f03ead9e953f17902c48c4d9e3f311 changes the way the Class diagram is structured, introducing a shared node to hold all reused child nodes. These changes impact how child nodes are named since they are shared now.
In org.eclipse.papyrus.web.profile.java.UMLJavaProjectTemplateInitializer#filter
we are looking for the operations compartment node which is a child of the class node. This compartment node is now a shared node whose name is no longer CD_Class_Operations_CompartmentNode
but CD_Class_Operations_SHARED_CompartmentNode
instead.
This change has been made in the C++ template but not in the Java one.