Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

intellij-idea - how to add custom build step to a module

I am using IntelliJ(8.x). The build step require ant "ant" from outside to generate java files from .idl files. This uses jacorb. I would like to avoid the step. Current work around is to call some scripts using "External Tools". This works, but I guess there may be a better way to do it..

Is it possible to call custom build step from IntelliJ, so it gets called we make or compile a module?

like image 942
Jayan Avatar asked Oct 11 '22 10:10

Jayan


1 Answers

In the Ant Panel right click on a target and choose Execute On | Before Compilation or After Compilation.

If such option is not available in IDEA 8, try more recent version.

like image 142
CrazyCoder Avatar answered Oct 14 '22 19:10

CrazyCoder