{"id":473,"date":"2010-10-15T17:16:59","date_gmt":"2010-10-15T15:16:59","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2010\/10\/15\/ant-build-target-autocompletion-in-bash\/"},"modified":"2010-10-15T17:16:59","modified_gmt":"2010-10-15T15:16:59","slug":"ant-build-target-autocompletion-in-bash","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2010\/10\/15\/ant-build-target-autocompletion-in-bash\/","title":{"rendered":"Ant build target autocompletion in bash"},"content":{"rendered":"<p>Another simple one:<\/p>\n<ul>\n<li>Look up ant&#8217;s location: <code>which ant<\/code><\/li>\n<li>you should find a file there named <code>complete-ant-cmd.pl<\/code> or the like.\n\t<\/li>\n<li>add this to your .bashrc (one line):<br \/>\n<code>complete -C &lt;path to antbin dir&gt;\/complete-ant-cmd.pl ant<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Another simple one: Look up ant&#8217;s location: which ant you should find a file there named complete-ant-cmd.pl or the like. add this to your .bashrc (one line): complete -C &lt;path to antbin dir&gt;\/complete-ant-cmd.pl ant<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,10],"tags":[],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","category-linux","category-programming","category-tweaking"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}