code gen when Build Automatically disabled [message #1789925] |
Thu, 31 May 2018 20:54 |
Jay Norwood Messages: 155 Registered: July 2009 |
Senior Member |
|
|
I'm looking at the tracing/ code generation example,
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.
[Updated on: Thu, 31 May 2018 21:12] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04812 seconds