Code generation from scripting console



I have code generator which convert properties file to java (Enum), JSON and SQL codes for my error codes and messages. In the build process, I use an home made maven plugin but during the development I would like to have something generating these codes live or at least on save. (That's a little bit inspired from .NET environment)

I was thinking about the scripting console to launch the maven plugin on file saving.

Can you help me with the scripting console ?
- to trigger maven plugin execution
- to add this action before optimize Import on subversion commit


1 comment
Comment actions Permalink

Sorry for delay. What does generate mean exactly? Generate sources in the current project? If explicit generation is good enough, a simple Action will be the easiest solution to be invoked manually.


Please sign in to leave a comment.