RFR: JDK-8069064 Various improvements and fixes in build system
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Fri Jan 16 13:38:32 UTC 2015
On 2015-01-16 10:34, Volker Simonis wrote:
>> What you can do right now, if you use bash, is activating advanced bash
>> completion. Then you can type "make " and tab your way through the targets,
>> which is what I usually do. A warning though that without typing a few
>> letters, you get several hundreds targets listed.
>>
> Aadvanced bash completion is a cool feature I wasn't aware of until
> now - thanks for mentioning it.
>
> Unfortunately it doesn't seem to work out of the box on my Ubuntu
> 12.04. I only get:
>
> $ make [TAB][TAB]
> default Error help Makefile
>
> Do you use a special completion script?
I believe you might be trying this is a non-bleeding-edge repo. :-)
The problem is not in the bash completion, but in the makefile. This is
what happens if you do not have exactly one configuration, and are
standing in the source root directory. :-( This was very recently fixed
in jdk9, so that it should work even with multiple configurations, or
when standing in the build output directory. Without any configuration
at all, this is all you'll ever get, though (because without a
configuration, make cannot figure out which targets should be available,
and in a way, "no" targets are available unless you have a configuration).
/Magnus
More information about the build-dev
mailing list