Executing plugin method from Ant script.
Hi,
I have a plugin that generates an xml file from javadoc comments.
The xml generation is triggered from a menu action.
Problem however is that I can forget to rewrite the xml after changing a comment.
I don't need/want the xml to be rewritten upon file change because that would be too much and unneccary.
So, I want to trigger the creation of the xml before building a jar.
Is that possible and if yes how?
Please sign in to leave a comment.
You might want to try https://youtrack.jetbrains.com/issue/IDEA-138252#comment=27-959300 alternatively
You could use macros to record triggering "update XML, then build JAR" https://www.jetbrains.com/help/idea/2016.2/playing-back-macros.html
Hi Yann,
Thank you!
The idea is good (I was hardly aware of the existence of Macro's :)) but:
Before running the action I need to go into the project tree and select a package.
It looks like the macro does not record this.
If that is not possible I will have to create one action drilling down the tree and select the package based on the name it has (which is totally doable but I would like to avoid doing this).