[cross-project-issues-dev] Eclipse plug-ins as automatic modules in Java 9?

2017-10-05 Thread Stephan Herrmann

Hi,

I just noticed by chance that none of the artifacts we are producing
are consumable as "automatic modules" in Java 9 speak.

The reason is: JPMS defines an algorithm how names for automatic modules
are derived from the jar file name. Unfortunately, the spec expects any
version to be separated from the name by "-", whereas our files use "_".

As a result a jar file like
   org.eclipse.equinox.common_3.9.0.v20170207.jar
is interpreted as an automatic module named
   org.eclipse.equinox.common.3.9.0.v20170207
(cutting off the version fails, then "_" is converted to ".").

Since that module name is not a legal Java identifier, the given jar file
cannot be referenced in any "requires" clause of a Java 9 module.

While all this is very unfortunate, Java 9 provides a means for a systematic
solution: adding an Automatic-Module-Name header to MANIFEST.MF.

Hence, I propose to make this a rule for future releases that all bundles
should have this manifest header, where the value should be identical to
the value of Bundle-SymbolicName.

There may not yet be any consumers of Eclipse plug-ins as Java 9 modules,
but as we know that several of our artifacts are being consumed outside OSGi,
I am sure that clients will expect our artifacts to be consumable as Java 9
modules sooner or later. And then a general solution looks cleaner to me
then doing this for selected artifacts only.

best,
Stephan

Reference for naming of automatic modules:
http://cr.openjdk.java.net/~mr/jigsaw/spec/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Fred Bricon
Hey Fred,

I published a fixed m2e 1.8.2 and updated the simrel contribution
in Oxygen.1a_JDK9[1].

Thanks,

Fred

[1]
https://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/commit/?h=Oxygen.1a_JDK9&id=4436e75e460e57ab9cd6fcb17cce3b7bd6d1fabc


On Thu, Oct 5, 2017 at 11:40 AM, Frederic Gurr <
frederic.g...@eclipse-foundation.org> wrote:

> Hi,
>
> I have not announced staging for Oxygen.1a RC2 to be complete yet.
> So even though this is very late, I'd say you can go ahead and provide a
> fix.
>
> Please let me know, when you're done and the fix is committed.
>
> Regards,
>
> Fred
>
> On 05.10.2017 16:58, Fred Bricon wrote:
> > Hi,
> >
> > we just found out the cause of
> > bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
> > , which prevents
> > you from running Maven builds on Java 9 projects on Windows specifically.
> >
> > Java 9 no longer supports classpaths sent with the form /c:/whatever
> > (worked in previous Java versions) as sent by m2e.
> > I believe we can provide a fix today. Is it possible to delay the
> > Oxygen.1a RC2 aggregation builds to tonight?
> >
> > Fred
> >
> >
> > On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp
> >  > > wrote:
> >
> > Ah, Java Development Tools Launching Support is at
> > 3.9.50.v2070925-1051 in that latest EPP build which might just not
> > yet include the fix from the same day.
> >
> > __ __
> >
> > *Von:*cross-project-issues-dev-boun...@eclipse.org
> > 
> > [mailto:cross-project-issues-dev-boun...@eclipse.org
> > ] *Im Auftrag
> > von *Fred Bricon
> > *Gesendet:* Mittwoch, 4. Oktober 2017 16:04
> >
> >
> > *An:* Cross project issues
> > *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails
> > with org.codehaus.plexus.classworlds.launcher.Launcher when running
> > with JDK 9
> >
> > __ __
> >
> > I'll see if I can workaround it on m2e's side for RC2. Not promising
> > any miracles though.
> >
> > __ __
> >
> > Fred
> >
> > __ __
> >
> > On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp
> >  > > wrote:
> >
> > Thanks. Didn’t come up in my bugzilla searches as it is marked
> > fixed.
> >
> > Doesn’t seem fixed to me.
> >
> >  
> >
> > Regards
> >
> > Arthur
> >
> >  
> >
> > *Von:*cross-project-issues-dev-boun...@eclipse.org
> > 
> > [mailto:cross-project-issues-dev-boun...@eclipse.org
> > ] *Im Auftrag
> > von *Fred Bricon
> > *Gesendet:* Mittwoch, 4. Oktober 2017 15:48
> > *An:* Cross project issues
> > *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails
> > with org.codehaus.plexus.classworlds.launcher.Launcher when running
> > with JDK 9
> >
> >  
> >
> > You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
> > 
> >
> >  
> >
> > On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp
> >  > > wrote:
> >
> > Hi all
> >
> >  
> >
> > As the RC2 window already closes and the final Oxygen.1a
> > contributions are due soon, I bring up the following issue directly
> > on this list:
> >
> >  
> >
> > On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven
> > commands fails with
> >
> > Error: Could not find or load main class
> > org.codehaus.plexus.classworlds.launcher.Launcher
> >
> > Caused by: _java.lang.ClassNotFoundException_:
> > org.codehaus.plexus.classworlds.launcher.Launcher
> >
> > Switching to a JDK 8 resolves the problem.
> >
> >  
> >
> > Steps to reproduce:
> >
> > *New workspace
> >
> > *File/New Other…/Maven/Maven Project/Create dummy project
> >
> > *Select project folder/Right click/Run As…/Maven clean
> >
> >  
> >
> > I’ve reproduced this under Windows 7 and the Scout EPP package. To
> > make sure it isn’t a Scout issue I’ve tested with a post RC1 EPP
> > package of Eclipse Java too.
> >
> >  
> >
> > Has anyone else experienced this? Is anyone else able to reproduce
> > it?
> >
> >  
> >
> > Thanks and regards
> >
> > Arthur
> >
> >  
> >
> >
> > ___
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@eclipse.org
> > 
> > To change your delivery options, retrieve your password, or
> >  

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Frederic Gurr
Hi,

I have not announced staging for Oxygen.1a RC2 to be complete yet.
So even though this is very late, I'd say you can go ahead and provide a
fix.

Please let me know, when you're done and the fix is committed.

Regards,

Fred

On 05.10.2017 16:58, Fred Bricon wrote:
> Hi, 
> 
> we just found out the cause of
> bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
> , which prevents
> you from running Maven builds on Java 9 projects on Windows specifically.
> 
> Java 9 no longer supports classpaths sent with the form /c:/whatever
> (worked in previous Java versions) as sent by m2e.
> I believe we can provide a fix today. Is it possible to delay the
> Oxygen.1a RC2 aggregation builds to tonight?
> 
> Fred
> 
> 
> On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp
>  > wrote:
> 
> Ah, Java Development Tools Launching Support is at
> 3.9.50.v2070925-1051 in that latest EPP build which might just not
> yet include the fix from the same day.
> 
> __ __
> 
> *Von:*cross-project-issues-dev-boun...@eclipse.org
> 
> [mailto:cross-project-issues-dev-boun...@eclipse.org
> ] *Im Auftrag
> von *Fred Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 16:04
> 
> 
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails
> with org.codehaus.plexus.classworlds.launcher.Launcher when running
> with JDK 9
> 
> __ __
> 
> I'll see if I can workaround it on m2e's side for RC2. Not promising
> any miracles though.
> 
> __ __
> 
> Fred
> 
> __ __
> 
> On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp
>  > wrote:
> 
> Thanks. Didn’t come up in my bugzilla searches as it is marked
> fixed.
> 
> Doesn’t seem fixed to me.
> 
>  
> 
> Regards
> 
> Arthur
> 
>  
> 
> *Von:*cross-project-issues-dev-boun...@eclipse.org
> 
> [mailto:cross-project-issues-dev-boun...@eclipse.org
> ] *Im Auftrag
> von *Fred Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 15:48
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails
> with org.codehaus.plexus.classworlds.launcher.Launcher when running
> with JDK 9
> 
>  
> 
> You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
> 
> 
>  
> 
> On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp
>  > wrote:
> 
> Hi all
> 
>  
> 
> As the RC2 window already closes and the final Oxygen.1a
> contributions are due soon, I bring up the following issue directly
> on this list:
> 
>  
> 
> On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven
> commands fails with
> 
> Error: Could not find or load main class
> org.codehaus.plexus.classworlds.launcher.Launcher
> 
> Caused by: _java.lang.ClassNotFoundException_:
> org.codehaus.plexus.classworlds.launcher.Launcher
> 
> Switching to a JDK 8 resolves the problem.
> 
>  
> 
> Steps to reproduce:
> 
> *New workspace
> 
> *File/New Other…/Maven/Maven Project/Create dummy project
> 
> *Select project folder/Right click/Run As…/Maven clean
> 
>  
> 
> I’ve reproduced this under Windows 7 and the Scout EPP package. To
> make sure it isn’t a Scout issue I’ve tested with a post RC1 EPP
> package of Eclipse Java too.
> 
>  
> 
> Has anyone else experienced this? Is anyone else able to reproduce
> it?
> 
>  
> 
> Thanks and regards
> 
> Arthur
> 
>  
> 
> 
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> 
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> 
> 
> 
> 
> 
> 
>  
> 
> -- 
> 
> "Have you tried turning it off and on again" - The IT Crowd
> 
> And if that fails, then http://goo.gl/tnBgH5
> 
> 
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> 
> To change your delivery options,

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Daniel Megert
> We as in the m2e project. We rolled our RC2 build on Tuesday, I'm asking 
whether we can respin it with a fix for this serious bug, before we build 
the EPP distros 

Cool!

Dani



From:   Fred Bricon 
To: Cross project issues 
Date:   05.10.2017 17:15
Subject:Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails 
with org.codehaus.plexus.classworlds.launcher.Launcher when running with 
JDK 9
Sent by:cross-project-issues-dev-boun...@eclipse.org



We as in the m2e project. We rolled our RC2 build on Tuesday, I'm asking 
whether we can respin it with a fix for this serious bug, before we build 
the EPP distros 

On Thu, Oct 5, 2017 at 11:10 AM, Daniel Megert  
wrote:
> I believe we can provide a fix today.

Hi Fred

Who is "we"? Which project? The Platform/JDT is done. RC2 was last Friday.

Dani



From:Fred Bricon 
To:Cross project issues 
Date:05.10.2017 16:58
Subject:Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails 
with org.codehaus.plexus.classworlds.launcher.Launcher when running with 
JDK 9
Sent by:cross-project-issues-dev-boun...@eclipse.org




Hi, 

we just found out the cause of bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333, which prevents you 
from running Maven builds on Java 9 projects on Windows specifically.

Java 9 no longer supports classpaths sent with the form /c:/whatever 
(worked in previous Java versions) as sent by m2e.
I believe we can provide a fix today. Is it possible to delay the 
Oxygen.1a RC2 aggregation builds to tonight?

Fred


On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Ah, Java Development Tools Launching Support is at 3.9.50.v2070925-1051 in 
that latest EPP build which might just not yet include the fix from the 
same day.
 
Von: cross-project-issues-dev-boun...@eclipse.org[mailto:
cross-project-issues-dev-boun...@eclipse.org] Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 16:04

An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
 
I'll see if I can workaround it on m2e's side for RC2. Not promising any 
miracles though.
 
Fred
 
On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Thanks. Didn?t come up in my bugzilla searches as it is marked fixed.
Doesn?t seem fixed to me.
 
Regards
Arthur
 
Von: cross-project-issues-dev-boun...@eclipse.org[mailto:
cross-project-issues-dev-boun...@eclipse.org] Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 15:48
An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
 
You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
 
On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Hi all
 
As the RC2 window already closes and the final Oxygen.1a contributions are 
due soon, I bring up the following issue directly on this list:
 
On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven commands 
fails with
Error: Could not find or load main class 
org.codehaus.plexus.classworlds.launcher.Launcher
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.plexus.classworlds.launcher.Launcher
Switching to a JDK 8 resolves the problem.
 
Steps to reproduce:
*New workspace
*File/New Other?/Maven/Maven Project/Create dummy project
*Select project folder/Right click/Run As?/Maven clean
 
I?ve reproduced this under Windows 7 and the Scout EPP package. To make 
sure it isn?t a Scout issue I?ve tested with a post RC1 EPP package of 
Eclipse Java too.
 
Has anyone else experienced this? Is anyone else able to reproduce it?
 
Thanks and regards
Arthur
 

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

 
-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

 
-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



-- 
"Have you tried turning it off and on again" - The

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Arthur van Dorp
For which „we“ as in the Scout project would be very grateful for.

Thanks and regards,
Arthur

Von: cross-project-issues-dev-boun...@eclipse.org 
[mailto:cross-project-issues-dev-boun...@eclipse.org] Im Auftrag von Fred Bricon
Gesendet: Donnerstag, 5. Oktober 2017 17:15
An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

We as in the m2e project. We rolled our RC2 build on Tuesday, I'm asking 
whether we can respin it with a fix for this serious bug, before we build the 
EPP distros

On Thu, Oct 5, 2017 at 11:10 AM, Daniel Megert 
mailto:daniel_meg...@ch.ibm.com>> wrote:
> I believe we can provide a fix today.

Hi Fred

Who is "we"? Which project? The Platform/JDT is done. RC2 was last Friday.

Dani



From:Fred Bricon mailto:fbri...@gmail.com>>
To:Cross project issues 
mailto:cross-project-issues-dev@eclipse.org>>
Date:05.10.2017 16:58
Subject:Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
Sent by:
cross-project-issues-dev-boun...@eclipse.org




Hi,

we just found out the cause of bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333,
 which prevents you from running Maven builds on Java 9 projects on Windows 
specifically.

Java 9 no longer supports classpaths sent with the form /c:/whatever (worked in 
previous Java versions) as sent by m2e.
I believe we can provide a fix today. Is it possible to delay the Oxygen.1a RC2 
aggregation builds to tonight?

Fred


On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp 
mailto:arthur.vand...@bsi-software.com>> wrote:
Ah, Java Development Tools Launching Support is at 3.9.50.v2070925-1051 in that 
latest EPP build which might just not yet include the fix from the same day.


Von: 
cross-project-issues-dev-boun...@eclipse.org[mailto:cross-project-issues-dev-boun...@eclipse.org]
 Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 16:04

An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9


I'll see if I can workaround it on m2e's side for RC2. Not promising any 
miracles though.



Fred


On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp 
mailto:arthur.vand...@bsi-software.com>> wrote:
Thanks. Didn’t come up in my bugzilla searches as it is marked fixed.
Doesn’t seem fixed to me.



Regards

Arthur


Von: 
cross-project-issues-dev-boun...@eclipse.org[mailto:cross-project-issues-dev-boun...@eclipse.org]
 Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 15:48
An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9


You've hit 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333


On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp 
mailto:arthur.vand...@bsi-software.com>> wrote:

Hi all


As the RC2 window already closes and the final Oxygen.1a contributions are due 
soon, I bring up the following issue directly on this list:


On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven commands fails 
with
Error: Could not find or load main class 
org.codehaus.plexus.classworlds.launcher.Launcher

Caused by: java.lang.ClassNotFoundException: 
org.codehaus.plexus.classworlds.launcher.Launcher
Switching to a JDK 8 resolves the problem.



Steps to reproduce:

*New workspace
*File/New Other…/Maven/Maven Project/Create dummy project
*Select project folder/Right click/Run As…/Maven clean


I’ve reproduced this under Windows 7 and the Scout EPP package. To make sure it 
isn’t a Scout issue I’ve tested with a post RC1 EPP package of Eclipse Java too.


Has anyone else experienced this? Is anyone else able to reproduce it?



Thanks and regards

Arthur



___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Fred Bricon
We as in the m2e project. We rolled our RC2 build on Tuesday, I'm asking
whether we can respin it with a fix for this serious bug, before we build
the EPP distros

On Thu, Oct 5, 2017 at 11:10 AM, Daniel Megert 
wrote:

