[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
Sun Jul 20 08:53:59 UTC 2014


bash-completion-Bugs item #314735 was changed at 2014-07-20 11:53 by Ville Skyttä
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.

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

>Comment By: Ville Skyttä  (scop-guest)
Date: 2014-07-20 11:53

Message:
The "Also, ..." case is done in http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=86df56d5ec986566a33cc5b1067c6dbc6078dab1

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

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