I recommend you use zsh and it's auto-complete functionality. With makefiles I have a perl script that auto-completes the targets, the same can be done with ant and it's definitly something I've planned on doing.
ms- On Fri, Oct 19, 2001 at 10:03:41PM -0400, Chris wrote: > Hi all, > > This might be slightly OT, but I was thinking of how neat it would be for the > Ant Community (I'm going to love saying that) to have an enhanced bash, or > other shell, that was smart enough to note that if the user is entering 'ant' > as their command, if that shell was then smart enough to whip through the > build.xml (or other build file if so specified), note all the tasks, and then > provide the same auto-complete features you otherwise get with file names. > > Does anyone have even the foggiest notion of how much work it would be, or if > there's a speed bottleneck at parsing the build.xml file? (it's a small file > so there shouldn't be, but to fire up an XML parser, particularly one written > in Java, every time would probably be prohibitive. > > Thanks, > Chris
