[Bash-completion-devel] [bash-completion-Bugs][314735] ant completion ignores $ANT_ARGS

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Jun 17 09:12:40 UTC 2014


bash-completion-Bugs item #314735, was opened at 2014-06-17 11:12 by Christian Schmidt
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314735&group_id=100114

Status: Open
Priority: 3
Submitted By: Christian Schmidt (c960657-guest)
Assigned to: Nobody (None)
Summary: ant completion ignores $ANT_ARGS 
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
In my .bashrc I have defined the following environment variable:

export ANT_ARGS="-find build.xml"

This allows me to run "ant foo-target" in any subfolder of my project. However, the ant completion only suggests the possible targets when I am in the folder containing build.xml.

The completion script should support the -find command line argument in addition to -buildfile. Also, it should not only look for -find/-buildfile in arguments previously typed on the command line but also in the $ANT_ARGS environment variable.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314735&group_id=100114



More information about the Bash-completion-devel mailing list