Skip to content
Discussion options

You must be logged in to vote

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()
    • to get instances of IService from your class, you can use the ServiceUtils class

For service class with a constructor you can also have a look at IServicesConfigurator if needed.

At the moment the Run As Acceleo 4 Generation run 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@j-st1
Comment options

Answer selected by j-st1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants