|
Re: [XCore] @generated NOT being overridden [message #1712642 is a reply to message #1712478] |
Tue, 27 October 2015 06:20 |
Ed Merks Messages: 33147 Registered: July 2009 |
Senior Member |
|
|
Bryan, if you generate into the src-gen folder (the configured output
folder for the Xcore compiler), that folder is cleaned fully. Using
@GenModel(modelDirectory="/<project-name>/src") you can redirect to
somewhere you can modify the source without it being cleaned.
On 25/10/2015 8:26 PM, Bryan Hunt wrote:
> Given my problems with creating operations, I tried hand-coding the
> implementation and marking the operated @generated NOT just as the
> instructions in the generated code indicate. When I made a change to
> the model, the hand-coded operation is re-generated and all code was
> lost. How do we create custom operations?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03336 seconds