Friday, 15 May 2015

Execute ant target before build artifact in IntelliJ 12? -



Execute ant target before build artifact in IntelliJ 12? -

i have ant target creates class constant holding current subversion revision number.

with execute on / before compilation setting revision number up-to-date. but! when you're in development mode , compile , run don't want annoying delay when ant target beingness run. also, there ant messages window popping up. no good.

obviously want run ant target before build production, when build war file. in project settings / artifacts there pre-processing tab makes possible run ant target before artifact built. however, target run after compilation complete.

is there way create intellij 12 execute ant target before compilation , creation of war file?

you can utilize dummy run configuration run unrelated, in before launch set like:

run ant target make build artifact

now can utilize configuration production build.

intellij-idea

No comments:

Post a Comment