Repository navigation
|
Hi everyone, while migrating an existing project from Acceleo 3 to Acceleo 4, I noticed two problems that I haven't found solutions for yet. 1. No option to set the Generation StrategyIn Acceleo 3, I could configure the Generation Strategy directly in the generated 2. Passing custom information from the Generate classMy Acceleo 3
Since Acceleo 4 no longer generates a My questionIs there any recommended or supported way in Acceleo 4 to:
Any insights or examples would be greatly appreciated! |
Replies: 1 comment 1 reply
|
Hi, The Java main class is not automatically generated but you can generate it if needed.
For service class with a constructor you can also have a look at At the moment the |
Hi,
The Java main class is not automatically generated but you can generate it if needed.
Then you can customize the generated class:
createGenerationStrategy()createAcceleoQueryEnvironment()IServicefrom your class, you can use theServiceUtilsclassFor service class with a constructor you can also have a look at
IServicesConfiguratorif needed.At the moment the
Run As Acceleo 4 Generationrun configuration doesn't support this kind of customization. You will need to run you generator from the main class or from the Eclipse UI plug-in.