From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: liliana.prikler@ist.tugraz.at,
Tobias Geerinckx-Rice <me@tobias.gr>,
58591@debbugs.gnu.org
Subject: bug#58591: Java packages do not appear to keep a reference to their inputs
Date: Tue, 18 Oct 2022 19:25:57 -0400 [thread overview]
Message-ID: <87sfjkvhmi.fsf@gmail.com> (raw)
In-Reply-To: <08A37CE8-730E-4FD8-96B5-64CC874BFA9B@lepiller.eu> (Julien Lepiller's message of "Tue, 18 Oct 2022 17:32:32 +0200")
Hello,
Julien Lepiller <julien@lepiller.eu> writes:
> Hi, replying to a few emails at once.
>
> The ant-build-system uses zip -0 to produce an uncompressed
> archive. By default, jar produces a compressed one, so there's a
> repack phase for that:
> http://git.savannah.nongnu.org/cgit/guix.git/tree/guix/build/ant-build-system.scm#n226
Ah, I had missed the -0 == uncompressed part. Thank you.
> Embedding the classpath in the manifest is possible but would not have
> the expected effect. That's because a line in the manifest cannot
> exceed 72 bytes (see "line length" in
> https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Notes_on_Manifest_and_Signature_Files),
> so the classpath will look like:
>
> Class-Path: ../../../1234567891011
> 1213141516/share/java/foo.jar
Although it looks like the 72 bytes line width limitation may has to do
with binary data:
Binary data of any form is represented as base64. Continuations are
required for binary data which causes line length to exceed 72
bytes. Examples of binary data are digests and signatures.
Worth a try in my opinion (I'm giving it a shot as I write this).
Thanks for the explanations!
Maxim
next prev parent reply other threads:[~2022-10-18 23:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 21:04 bug#58591: Java packages do not appear to keep a reference to their inputs Maxim Cournoyer
2022-10-17 22:03 ` Julien Lepiller
2022-10-18 1:43 ` Mark H Weaver
2022-10-18 2:45 ` Maxim Cournoyer
2022-10-18 7:01 ` Maxime Devos
2022-10-18 7:36 ` Liliana Marie Prikler
2022-10-18 13:14 ` Maxim Cournoyer
2022-10-18 13:21 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-10-18 14:17 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-10-18 14:53 ` Maxim Cournoyer
2022-10-18 14:56 ` Maxim Cournoyer
2022-10-18 15:32 ` Julien Lepiller
2022-10-18 23:25 ` Maxim Cournoyer [this message]
2022-10-18 13:29 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfjkvhmi.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=58591@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=liliana.prikler@ist.tugraz.at \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.