Community
Participate
Working Groups
If you create a new Xpand project, then the project properties of Xtend/Xpand are always set to Activated Metamodel Contributors: EMF Metamodels Same happens if Adding Xtend/Xpand Nature to a project. But there should be used the values and order from Preference settings, where in my case was: UML2 profiles EMF Metamodels I also tried checking / unchecking "project-specific" and "restore Defaults", but no way to get my Preferences settings as default into my project properties if the project is a converted oaw4 project then "Add Xtend/Xpand Nature" should test if its an old oaw4 project and use the same settings - if possible -
I agree, a new project should use the workspace settings as its default settings. That's how the JDT operates as well. Regarding the second issue (converting old projects): as you will only convert a project once I am not sure if it worth the effort to provide code that constantly checks if this is an oAW 4 project and tries to translate the project settings. You'll have to perform a number of migration steps anyway, so providing too much comfort might leave the impression that migrating from oAW 4 to Eclipse Modeling comes at no cost. If we venture into this, we'd need to provide a full-blown migration wizard which definitely is a huge chunk of work (and needs to be re-done for each new version of the frameworks).
Peter, you're right - conversion is only done once, so its not so important, only wanted to ask about it ;-) ekke
Created attachment 155333 [details] Screenshot of the wizard
Created attachment 155334 [details] An alternative Xpand project wizard
(In reply to comment #3) > Created an attachment (id=155333) [details] > Screenshot of the wizard Please take a look at the alternative Xpand project wizard. The wizard has now a new section "metamodels". inside the section it is possible to select one of the three options: -Use metamodels defined in workspace -Use project specific metamodels -Create an, EMF-based, example project. Feedback is appreciated Regards Darius
The attached patch does not seem to be related to this bug.
Created attachment 155394 [details] An alternative Xpand project wizard
(In reply to comment #6) > The attached patch does not seem to be related to this bug. Sorry, I have uploaded the correct patch. Regard, Darius
Created attachment 155574 [details] Unwanted project-specific settings, when using workspace defaults
Looks good. But it seems that the workspace default wizard still creates a project specific setup, but just copies the workspace configuration. It should do nothing, but adding the nature. No project-specific xpand preferences. (see screenshot)
See also #299099
Created attachment 155580 [details] An alternative Xpand project wizard
patch applied. Thanks!
Bug resolved before Xpand 1.2 release date => Closing