Pre and Post Build Options Without Ant

I think it would be immensely useful for a future release of Irida to have a section of configurable pre and post build tasks for any project type. As posted in the Community section, this can be done with Ant but I was hoping to be able to have this feature available for use in the IDE without Ant.

Examples:

  • Build JAR file of any directory or logically build JAR of all classes and potentially include a main-class in the MANIFEST

  • Abilty to specify where to copy this JAR.

  • Copy all exploded project files to any location specified.


Some of this functionaly exists for Web Applications where you can specify you want a WAR file built or an exploded directory deployed.

I think there needs to be the ability to add as many pre/post build tasks as desired per module per project. This allows us to create 3 JAR files if desired or have two exploded WAR file directories. Possibly allowing us to remove or add a jar to one of the WAR file exploded directories that make it compatible to more than application server by using a copy task.

This kind of stuff gives us extreme flexibility.

Just my 2 cents.

1 comment
Comment actions Permalink

Everything you list can be done with about three lines of Ant total. Why is using Ant less desirable than (presumably) issuing shell commands?

That said, if you really want this feature request, you should post it to the issue tracking system at jetbrains.net/jira.

--Dave Griffith

0

Please sign in to leave a comment.