Bug 30488

Summary: Option to show tasks in menu
Product: Ant Reporter: pandc <slot>
Component: OtherAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: 1.6.2   
Target Milestone: ---   
Hardware: All   
OS: other   

Description pandc 2004-08-05 11:27:18 UTC
Wouldn't it be comfortable to have an option which shows the user all available
tasks from a build file in a numbered menu. Targets which the users wants to be
processed should be entered by the corresponding number(s), comma seperated. Hit
enter and the taks will be processed. As easy as that.

No more searching and copy&pasting from the build file itself.
Comment 1 Steve Loughran 2004-08-05 13:25:55 UTC
1. lots of the ant gui tools do this, such as the netbeans, eclipse and idea IDEs

2. ant -p lists all targets, or, if you add a description tag to them, it lists
only the public ones. 

surely these two should be sufficent. Yes?
Comment 2 pandc 2004-08-13 07:33:57 UTC
1. ant gui tools... could be, but not everyboy prefers to use 'm

2. ant -p lists all targets... then there is only more step to take
Comment 3 Matt Benson 2004-09-20 20:23:27 UTC
I'm not convinced...
Comment 4 Jesse Glick 2004-10-20 02:24:00 UTC
There's also

http://www.caliban.org/bash/index.shtml#completion

though it's not very robust (e.g. doesn't handle -f nor <import>).