Announcing Aurora2Ant version 0.1, available via the Plugin Manager. Aurora2Ant is an IDEA plugin which will generate Ant build files from an Aurora project. For multi-module projects, Aurora2Ant can generate either a single unified build file, or a hierarchical build file structure, consisting of one build file per module plus a single project-level build file which just calls out to the module-level build files. Build files generated by Aurora2Ant may need to be modified after creation with project-specific build tasks (e.g. rmi stub generation, jar/war/ear creation), but no support for regenerating build files after such modification is currently provided. Aurora2Ant build files include the following targets:
*clean *-- clean up all build artifacts
*compile *-- compile the source for the project
*compile-tests * -- compile the tests for the project
*test *-- run all the JUnit tests for the project, writing the test results into a "test_results" directory. Alternatively, this task can run a single test class if it is specified in the test.class property
*javadoc *-- compile the javadoc for the project. Note that for multi-module projects, each module gets it's own javadoc directory
*all *-- run the full build. Equivalent to running clean, compile, compile-tests, test, and javadoc in succession
Project/Module concepts currently supported by Aurora2Ant
--modules, content roots, source folders, test folders, exclude folders, module dependencies, module/project/application libraries, dependency ordering.
Project/Module concepts not-supported by Aurora2Ant, but which probably will be eventually
--JDK selection, enabling/disabling of "assert" keyword, overlapping source/test folders, jar file creation for Java modules, special processing for J2EE/EJB/Modules, javadoc settings
Aurora2Ant has been tested with Aurora EAP build 1032. Aurora2Ant build files are provided with no
gaurantees whatsoever, and should be checked before first use (particularly 'clean' targets, for obvious reasons). Aurora2Ant relies on internal IDEA APIs which are seem to still be in flux, so if a later build of Aurora breaks Aurora2Ant, I won't be a bit surprised. Please let me know of any issues you have, or suggestions for improving Aurora2Ant.