Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Help Project Wizard(Can't create a new Project Wizard)
Help Project Wizard [message #903921] Mon, 27 August 2012 09:45 Go to next message
Rui Elói is currently offline Rui ElóiFriend
Messages: 3
Registered: August 2012
Junior Member
Hello, I'm starting to develop in xtext and I'm having difficulties visualizing the new Project Wizard.

For what I could find in xtext documentation I simple need to generate the "GenerateDomainmodel.mwe2" (yes, I'm working in the 15 minute example project), uncomment the following lines:

fragment = projectWizard.SimpleProjectWizardFragment {
generatorProjectName = "${projectName}.generator"
modelFileExtension = file.extensions
}

then re-generate the "GenerateDomainmodel.mwe2".

But then when I Launch the eclipse app (using Run) I can't find the project template.

Am I doing something wrong? Any ideas?

Thanks
Re: Help Project Wizard [message #903926 is a reply to message #903921] Mon, 27 August 2012 10:34 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi,

dont forget to merge (copy) plugin.xml_gen to plugin.xml in the ui project

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Help Project Wizard [message #903963 is a reply to message #903926] Mon, 27 August 2012 12:59 Go to previous messageGo to next message
Rui Elói is currently offline Rui ElóiFriend
Messages: 3
Registered: August 2012
Junior Member
Hi,Christian. Thanks for the response.

Yes, the plugin.xml and plugin.xml_gen have the following code:

<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "ht tp://www.example.org/domainmodel/Domainmodel"
class = "org.example.domainmodel.domainmodel.DomainmodelPackage"
genModel = "org/example/domainmodel/Domainmodel.genmodel" />
</extension>

but still can't see the project template Sad
Re: Help Project Wizard [message #903971 is a reply to message #903963] Mon, 27 August 2012 13:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi

i am talking about the UI Project


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Help Project Wizard [message #903974 is a reply to message #903971] Mon, 27 August 2012 13:26 Go to previous message
Rui Elói is currently offline Rui ElóiFriend
Messages: 3
Registered: August 2012
Junior Member
Thanks Christian, that was really the problem. I was assuming it was the plugin of the main project not the UI.

Previous Topic:first-order logic / predicate logic grammar in xtext
Next Topic:mwe-file not found building with fornax-tools
Goto Forum:
  


Current Time: Thu Mar 28 13:09:29 GMT 2024

Powered by FUDForum. Page generated in 0.06662 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top