[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-09 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16836457#comment-16836457
 ] 

Martin commented on NETBEANS-2397:
--

I see you also provided nbactions for debugging etc

thanks!

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-09 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16836233#comment-16836233
 ] 

Martin commented on NETBEANS-2397:
--

Thanks a lot !

 

(Yes the maven exec:exec is working, but that was missing in the sample, I 
figured it out later )

 

I do not have a lot of time right now but will get back to NBs asap (it 
provides so much overview)

 

I guess I will create one or two minor issues (request) so that this behavior 
is "out of the box" with Netbeans.

I mean when adding a module-info, a dialog pops up, upgrading the maven 
compiler plug in, so I assume one could also change the run/debug/profile 
actions?

Also it would be nice if the package shows the public/private icon like it does 
with an ant NB java modular project.

 

 

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833352#comment-16833352
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

And here is a complete example of a Jigsaw/Maven application that builds and 
runs in NetBeans: 
https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples/tree/master/AnagramGameMaven

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833323#comment-16833323
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

Solution: with the below in the nb-actions.xml of your 'mavenproject3', I am 
able to run your application and I see 'com.mtm.mavenproject2.SampleImpl' in 
the Output window.


run

jar


process-classes
org.codehaus.mojo:exec-maven-plugin:1.6.0:exec


--module-path %classpath --module 
Mavenproject_Three/${packageClassName}
java



> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833320#comment-16833320
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

My guess is that you need to configure --module-path and so on explicitly in 
your POM, since NetBeans simply reads what's in the POM, while possibly other 
tools might automatically put Maven modules that contain a module-info 
automatically onto the module path, which is why this sample works in one tool 
and not in NetBeans. If you can provide the command line that you use to run 
the project on the command line, we can figure out how to put it in a Maven POM.

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833311#comment-16833311
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

If you can get your sample to work outside NetBeans, then it will also work 
inside NetBeans.

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833275#comment-16833275
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

So, when you run your mavenproject3 on the command line, i.e., outside 
NetBeans, does it work? If it does not work outside NetBeans, it will also not 
work inside NetBeans.

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833270#comment-16833270
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

When I try to build 'mavenproject1' (I don't know, just guessing this should be 
built, no clue what to do really with these three projects -- open them, build 
them, which ones, etc etc), I see this:

Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) 
on project mavenproject1: Execution default-compile of goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile failed: 
Unsupported major.minor version 56.0 -> [Help 1]

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-05-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833264#comment-16833264
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

You have provided 'sample.zip'. Can you explain what must be done with that to 
reproduce the problem?

1. Unzip 'sample.zip'. Now there are three projects, 'mavenproject1', 
'mavenproject2', and 'mavenproject3'.
2. Open...
3. 

I.e., I do not know what I must do with these three projects. Can you tell me 
-- no, not long sentences and paragraphs, but step by step instructions, each 
instruction starting with a verb.

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-22 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16823685#comment-16823685
 ] 

Martin commented on NETBEANS-2397:
--

I think the problem might be with nbactions.xml

 

Under  the exec-maven-plugin is in version 1.5, but 1.6 is required for 
java module system ( 
[here|https://github.com/mojohaus/exec-maven-plugin/issues/55] and 
[here2|https://github.com/mojohaus/exec-maven-plugin/milestone/3?closed=1 ] ).

 

 

Will this help solve the problem?

 

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-15 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16817612#comment-16817612
 ] 

Martin commented on NETBEANS-2397:
--

The problem is that *the module mechanisms of java modular system are not 
working (when using maven projects)*, in particular the *java KEYWORDS _provide 
with_ are not working*.

The ServiceLoader in mavenproject1 must provide one instance in its iterator - 
the one provided by mavenproject2 with SamplImpl, but it does not, it does 
return 0 instances.

*You can reproduce the problem by either running or debugging mavenproject3 
(there is one main, it does make one call).*

When using the exact same project setup with the exact same files, but using 
classic netbeans ant project, everything runs fine.

So I think it is a good guess to assume that something with the linker is not 
correct.

 

I really do not know how to explain more. The sample project is already nailing 
it down to the very bottom.

 

 

I hope that helps to remove this issue. I have used NB for years and loving it. 
But right now, *I can neither run or debug my code with NB.* That's why I made 
this a "Blocker".

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-13 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816938#comment-16816938
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

Not clear for me, no. Can you, instead simply provide very clear step by step 
instructions (1) what the problem is and (2) what must be done to reproduce the 
problem?

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-13 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816887#comment-16816887
 ] 

Martin commented on NETBEANS-2397:
--

I attached two short screen records hope those will explain everything, let me 
know if I can do more to help

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: netbeans11_sample.mp4, sample.zip, vscode_sample.mp4
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?
>  
> 
> Problem is
>  * mavenproject1 uses I_Sample
>  * mavenproject2 provides I_Sample with SampleImpl
>  * mavenproject3 requires mavenproject1 and mavenproject2
>  
> When you debug or run mavenproject3
>  * it will call mavenproject1.Sample.load
>  * since mavenproject2 is required, the serviceloader must return the loaded 
> SampleImpl instance BUT IT DOES NOT
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-13 Thread Martin (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816880#comment-16816880
 ] 

Martin commented on NETBEANS-2397:
--

Not sure why the environment has been changed, but I am on Ubuntu 18.10 with 
Java 12

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Windows10
>Reporter: Martin
>Priority: Blocker
> Attachments: sample.zip
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2397) Java's provide ... with NOT working in maven projects

2019-04-12 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816309#comment-16816309
 ] 

Geertjan Wielenga commented on NETBEANS-2397:
-

You have three different projects in that ZIP file.

Can you provide very clear step by step instructions (1) what the problem is 
and (2) what must be done to reproduce the problem?

> Java's provide ... with NOT working in maven projects
> -
>
> Key: NETBEANS-2397
> URL: https://issues.apache.org/jira/browse/NETBEANS-2397
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Ubuntu 18, Java 12
>Reporter: Martin
>Priority: Blocker
> Attachments: sample.zip
>
>
> Please check the attached sample.
>  
> The sample is working with VS Code and IntelliJ Idea.
> Also working when doing with "old school" netbeans (ant) projects.
>  
> Please fix urgently!
>  
> Some linker problem?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists