Make project (with ant) before running/debugging
Hi,
When I run an application with Shift+F10, I get a window where I can
choose to check or uncheck the 'Make project before running/debugging'
option. When it is checked IDEA will compile the project.
This is very convenient but I need to make the project with an ant
target instead of the internal IDEA build function.
Is this possible? Or maybe there is a plugin for this?
Actually it would be great if all run/compile/javadoc functions in IDEA
could be redirected to an ant target. (I know that Netbeans supports this).
Thanks
Per Thomas Jahr
Please sign in to leave a comment.
Setup your ant integration.
Then right click on the target in the Ant tool window.
You have a menu to select to run a target before/after compilation
Jacques
"Per Thomas Jahr" <perja@nr.no> wrote in message
news:3E26A1D9.60404@nr.no...
>
>
>
>
this).
>
>
Per Thomas Jahr wrote:
You can't completely redirect them, but you can redirect their keyboard
shortcuts (e.g. Ctrl-F9) to the corresponding ant target (in addition to
"Execute ant target before/after compilation - before run/debug").
That's what I do.
Regards,
Rolf
Yeah, but he wants to do the opposite: compile before running.
Jacques Morel wrote:
>>Hi,
>>
>>When I run an application with Shift+F10, I get a window where I can
>>choose to check or uncheck the 'Make project before running/debugging'
>>option. When it is checked IDEA will compile the project.
>>
>>This is very convenient but I need to make the project with an ant
>>target instead of the internal IDEA build function.
>>
>>Is this possible? Or maybe there is a plugin for this?
>>
>>Actually it would be great if all run/compile/javadoc functions in IDEA
>>could be redirected to an ant target. (I know that Netbeans supports
>>Thanks
>>Per Thomas Jahr
>>
--
Erb
==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================
You can also select 'Execute on -> Before Run/Debug'.
"Erb" <dont@evenbother.com> wrote in message
news:b0k8od$2as$1@is.intellij.net...
>
>
>
>
>
>