Re: Feedback on OpenJDK jpackage tool early access builds

2019-10-09 Thread Dalibor Topic

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


--

Dalibor Topic | Consulting Product Manager
Phone: +494089091214  | Mobile: +491737185961
 | Video: 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

 Oracle is committed to developing
practices and products that help protect the environment



Re: Feedback on OpenJDK jpackage tool early access builds

2019-09-03 Thread Matthias Klose

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?

 - 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



Re: Feedback on OpenJDK jpackage tool early access builds

2019-09-03 Thread David Goodenough
Excellent

On Tuesday, 3 September 2019 09:26:46 BST Dalibor Topic wrote:
> Hi David,
> 
> the jpackage tool is programming language agnostic, as long as the input
> is provided as modules and/or JAR files.
> 
> The jpackage launcher creates a JVM instance and then calls into the
> "static void main(String[])" method of the specified main class, but
> doesn't otherwise care what is in the application.
> 
> cheers,
> dalibor topic
> 
> On 30.08.2019 19:31, David Goodenough wrote:
> > Is this intended to work with all JVM languages, or just Java? I don't
> > expect support for other languages, just tolerance.
> > 
> > David
> > 
> > On Friday, 30 August 2019 10:32:34 BST Dalibor Topic wrote:
> >  > Salut Raphael,
> >  > 
> >  > 
> >  > 
> >  > thank you very much - we're looking forward to your feedback!
> >  > 
> >  > 
> >  > 
> >  > cheers,
> >  > 
> >  > dalibor topic
> >  > 
> >  > On 30.08.2019 10:37, raphael.jo...@free.fr wrote:
> >  > > Hi Dalibor,
> >  > > 
> >  > > 
> >  > > 
> >  > > I am a Debian Java user. I would like to test JPackage on my project
> >  > > 
> >  > > https://github.com/rjolly/linoleum . Currently, I use JDeb to
> > 
> > package it
> > 
> >  > > in a pure Java fashion. Formerly, I was using
> >  > > 
> >  > > https://github.com/mscurtescu/ant-deb-task , which works not bad,
> > 
> > but is
> > 
> >  > > not included in Debian.
> >  > > 
> >  > > 
> >  > > 
> >  > > I am downloading the JPackage early access build, and will keep you
> >  > > 
> >  > > informed. I will manage to subscribe to the openjdk mailing list too.
> >  > > 
> >  > > 
> >  > > 
> >  > > Best regards,
> >  > > 
> >  > > Raphael Jolly
> >  > > 
> >  > > 
> >  > > 
> >  > > Dalibor Topic wrote:
> >  > > 
> >  > > 
> >  > > 
> >  > > Hi,
> >  > > 
> >  > > 
> >  > > 
> >  > > We're working in the OpenJDK Community on a new tool for packaging
> >  > > [1]
> >  > > 
> >  > > self-contained Java applications as DEBs as part of a future JDK
> > 
> > release
> > 
> >  > > and the developers (on CC:) would love to get some feedback about the
> >  > > 
> >  > > Linux integration, specifically on Debian Linux.
> >  > > 
> >  > > 
> >  > > 
> >  > > So I thought this would be a good place to reach out and inquire if
> > 
> > some
> > 
> >  > > Debian Java packagers (or users) would be interested in trying out
> >  > > the
> >  > > 
> >  > > early access build [2] and letting us know how well it behaves and
> > 
> > meets
> > 
> >  > > your expectations.
> >  > > 
> >  > > 
> >  > > 
> >  > > If you are interested in providing feedback, feel free to respond
> >  > > here
> >  > > 
> >  > > on this list, to us directly or on the core-libs-dev (at)
> >  > > 
> >  > > openjdk.java.net mailing list, where the development of jpackage is
> >  > > 
> >  > > currently discussed.
> > 

Re: Feedback on OpenJDK jpackage tool early access builds

2019-09-03 Thread Dalibor Topic

Hi David,

the jpackage tool is programming language agnostic, as long as the input 
is provided as modules and/or JAR files.


The jpackage launcher creates a JVM instance and then calls into the 
"static void main(String[])" method of the specified main class, but 
doesn't otherwise care what is in the application.


cheers,
dalibor topic

On 30.08.2019 19:31, David Goodenough wrote:
Is this intended to work with all JVM languages, or just Java? I don't 
expect support for other languages, just tolerance.


David

On Friday, 30 August 2019 10:32:34 BST Dalibor Topic wrote:

 > Salut Raphael,

 >

 > thank you very much - we're looking forward to your feedback!

 >

 > cheers,

 > dalibor topic

 >

 > On 30.08.2019 10:37, raphael.jo...@free.fr wrote:

 > > Hi Dalibor,

 > >

 > > I am a Debian Java user. I would like to test JPackage on my project

 > > https://github.com/rjolly/linoleum . Currently, I use JDeb to 
package it


 > > in a pure Java fashion. Formerly, I was using

 > > https://github.com/mscurtescu/ant-deb-task , which works not bad, 
but is


 > > not included in Debian.

 > >

 > > I am downloading the JPackage early access build, and will keep you

 > > informed. I will manage to subscribe to the openjdk mailing list too.

 > >

 > > Best regards,

 > > Raphael Jolly

 > >

 > > Dalibor Topic wrote:

 > >

 > > Hi,

 > >

 > > We're working in the OpenJDK Community on a new tool for packaging [1]

 > > self-contained Java applications as DEBs as part of a future JDK 
release


 > > and the developers (on CC:) would love to get some feedback about the

 > > Linux integration, specifically on Debian Linux.

 > >

 > > So I thought this would be a good place to reach out and inquire if 
some


 > > Debian Java packagers (or users) would be interested in trying out the

 > > early access build [2] and letting us know how well it behaves and 
meets


 > > your expectations.

 > >

 > > If you are interested in providing feedback, feel free to respond here

 > > on this list, to us directly or on the core-libs-dev (at)

 > > openjdk.java.net mailing list, where the development of jpackage is

 > > currently discussed.

 > >

 > > The latest early access build's 'release notes' can be found at:

 > > 
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.h


 > > tml

 > >

 > > cheers,

 > > dalibor topic

 > >

 > > [1] https://openjdk.java.net/jeps/343

 > > [2] http://jdk.java.net/jpackage/



--

Dalibor Topic | Consulting Product Manager
Phone: +494089091214  | Mobile: +491737185961
 | Video: 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

 Oracle is committed to developing
practices and products that help protect the environment



Re: Feedback on OpenJDK jpackage tool early access builds

2019-09-02 Thread Kevin Rushforth

Hi Emmanuel,

The jpackage JEP is still in the Candidate phase of development, meaning 
it hasn't been integrated into the mainline jdk repo yet. It is being 
developed in the "JDK-8200758-branch" branch of the jdk/sandbox repo:


hg clone https://hg.openjdk.java.net/jdk/sandbox
hg update JDK-8200758-branch

The sources are under "src/jdk.jpackage".

-- Kevin


On 9/2/2019 3:58 AM, Emmanuel Bourg wrote:

Hi Dalibor,

With my Debian Java maintainer and jdeb contributor hats I'm very
interested in reviewing the jpackage tool (and I would probably
contribute if the project moves to Git as part of Skara).

Where is located the jpackage source code in the OpenJDK repository?

Emmanuel Bourg


Le 29/08/2019 à 09:49, Dalibor Topic a écrit :

Hi,

We're working in the OpenJDK Community on a new tool for packaging [1]
self-contained Java applications as DEBs as part of a future JDK release
and the developers (on CC:) would love to get some feedback about the
Linux integration, specifically on Debian Linux.

So I thought this would be a good place to reach out and inquire if some
Debian Java packagers (or users) would be interested in trying out the
early access build [2] and letting us know how well it behaves and meets
your expectations.

If you are interested in providing feedback, feel free to respond here
on this list, to us directly or on the core-libs-dev (at)
openjdk.java.net mailing list, where the development of jpackage is
currently discussed.

The latest early access build's 'release notes' can be found at:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.html


cheers,
dalibor topic


[1] https://openjdk.java.net/jeps/343
[2] http://jdk.java.net/jpackage/




Re: Feedback on OpenJDK jpackage tool early access builds

2019-09-02 Thread Dalibor Topic

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

cheers,
dalibor topic

On 02.09.2019 12:58, Emmanuel Bourg wrote:

Hi Dalibor,

With my Debian Java maintainer and jdeb contributor hats I'm very
interested in reviewing the jpackage tool (and I would probably
contribute if the project moves to Git as part of Skara).

Where is located the jpackage source code in the OpenJDK repository?

Emmanuel Bourg


Le 29/08/2019 à 09:49, Dalibor Topic a écrit :

Hi,

We're working in the OpenJDK Community on a new tool for packaging [1]
self-contained Java applications as DEBs as part of a future JDK release
and the developers (on CC:) would love to get some feedback about the
Linux integration, specifically on Debian Linux.

So I thought this would be a good place to reach out and inquire if some
Debian Java packagers (or users) would be interested in trying out the
early access build [2] and letting us know how well it behaves and meets
your expectations.

If you are interested in providing feedback, feel free to respond here
on this list, to us directly or on the core-libs-dev (at)
openjdk.java.net mailing list, where the development of jpackage is
currently discussed.

