A pedant that hangs out in the dark corner-cases of the web.

Monday, December 04, 2006

jar help is misleading

Java developers, type jar and you are shown:

Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...

The problem? The name of the jar-file and the manifest-file must appear in the same order as the f and m options (respectively), or it will fail.