Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumscode gen when Build Automatically disabled
https://www.eclipse.org/forums/index.php/mv/msg/1093532/1789925/#msg_1789925
https://github.com/theia-ide/tracing_codegen
I noticed the Project->Clean... does clean, but it also initiates a new code generation, even if Project->Build Automatically is unchecked.
Conversely, if I manually delete the generated source files, then select Project-> Build All, the code does not get generated.
Seems like it would make more sense for the code generation to be linked to Build, and that Project->Clean would delete any generated files and leave them gone.
Was there some reason for the current design? I'm not familiar with other code generation apps, so I'm not aware of what is customary.
===========
My mistake. I just noticed that the "Clean" dialogue has a Start a build immediately checkbox, which I suppose overrides the workspace Build Automatically being unchecked. I can see why this dialog would be necessary if the Eclipse workspace isn't there, as when using e4 rcp, so this makes sense to me.]]>Jay Norwood2018-05-31T20:54:57-00:00Re: code gen when Build Automatically disabled
https://www.eclipse.org/forums/index.php/mv/msg/1093532/1789933/#msg_1789933
That all is standard eclipse behaviour and not Xtext specific ]]>Christian Dietrich2018-05-31T22:30:56-00:00Re: code gen when Build Automatically disabled
https://www.eclipse.org/forums/index.php/mv/msg/1093532/1789946/#msg_1789946
Karsten Thoms2018-06-01T06:50:49-00:00