Community
Participate
Working Groups
When creating a new Viewpoint Specification Project with the wizard, the name of the odesign is initialized with My.odesign. It should be initialized by exploiting the name of the project, by taking the the last word before "design" in the project name. If the user has not suffixed his project with "design", the last word sould be taken.
See the proposed gerrit solution : https://git.eclipse.org/r/#/c/33327/
Gerrit review merged.
Using the wizard with the default values untouched produces a VSM file named "project.odesign.odesign".
See the proposed gerrit solution : https://git.eclipse.org/r/#/c/33426/
Another issue: 1. Open the wizard (New > Viewpoint Specification Project) 2. Enter a non-default project name whose next-to-last segment is not "project", e.g. "com.example.design". 3. Click finish immediatly, without ever going to the second page. The project is created with a VSM named "project.odesign". The whole logic is completely skipped if the second page is not traversed.
Fixed by c2266fd5f0be8b2f741304c4f5b3f027e4b0e6da.
Actually, there is still another issue: 1. Open the wizard. 2. On the first page, keep the default my.project.design. 3. Hit "Next", the default VSM name is project.odesign (correct). Change it to "modeler.odesign". 4. Go back to the first page and change the project name into "com.example.design". If you hit Finish immediatly, the VSM will be created as modeler.odesign (correct). If after step 4 if switch once again to page 2 before hitting Finish, the VSM name is changed to the name computed from the new project name. The name computed from the project id should be a default, but as soon as the user has decided to enter a different name explictly, it should not be changed. At least that is my expectation, but it is debatable.
Last comment is relevent. So as soon as the user has decided to enter a different name explictly, the VSM name do not change. See the proposed gerrit solution for this modification: https://git.eclipse.org/r/#/c/33553/
Fixed by 55dde78253351d6d8ada8708d6ab9d73d2b7e1f7.
Available in Sirius 2.0.0.