ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Antifying bash?
Date Sat, 20 Oct 2001 14:40:18 GMT
Under the covers you could call "ant -projecthelp" and parse those results.
It would, of course, have to take into account when the -buildfile option
was being specified, and also the -find option.

I've seen posted on this list (or ant-user) an Ant "shell" that allows Ant
commands (targets) to be entered.  I believe it claimed to be faster because
it only did the parsing of the build file once.  I'm not sure how AntFarm in
jEdit works yet, but I just started using it and it has an Ant command
window which allows execution of targets easily - so that might be a good
place to look for insight into how to accomplish the bash trick.


----- Original Message -----
From: "Chris" <>
To: <>
Sent: Friday, October 19, 2001 10:03 PM
Subject: Fwd: Antifying bash?

> Hi all,
> This might be slightly OT, but I was thinking of how neat it would be for
> 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
> 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
> 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
> there's a speed bottleneck at parsing the build.xml file? (it's a small
> so there shouldn't be, but to fire up an XML parser, particularly one
> in Java, every time would probably be prohibitive.
> Thanks,
> Chris

View raw message