Wednesday, June 21, 2006
Ant bash completion
In the ant/bin folder there is a Perl file called complete-ant-cmd.pl. Check the comment at the top of the file for installation instructions. In my Ubuntu notebook I had to add “complete -C complete-ant-cmd.pl ant build.sh” to my .bashrc file and not “$ complete -C complete-ant-cmd ant build.sh” (no $ and add .pl to the command). Also, not sure why is build.sh needed in all this. Anyhow, after installing this extension command completion for Ant works great. It is a bit slow the very first time you use it but it creates a cache file called .ant-targets-... and then it is much faster.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment