Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Supress generating preference and property pages for the compiler
Supress generating preference and property pages for the compiler [message #898137] Wed, 25 July 2012 21:30 Go to next message
Peter Friese is currently offline Peter FrieseFriend
Messages: 30
Registered: July 2009
Member
Hi,

is there some way to suppress generating the "Compiler" property and preference pages? I don't want users to mess around with those settings...

Instead of ripping out the respective XML markup from plugin.xml, I'd much rather like to configure the generation process by adding a switch to ../GenerateMyDsl.mwe2, but as far as I can see, the code in /org/eclipse/xtext/generator/generator/GeneratorFragment.xpt isn't written in any way I could use such a switch. But maybe I am missing something.

Cheers,
Peter
Re: Supress generating preference and property pages for the compiler [message #898343 is a reply to message #898137] Thu, 26 July 2012 09:00 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Peter,

you are free to strip that stuff from the plugin.xml or remove the
generate fragment from the mwe and use a custom one.
Please note that maven guys will not be happy if they cannot use their
favorite project layout.

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 25.07.12 23:30, schrieb Peter Friese:
> Hi,
>
> is there some way to suppress generating the "Compiler" property and
> preference pages? I don't want users to mess around with those settings...
>
> Instead of ripping out the respective XML markup from plugin.xml, I'd
> much rather like to configure the generation process by adding a switch
> to ../GenerateMyDsl.mwe2, but as far as I can see, the code in
> /org/eclipse/xtext/generator/generator/GeneratorFragment.xpt isn't
> written in any way I could use such a switch. But maybe I am missing
> something.
>
> Cheers,
> Peter
Previous Topic:Access EObject from an outline view filter
Next Topic:need graphical Editor howto
Goto Forum:
  


Current Time: Thu Apr 25 11:41:10 GMT 2024

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

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

Back to the top