Execute Ant targets from the toolbar

The docked Ant window (for me) wastes quite a bit of space, and I don't like floating windows since I can't really put them anywhere where they don't obscure something else useful.

So, what I'd like to be able to do is to execute Ant targets from a drop-down box on the toolbar in a similar manner to how the Run/Debug drop-down box works.

This sort of thing isn't possible already is it? Could a plug-in achieve this?

If not, I'll post something to the Tracker.

7 comments
Comment actions Permalink

You can just undock it (but not have it floating) with the auto hide feature. The Ant toolbar will hide itself after you have executed a target or click somewhere else.

0
Comment actions Permalink

Or you can use the Build menu, where the Ant scripts with their targets are listed.

0
Comment actions Permalink

Almost what I wanted.

Where I'm coming from about this is really to do with convenience/usability of a feature that I use all of the time and ideally something that I could just do with one click.

>You can just undock it (but not have it floating) with
>the auto hide feature. The Ant toolbar will hide itself
>after you have executed a target or click somewhere else.

But I would have to navigate menus, or use a keyboard short-cut to get the ant window back, then navigate to the task before I could execute it.

>Or you can use the Build menu, where the Ant scripts with
>their targets are listed.

This requires a menu then sub-menu navigation, so Click, Move down to the ant sub menu, Move right, Move Down to the desired target, then Click.

Whilst that wouldn't be too bad (maybe I'm just too lazy) I really was just looking for a single click to run the task as I can do with Run/Debug.

It's also possible to assign a keyboard shortcut to an ant task, but would that have to be done each time for every new project wouldn't it?

I appreciate your suggestions, but do you think what I'm proposing is a feature worth voting for? I have plenty of room on that toolbar and it would just be so handy.

If it could be done with a plugin I'm happy to look at doing that myself.

0
Comment actions Permalink

Whilst that wouldn't be too bad (maybe I'm just too lazy) I really was just looking for a single click to run the task as I can do with Run/Debug.

I appreciate your suggestions, but do you think what I'm proposing is a feature worth voting for? I have plenty of room on that toolbar and it would just be so handy.


I would vote for RFE for another type of run target in addition to the current
Class/JUnit/Webapp,

It should take as arguments the ant JDK and the command line parameters passed to ant. I
know that this kind of functionality overlaps with the current Ant integration, but still
think it would make IDEA+Ant more usable for me.

regards,
dimiter

0
Comment actions Permalink

There's no need for a new run target. You can configure any Ant target to be executed automatically before/after compilation or before running/debugging.

0
Comment actions Permalink

You can also map keys to the individual ant tasks. I find that one or two tasks (install & test, usually) make up 90% of my iterative development.

I'd still favor the dropdown treatment in the toolbar, ideally mirroring the design of the run/debug set of buttons.

mike

0
Comment actions Permalink

On Wed, 12 Mar 2003 13:12:30 +0000, Michael Abato wrote:

You can also map keys to the individual ant tasks. I find that one or two
tasks (install & test, usually) make up 90% of my iterative development.


The problem I found with that is that the key mappigns are Idea wide, not
project specific.

0

Please sign in to leave a comment.