PATCH: Tired of waiting for rt.jar to build?
martinrb at google.com
Wed Apr 29 13:25:13 PDT 2009
Since writing this, I have learned, to my horror, that the
behavior of the -C flag differs from the behavior in tar in that
- -C is not sticky - it applies only to the one following argument
- the path is relative to the JDK's current directory, not the
previous -C directory.
despite assurances from jar(1)
Temporarily changes directories (cd dir) during execution of the
jar command while processing the following inputfiles argument.
Its operation is intended to be similar to the -C option of the
UNIX tar utility.
If you squint, you can see that it says "argument", not "arguments".
On Mon, Apr 27, 2009 at 17:54, Martin Buchholz <martinrb at google.com> wrote:
> I believe the better fix would be
> to eviscerate the code that handles the "-C" flag and do it right,
> Someone who cares about the Makefiles can also try to remove the
> 16000 gratuitous -C flags that makes jar's life "jar hell".
More information about the core-libs-dev