> > I believe we can provide a fix today.
>
> Hi Fred
>
> Who is "we"? Which project? The Platform/JDT is done. RC2 was last Friday.
>
> Dani
>
>
>
> From:Fred Bricon 
> To:Cross project issues 
> Date:05.10.2017 16 <05%2010%2020%2017%2016>:58
> Subject:Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails
> with org.codehaus.plexus.classworlds.launcher.Launcher when running with
> JDK 9
> Sent by:cross-project-issues-dev-boun...@eclipse.org
> --
>
>
>
> Hi,
>
> we just found out the cause of bug
> *https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333*
> ,
> which prevents you from running Maven builds on Java 9 projects on Windows
> specifically.
>
> Java 9 no longer supports classpaths sent with the form /c:/whatever
> (worked in previous Java versions) as sent by m2e.
> I believe we can provide a fix today. Is it possible to delay the
> Oxygen.1a RC2 aggregation builds to tonight?
>
> Fred
>
>
> On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp <
> *arthur.vand...@bsi-software.com* >
> wrote:
> Ah, Java Development Tools Launching Support is at 3.9.50.v2070925-1051 in
> that latest EPP build which might just not yet include the fix from the
> same day.
>
>
>
> *Von:* *cross-project-issues-dev-boun...@eclipse.org*
> [mailto:
> *cross-project-issues-dev-boun...@eclipse.org*
> ] *Im Auftrag von *Fred
> Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 16:04
>
>
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with
> org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
>
>
>
> I'll see if I can workaround it on m2e's side for RC2. Not promising any
> miracles though.
>
>
>
> Fred
>
>
>
> On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp <
> *arthur.vand...@bsi-software.com* >
> wrote:
>
> Thanks. Didn’t come up in my bugzilla searches as it is marked fixed.
>
> Doesn’t seem fixed to me.
>
>
>
> Regards
>
> Arthur
>
>
>
> *Von:* *cross-project-issues-dev-boun...@eclipse.org*
> [mailto:
> *cross-project-issues-dev-boun...@eclipse.org*
> ] *Im Auftrag von *Fred
> Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 15:48
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with
> org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
>
>
>
> You've hit *https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333*
> 
>
>
>
> On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp <
> *arthur.vand...@bsi-software.com* >
> wrote:
>
> Hi all
>
>
>
> As the RC2 window already closes and the final Oxygen.1a contributions are
> due soon, I bring up the following issue directly on this list:
>
>
>
> On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven commands
> fails with
>
> Error: Could not find or load main class org.codehaus.plexus.classworld
> s.launcher.Launcher
>
> Caused by: *java.lang.ClassNotFoundException*:
> org.codehaus.plexus.classworlds.launcher.Launcher
>
> Switching to a JDK 8 resolves the problem.
>
>
>
> Steps to reproduce:
>
> *New workspace
>
> *File/New Other…/Maven/Maven Project/Create dummy project
>
> *Select project folder/Right click/Run As…/Maven clean
>
>
>
> I’ve reproduced this under Windows 7 and the Scout EPP package. To make
> sure it isn’t a Scout issue I’ve tested with a post RC1 EPP package of
> Eclipse Java too.
>
>
>
> Has anyone else experienced this? Is anyone else able to reproduce it?
>
>
>
> Thanks and regards
>
> Arthur
>
>
>
>
> ___
> cross-project-issues-dev mailing list
> *cross-project-issues-dev@eclipse.org*
> 
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> *https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev*
> 
>
>
>
>
> --
>
> "Have you tried turning it off and on again" - The IT Crowd
>
> And if that fails, then *h

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Daniel Megert
> I believe we can provide a fix today.

Hi Fred

Who is "we"? Which project? The Platform/JDT is done. RC2 was last Friday.

Dani



From:   Fred Bricon 
To: Cross project issues 
Date:   05.10.2017 16:58
Subject:Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails 
with org.codehaus.plexus.classworlds.launcher.Launcher when running with 
JDK 9
Sent by:cross-project-issues-dev-boun...@eclipse.org



Hi, 

we just found out the cause of bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333, which prevents you 
from running Maven builds on Java 9 projects on Windows specifically.

Java 9 no longer supports classpaths sent with the form /c:/whatever 
(worked in previous Java versions) as sent by m2e.
I believe we can provide a fix today. Is it possible to delay the 
Oxygen.1a RC2 aggregation builds to tonight?

Fred


On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Ah, Java Development Tools Launching Support is at 3.9.50.v2070925-1051 in 
that latest EPP build which might just not yet include the fix from the 
same day.
 
Von: cross-project-issues-dev-boun...@eclipse.org [mailto:
cross-project-issues-dev-boun...@eclipse.org] Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 16:04

An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
 
I'll see if I can workaround it on m2e's side for RC2. Not promising any 
miracles though.
 
Fred
 
On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Thanks. Didn?t come up in my bugzilla searches as it is marked fixed.
Doesn?t seem fixed to me.
 
Regards
Arthur
 
Von: cross-project-issues-dev-boun...@eclipse.org [mailto:
cross-project-issues-dev-boun...@eclipse.org] Im Auftrag von Fred Bricon
Gesendet: Mittwoch, 4. Oktober 2017 15:48
An: Cross project issues
Betreff: Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with 
org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
 
You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
 
On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:
Hi all
 
As the RC2 window already closes and the final Oxygen.1a contributions are 
due soon, I bring up the following issue directly on this list:
 
On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven commands 
fails with
Error: Could not find or load main class 
org.codehaus.plexus.classworlds.launcher.Launcher
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.plexus.classworlds.launcher.Launcher
Switching to a JDK 8 resolves the problem.
 
