Running Ant using F6

Hi -

I usually run my ant build using the F6 key. I must first however click on

the build.xml in the explorer in order for this to work. Is there anyway

that I can trigger the ant build from anywhere in the ide? For instance if I

am making a change in the source editor and then want to build, I could

simply hit a key rather than going back the explorer clicking on the

build.xml then pressing F6.

Thanks!

[478 byte] By [Ball,Garrin] at [2007-11-25 16:46:35]
# 1

Ball, Garrin wrote:

> Hi -

>

> I usually run my ant build using the F6 key. I must first however click on

> the build.xml in the explorer in order for this to work. Is there anyway

> that I can trigger the ant build from anywhere in the ide? For instance if I

> am making a change in the source editor and then want to build, I could

> simply hit a key rather than going back the explorer clicking on the

> build.xml then pressing F6.

>

> Thanks!

>

Hello,

you can either assign Target shortcut to some keys or menu item or

toolbar button. You can do it from pop-up menu in Explorer New -> Ant

Build Scripts -> Shortcut to Target and then folow wizard.

Milan

Kubec,Milan at 2007-7-2 23:25:22 > top of Java-index,Archived Forums,Sun ONE Studio 4...