Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSupress generating preference and property pages for the compiler
https://www.eclipse.org/forums/index.php/mv/msg/368308/898137/#msg_898137
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]]>Peter Friese2012-07-25T21:30:20-00:00Re: Supress generating preference and property pages for the compiler
https://www.eclipse.org/forums/index.php/mv/msg/368308/898343/#msg_898343
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]]>Sebastian Zarnekow2012-07-26T09:00:40-00:00