Steps to reproduce:
*New workspace
*File/New Other?/Maven/Maven Project/Create dummy project
*Select project folder/Right click/Run As?/Maven clean
 
I?ve reproduced this under Windows 7 and the Scout EPP package. To make 
sure it isn?t a Scout issue I?ve tested with a post RC1 EPP package of 
Eclipse Java too.
 
Has anyone else experienced this? Is anyone else able to reproduce it?
 
Thanks and regards
Arthur
 

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


 
-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


 
-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_cross-2Dproject-2Dissues-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=rA3s-DC8vjNUhU5r9m0E75d72lWo7CUF_O4zwJo5Eiw&s=AsZUK9rF2SAgN8cQjKSO8O2XEMXaKeEshgZFOb01IEg&e=
 




___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your de

Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9

2017-10-05 Thread Fred Bricon
Hi,

we just found out the cause of bug https://bugs.eclipse.org/
bugs/show_bug.cgi?id=522333, which prevents you from running Maven builds
on Java 9 projects on Windows specifically.

Java 9 no longer supports classpaths sent with the form /c:/whatever
(worked in previous Java versions) as sent by m2e.
I believe we can provide a fix today. Is it possible to delay the Oxygen.1a
RC2 aggregation builds to tonight?

Fred


On Wed, Oct 4, 2017 at 10:18 AM, Arthur van Dorp <
arthur.vand...@bsi-software.com> wrote:

> Ah, Java Development Tools Launching Support is at 3.9.50.v2070925-1051 in
> that latest EPP build which might just not yet include the fix from the
> same day.
>
>
>
> *Von:* cross-project-issues-dev-boun...@eclipse.org [mailto:
> cross-project-issues-dev-boun...@eclipse.org] *Im Auftrag von *Fred Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 16:04
>
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with
> org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
>
>
>
> I'll see if I can workaround it on m2e's side for RC2. Not promising any
> miracles though.
>
>
>
> Fred
>
>
>
> On Wed, Oct 4, 2017 at 9:55 AM, Arthur van Dorp <
> arthur.vand...@bsi-software.com> wrote:
>
> Thanks. Didn’t come up in my bugzilla searches as it is marked fixed.
>
> Doesn’t seem fixed to me.
>
>
>
> Regards
>
> Arthur
>
>
>
> *Von:* cross-project-issues-dev-boun...@eclipse.org [mailto:
> cross-project-issues-dev-boun...@eclipse.org] *Im Auftrag von *Fred Bricon
> *Gesendet:* Mittwoch, 4. Oktober 2017 15:48
> *An:* Cross project issues
> *Betreff:* Re: [cross-project-issues-dev] Oxygen.1aRC1: Maven fails with
> org.codehaus.plexus.classworlds.launcher.Launcher when running with JDK 9
>
>
>
> You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=522333
>
>
>
> On Wed, Oct 4, 2017 at 9:26 AM, Arthur van Dorp <
> arthur.vand...@bsi-software.com> wrote:
>
> Hi all
>
>
>
> As the RC2 window already closes and the final Oxygen.1a contributions are
> due soon, I bring up the following issue directly on this list:
>
>
>
> On the EPP RC1 with only a JDK 9 as installed JRE, calling Maven commands
> fails with
>
> Error: Could not find or load main class org.codehaus.plexus.
> classworlds.launcher.Launcher
>
> Caused by: *java.lang.ClassNotFoundException*: org.codehaus.plexus.
> classworlds.launcher.Launcher
>
> Switching to a JDK 8 resolves the problem.
>
>
>
> Steps to reproduce:
>
> *New workspace
>
> *File/New Other…/Maven/Maven Project/Create dummy project
>
> *Select project folder/Right click/Run As…/Maven clean
>
>
>
> I’ve reproduced this under Windows 7 and the Scout EPP package. To make
> sure it isn’t a Scout issue I’ve tested with a post RC1 EPP package of
> Eclipse Java too.
>
>
>
> Has anyone else experienced this? Is anyone else able to reproduce it?
>
>
>
> Thanks and regards
>
> Arthur
>
>
>
>
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
>
>
>
>
> --
>
> "Have you tried turning it off and on again" - The IT Crowd
>
> And if that fails, then http://goo.gl/tnBgH5
>
>
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
>
>
>
>
> --
>
> "Have you tried turning it off and on again" - The IT Crowd
>
> And if that fails, then http://goo.gl/tnBgH5
>
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev