Community
Participate
Working Groups
The auto-generated doGenerate() invokes super.doGenerate() and discards the return value. This requires a user of preview mode to tunnel down to generate(). Suggest, propagate the doGenerate() return.
Ed, This was designed like that in order to avoid API breakages : "doGenerate()" was initially the only entry point of the generation. However when we added the preview mode, we need a "return" value for the generation ... thus was created "generate()". Adding a "return" value to doGenerate would not be an API break per se, but it would be a binary compatibility break (granted, I am not sure that we guarantee the binary compatibility of Acceleo ... but at least we avoid obvious breaks). "doGenerate" will remain as is as long as we do not create an Acceleo 4.0 in which we'll be able to break the API to our heart content, so do not expect to see this solved any time soon :).
No problem.
Closing resolved bugs