Dynamically adding a value into plugin.xml

Answered

We're developing a build plugin that adds content to the class output using a tool in an imported jar.

The imported jar name contains the version number, that is prone to change often on early releases of the plugin.

 

The plugin.xml line for the build plugin looks like 

<compileServer.plugin classpath="google-cloud-tools-jps-plugin.jar;appengine-plugins-core-0.2.0.jar;"/>

Which makes us have to manually change the version number every time a new one is released.

 

Is there a way to automate this? By searching IJ's source code base for "compilerServer" and looking around the documentation and this board, I couldn't find one.

Please sign in to leave a comment.