开发者

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

开发者 https://www.devze.com 2023-02-20 13:57 出处:网络
I am using IntelliJ(8.x).The build step require ant \"ant\" from开发者_Python百科 outside to generate java files from .idlfiles. This uses jacorb. I would like to avoid the step. Current work around i

I am using IntelliJ(8.x). The build step require ant "ant" from开发者_Python百科 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消