Plugin to generate custom code using velocity template fails

The usage of the plugin is to create a java file based on user input.

Created a velocity template file and bundled it with the plugin resources. After getting user input the template is evaluated against the user input values and writes the content as file in given location.

Above mentioned behavior works perfectly in test environment given by IntelliJ IDE.

Fails when the code is bundled as jar and it is installed as a plugin. Not able to proceed further, Please suggest a method to debug this issue or any solution.

( Note ) : Didn't bundle velocity jar as IntelliJ has velocity already.

Thanks in Advance

1 comment
Comment actions Permalink

What do you mean by Fails when the code is bundled as jar? How does it fail? You have to provide more details regarding your issue.


Please sign in to leave a comment.