I have a few plugins under my belt and am wondering how to solve a new problem.
I have developed a complex IVY build system using ANT. Everything can be done from the command line except, of course, for code editing and debugging. That is where IntelliJ comes in. I need a fast way to configure an IntelliJ project with proper source code and dependencies (retrieved via IVY). I have just tried the latest IvyIdea that won honorable mention in the past plugin contest, but I didn't get very far. I use ANT properties inside my IVY settings file which apparently this plugin can't handle. However, even if it did handle my properties, I believe it still will only solve the dependencies problem. It won't help to configure an IntelliJ project from scratch.
I was wondering if it would be easy to generate an IML file from my ANT/IVY build system since it knows all the information necessary to provide to IntelliJ? This would also give me the ability for greater customization. So my questions are:
1. Would generating an IML from ANT be a good idea to solve this problem?
2. Where can I find the syntax/grammar for the IML format?
3. Can I use the plugin API somehow to help in generating this IML format so that I won't have to maintain my IML format as it changes as IntelliJ upgrades to newer versions?