The latest early access build's 'release notes' can be found at:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.html


cheers,
dalibor topic


[1] https://openjdk.java.net/jeps/343
[2] http://jdk.java.net/jpackage/




--

Dalibor Topic | Consulting Product Manager
Phone: +494089091214  | Mobile: +491737185961
 | Video: 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

 Oracle is committed to developing
practices and products that help protect the environment



Re: Feedback on OpenJDK jpackage tool early access builds

2019-08-30 Thread Dalibor Topic

Salut Raphael,

thank you very much - we're looking forward to your feedback!

cheers,
dalibor topic

On 30.08.2019 10:37, raphael.jo...@free.fr wrote:

Hi Dalibor,

I am a Debian Java user. I would like to test JPackage on my project 
https://github.com/rjolly/linoleum . Currently, I use JDeb to package it in a 
pure Java fashion. Formerly, I was using 
https://github.com/mscurtescu/ant-deb-task , which works not bad, but is not 
included in Debian.

I am downloading the JPackage early access build, and will keep you informed. I 
will manage to subscribe to the openjdk mailing list too.

Best regards,
Raphael Jolly

Dalibor Topic wrote:

Hi,

We're working in the OpenJDK Community on a new tool for packaging [1]
self-contained Java applications as DEBs as part of a future JDK release
and the developers (on CC:) would love to get some feedback about the
Linux integration, specifically on Debian Linux.

So I thought this would be a good place to reach out and inquire if some
Debian Java packagers (or users) would be interested in trying out the
early access build [2] and letting us know how well it behaves and meets
your expectations.

If you are interested in providing feedback, feel free to respond here
on this list, to us directly or on the core-libs-dev (at)
openjdk.java.net mailing list, where the development of jpackage is
currently discussed.

The latest early access build's 'release notes' can be found at:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.html

cheers,
dalibor topic

[1] https://openjdk.java.net/jeps/343
[2] http://jdk.java.net/jpackage/



--

Dalibor Topic | Consulting Product Manager
Phone: +494089091214  | Mobile: +491737185961
 | Video: 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

 Oracle is committed to developing
practices and products that help protect the environment



Re: Feedback on OpenJDK jpackage tool early access builds

2019-08-30 Thread raphael . jolly
Hi Dalibor,

I am a Debian Java user. I would like to test JPackage on my project 
https://github.com/rjolly/linoleum . Currently, I use JDeb to package it in a 
pure Java fashion. Formerly, I was using 
https://github.com/mscurtescu/ant-deb-task , which works not bad, but is not 
included in Debian.

I am downloading the JPackage early access build, and will keep you informed. I 
will manage to subscribe to the openjdk mailing list too.

Best regards,
Raphael Jolly

Dalibor Topic wrote:

Hi,

We're working in the OpenJDK Community on a new tool for packaging [1] 
self-contained Java applications as DEBs as part of a future JDK release 
and the developers (on CC:) would love to get some feedback about the 
Linux integration, specifically on Debian Linux.

So I thought this would be a good place to reach out and inquire if some 
Debian Java packagers (or users) would be interested in trying out the 
early access build [2] and letting us know how well it behaves and meets 
your expectations.

If you are interested in providing feedback, feel free to respond here 
on this list, to us directly or on the core-libs-dev (at) 
openjdk.java.net mailing list, where the development of jpackage is 
currently discussed.

The latest early access build's 'release notes' can be found at:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.html

cheers,
dalibor topic

[1] https://openjdk.java.net/jeps/343
[2] http://jdk.java.net/jpackage/



Feedback on OpenJDK jpackage tool early access builds

2019-08-29 Thread Dalibor Topic

Hi,

We're working in the OpenJDK Community on a new tool for packaging [1] 
self-contained Java applications as DEBs as part of a future JDK release 
and the developers (on CC:) would love to get some feedback about the 
Linux integration, specifically on Debian Linux.


So I thought this would be a good place to reach out and inquire if some 
Debian Java packagers (or users) would be interested in trying out the 
early access build [2] and letting us know how well it behaves and meets 
your expectations.


If you are interested in providing feedback, feel free to respond here 
on this list, to us directly or on the core-libs-dev (at) 
openjdk.java.net mailing list, where the development of jpackage is 
currently discussed.


The latest early access build's 'release notes' can be found at:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061977.html

cheers,
dalibor topic


[1] https://openjdk.java.net/jeps/343
[2] http://jdk.java.net/jpackage/
--

Dalibor Topic | Consulting Product Manager
Phone: +494089091214  | Mobile: +491737185961
 | Video: 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

 Oracle is committed to developing
practices and products that help protect the environment