On 03.09.2019 18:40, Matthias Klose wrote:
On 02.09.19 13:22, Dalibor Topic wrote:
Hi Emmanuel,

thank you for your interest - the jpackage source code can be found in the JDK-8200758-branch of the JDK sandbox repository at
https://hg.openjdk.java.net/jdk/sandbox

I haven't looked into that yet, but some questions first:

  - is the tool able to create source packages? and maybe
    differentiate here between pure source packages, and
    "source" packages just containing jar files?

Hi Matthias,

- jpackage is not producing source Debian packages, so it wouldn't be suitable in the current state for uploads into Debian main, etc.

- jpackage is not fetching anything from network when bundling apps in Debian packages.

See https://hg.openjdk.java.net/jdk/sandbox/file/67ffaf3a2b75/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/LinuxDebBundler.java for details of the (evolving) implementation.

cheers,
dalibor topic


  - is the tool able to build without fetching anything
    from random websites? e.g. to create a self-contained
    source repository?

These are two re-occurring issues when creating deb packages which can be uploaded to the Debian archives.

Matthias

--
<http://www.oracle.com>
Dalibor Topic | Consulting Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961> | Video: dalibor.to...@oracle.com
<sip:dalibor.to...@oracle.com>

Oracle Global Services Germany GmbH
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRB 246209
Geschäftsführer: Ralf Herrmann

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment

Reply via email to