------- Additional Comments From tromey at gcc dot gnu dot org 2005-06-16 01:38 ------- This is actually how jar is supposed to work. It is silly, but afaics the JDK jar works the same way. I'm closing the PR for this reason.
FWIW I had to add another argument and I get this: opsy. jar -cvf qq.jar -C tmp a b adding: META-INF/ (in=0) (out=0) (stored 0%) adding: META-INF/MANIFEST.MF (in=56) (out=56) (stored 0%) adding: a/ (in=0) (out=0) (stored 0%) adding: a/a (in=0) (out=2) (deflated -2147483648%) b: No such file or directory Error adding b to jar archive! and here it is working: opsy. jar -cvf qq.jar -C tmp a -C tmp b adding: META-INF/ (in=0) (out=0) (stored 0%) adding: META-INF/MANIFEST.MF (in=56) (out=56) (stored 0%) adding: a/ (in=0) (out=0) (stored 0%) adding: a/a (in=0) (out=2) (deflated -2147483648%) adding: b/ (in=0) (out=0) (stored 0%) adding: b/b (in=0) (out=2) (deflated -2147483648%) Total: ------ (in = 45) (out = 605) (deflated -1244%) -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22012 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]