Code generation from scripting console Follow
Answered
Hello,
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
thanks
Please sign in to leave a comment.
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. https://plugins.jetbrains.com/docs/intellij/basic-action-system.html