[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.tmf] Re: Disable clean model generation?

Hi Miles,

I must have missed it somewhere, but is there a way to disable over-writing code generation for the xText meta-model; preferably at method or class granularity, ala ecore?

you can remove the line

<component class="org.eclipse.emf.mwe.utils.DirectoryCleaner" directory="${runtimeProject}/src-gen"/>

from your workflow.

If your concern is just the Java Code generated by EMF from the Ecore Model (the semantic model's meta model) you can configure the EcoreGeneratorFragment via javaModelDirectory="otherdirectory" to store the code to some place which is node cleaned.

hth,
  Moritz



--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com