ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Laird" <>
Subject RE: JShell, ant and jlink
Date Thu, 03 Aug 2000 00:03:43 GMT
> -----Original Message-----
> From: James Duncan Davidson []
> Cool. That sounds like a little tool that I've been wanting 
> to write for a
> while (the jar merge functionality expressely).

Just a data point in case other jar users haven't discovered this (took me
about six months!):

The -C option, if used, has to be used before EACH FILE that you may want in
that directory.

So this doesn't work:

  jar cf thejar.jar -C /some/dir file1.txt file2.txt

...but this does:

  jar cf thejar.jar -C /some/dir file1.txt -C /some/dir file2.txt



View raw message