[
https://issues.apache.org/jira/browse/NETBEANS-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836233#comment-16836233
]
Martin edited comment on NETBEANS-2397 at 5/9/19 9:31 AM:
----------------------------------------------------------
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)
>From your input it is not 100% clear to me if debug/profiling is also working,
>but I assume it does (as mentioned will go back soon)
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.
was (Author: meeser):
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists