public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fastjar/22012] New: fastjar -C gets confused with more than one argument
@ 2005-06-10 21:48 debian-gcc at lists dot debian dot org
2005-06-16 1:38 ` [Bug fastjar/22012] " tromey at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-06-10 21:48 UTC (permalink / raw)
To: gcc-bugs
+ mkdir -p tmp/a tmp/b
+ touch tmp/a/a.class tmp/b/b.class
+ fastjar cvf -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: tmp/ (in=0) (out=0) (stored 0%)
adding: tmp/a/ (in=0) (out=0) (stored 0%)
adding: tmp/a/a.class (in=0) (out=2) (deflated -2147483648%)
adding: tmp/b/ (in=0) (out=0) (stored 0%)
adding: tmp/b/b.class (in=0) (out=2) (deflated -2147483648%)
a: No such file or directory
Error adding a to jar archive!
--
Summary: fastjar -C gets confused with more than one argument
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fastjar
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22012
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fastjar/22012] fastjar -C gets confused with more than one argument
2005-06-10 21:48 [Bug fastjar/22012] New: fastjar -C gets confused with more than one argument debian-gcc at lists dot debian dot org
@ 2005-06-16 1:38 ` tromey at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-06-16 1:38 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-16 1:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-10 21:48 [Bug fastjar/22012] New: fastjar -C gets confused with more than one argument debian-gcc at lists dot debian dot org
2005-06-16 1:38 ` [Bug fastjar/22012] " tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).