Re: Progress report on SLF4J project modularization

2017-03-26 Thread forax
- Mail original - > De: "Robert Scholte" > À: "Remi Forax" > Cc: jigsaw-dev@openjdk.java.net > Envoyé: Dimanche 26 Mars 2017 11:46:40 > Objet: Re: Progress report on SLF4J project modularization > Hi Rémi, caveat: i'm not fully competent he

Re: Progress report on SLF4J project modularization

2017-03-26 Thread Robert Scholte
e of javac changes the way a synthetic class is named (you will have the two versions with the compiler plugin). cheers, Rémi - Mail original - De: "Robert Scholte" À: jigsaw-dev@openjdk.java.net Envoyé: Samedi 25 Mars 2017 18:56:50 Objet: Re: Progress report on SLF4J project modu

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Remi Forax
e two versions with the compiler plugin). cheers, Rémi - Mail original - > De: "Robert Scholte" > À: jigsaw-dev@openjdk.java.net > Envoyé: Samedi 25 Mars 2017 18:56:50 > Objet: Re: Progress report on SLF4J project modularization > On Sat, 25 Mar 2017 15:

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Gregg Wonderly
Parts of this feel like a health care act... Gregg Sent from my iPhone > On Mar 24, 2017, at 2:33 PM, Ceki Gülcü wrote: > > > >> On 3/24/2017 19:28, David M. Lloyd wrote: >> >> Hi Ceki, we came up with an approach that works for us (though it's a >> bit cumbersome). See: http://word-bits.f

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Robert Scholte
On Sat, 25 Mar 2017 15:38:27 +0100, Ceki Gulcu wrote: Following the recipe at [2], it all seems to work. Good to read that the recipe works. If we need to add things to this recipe to improve it, just let me know. Although in general I don't think we'll be helping developers if we show th

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Ceki Gulcu
Hi Alan, Following the recipe at [2], it all seems to work. After modularizing the SLF4J project under Java9/Maven I tried to have the project compile for Java 6 (except modules-info.java) and have modules-info.java compile with Java 9. Trying a MR-JAR approach, I got very confused when I coul

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Alan Bateman
On 25/03/2017 08:04, Ceki Gülcü wrote: : Right, project code does not have anything Java9 specific except module-info.class. So if I understand correctly, source code except module-info.java would need to be compiled targeting an older java version, say 1.6, and module-info.java would be c

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Ceki Gülcü
On 3/25/2017 8:47, Alan Bateman wrote: On 24/03/2017 17:41, Ceki Gülcü wrote: Hi All, The initial phase of SLF4J project modularization in preparation for Java 9/Jigsaw went well. I ran into many wrinkles most of which were due to my own ignorance about Java 9 modules. You can see the resu

Re: Progress report on SLF4J project modularization

2017-03-25 Thread Alan Bateman
On 24/03/2017 17:41, Ceki Gülcü wrote: Hi All, The initial phase of SLF4J project modularization in preparation for Java 9/Jigsaw went well. I ran into many wrinkles most of which were due to my own ignorance about Java 9 modules. You can see the results at https://github.com/qos-ch/slf4j/tr

Re: Progress report on SLF4J project modularization

2017-03-24 Thread Alex Buckley
On 3/24/2017 1:12 PM, Ceki Gülcü wrote: To be more precise, I am trying to have a single jar file which will be seen as modular on Java 9 and as a regular jar in older JVMs, with module-info.class ignored. Isn't that just the first two javac invocations in Alan's mail at http://mail.openjdk.ja

Re: Progress report on SLF4J project modularization

2017-03-24 Thread David M. Lloyd
On 03/24/2017 02:33 PM, Ceki Gülcü wrote: On 3/24/2017 19:28, David M. Lloyd wrote: Hi Ceki, we came up with an approach that works for us (though it's a bit cumbersome). See: http://word-bits.flurg.com/multrelease-jars/ Hi David, Thanks for the pointer. I am trying to compile modules-in

Re: Progress report on SLF4J project modularization

2017-03-24 Thread Patrick Reinhart
Hi David, I tried to port your approach to apply to the SLF4J Project, but due my lack of Maven experience it was doomed to fail. Seems, that a small contribution would be very welcome :-) Cheers Patrick > Am 24.03.2017 um 19:28 schrieb David M. Lloyd : > > On 03/24/2017 12:41 PM, Ceki Gülcü

Re: Progress report on SLF4J project modularization

2017-03-24 Thread Ceki Gülcü
On 3/24/2017 20:33, Ceki Gülcü wrote: On 3/24/2017 19:28, David M. Lloyd wrote: Hi Ceki, we came up with an approach that works for us (though it's a bit cumbersome). See: http://word-bits.flurg.com/multrelease-jars/ To be more precise, I am trying to have a single jar file which will b

Re: Progress report on SLF4J project modularization

2017-03-24 Thread Ceki Gülcü
On 3/24/2017 19:28, David M. Lloyd wrote: Hi Ceki, we came up with an approach that works for us (though it's a bit cumbersome). See: http://word-bits.flurg.com/multrelease-jars/ Hi David, Thanks for the pointer. I am trying to compile modules-info.java selectively which seems to be a mu

Re: Progress report on SLF4J project modularization

2017-03-24 Thread David M. Lloyd
On 03/24/2017 12:41 PM, Ceki Gülcü wrote: Hi All, The initial phase of SLF4J project modularization in preparation for Java 9/Jigsaw went well. I ran into many wrinkles most of which were due to my own ignorance about Java 9 modules. You can see the results at https://github.com/qos-ch/slf4j/

Progress report on SLF4J project modularization

2017-03-24 Thread Ceki Gülcü
Hi All, The initial phase of SLF4J project modularization in preparation for Java 9/Jigsaw went well. I ran into many wrinkles most of which were due to my own ignorance about Java 9 modules. You can see the results at https://github.com/qos-ch/slf4j/tree/1_8_0-SNAPSHOT Now that the initial p