[jira] [Comment Edited] (NETBEANS-1638) OSGi support is broken

2019-01-07 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach edited comment on NETBEANS-1638 at 1/8/19 5:13 AM:
---

Good to know you got it working by patching. I've integrated 
[PR-1063|https://github.com/apache/incubator-netbeans/pull/1063], so next time 
it should work without patching. I also had to [enlarge the list of exported 
packages|https://github.com/apache/incubator-netbeans/pull/1063/files#diff-1054d4117eb25b761307cc655dc5043f],
 but not with {{org.apache.felix.resolver.reason}} - please check your test 
case with latest master branch and feel free to propose a better PR.


was (Author: jtulach):
Good to know you got it working by patching. I've integrated 
[PR-1063|https://github.com/apache/incubator-netbeans/pull/1063], so next time 
it should work without patching. I also had to [enlarge the list of exported 
packages|https://github.com/apache/incubator-netbeans/pull/1063/files#diff-1054d4117eb25b761307cc655dc5043f],
 but not with {{org.pache.filix.resolver.reason}} - please check your test case 
with latest master branch and feel free to propose a better PR.

> OSGi support is broken
> --
>
> Key: NETBEANS-1638
> URL: https://issues.apache.org/jira/browse/NETBEANS-1638
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0, 10.0
>Reporter: Peter Nabbefeld
>Assignee: Jaroslav Tulach
>Priority: Critical
> Fix For: 11.0
>
> Attachments: 
> Updated_felix_to_5_6_10_to_enable_osgi_bundles_for_java_9_and_later_.patch
>
>
> The included Felix jar (in module lib.felix) is outdated and does not work 
> with JDK > 9.
> Included version: 4.2.1
> Current version: 6.0.1
> For a short discussion of the problem see: 
> https://github.com/mojohaus/nbm-maven-plugin/issues/52



--
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] [Comment Edited] (NETBEANS-1638) OSGi support is broken

2019-01-07 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach edited comment on NETBEANS-1638 at 1/8/19 5:12 AM:
---

Good to know you got it working by patching. I've integrated 
[PR-1063|https://github.com/apache/incubator-netbeans/pull/1063], so next time 
it should work without patching. I also had to [enlarge the list of exported 
packages|https://github.com/apache/incubator-netbeans/pull/1063/files#diff-1054d4117eb25b761307cc655dc5043f],
 but not with {{org.pache.filix.resolver.reason}} - please check your test case 
with latest master branch and feel free to propose a better PR.


was (Author: jtulach):
Good to know you got it working by patching. I've integrated 
[PR-1063|https://github.com/apache/incubator-netbeans/pull/1063], so next time 
it should work without patching.

> OSGi support is broken
> --
>
> Key: NETBEANS-1638
> URL: https://issues.apache.org/jira/browse/NETBEANS-1638
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0, 10.0
>Reporter: Peter Nabbefeld
>Assignee: Jaroslav Tulach
>Priority: Critical
> Fix For: 11.0
>
> Attachments: 
> Updated_felix_to_5_6_10_to_enable_osgi_bundles_for_java_9_and_later_.patch
>
>
> The included Felix jar (in module lib.felix) is outdated and does not work 
> with JDK > 9.
> Included version: 4.2.1
> Current version: 6.0.1
> For a short discussion of the problem see: 
> https://github.com/mojohaus/nbm-maven-plugin/issues/52



--
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] [Comment Edited] (NETBEANS-1638) OSGi support is broken

2019-01-07 Thread Markus Sunela (JIRA)


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

Markus Sunela edited comment on NETBEANS-1638 at 1/7/19 8:21 PM:
-

I successfully applied the patch (well monkey-patched similar changes as in the 
attached patch to the pre-build platform cluster). I am now able to run our 
complex NetBeans RCP (10.0) application, consisting of our pure-OSGi bundles 
with Java 10 and Java 11.

I actually replaced the modules/ext/org.apache.felix.main-4.2.1.jar with the 
newest 6.0.1 and updated the manifest in modules/org-netbeans-libs-felix.jar 
with the new packages as in the attached patch. A new package (w.r.t the 
patch), org.apache.felix.resolver.reason, had to be added to the manifest too.


was (Author: markus.sun...@fluidit.fi):
I successfully applied the patch (well monkey-patched the similar to the 
pre-build platform cluster). I am now able to run our complex NetBeans RCP 
(10.0) application, consisting of our pure-OSGi bundles with Java 10 and Java 
11.

I actually replaced the modules/ext/org.apache.felix.main-4.2.1.jar with the 
newest 6.0.1 and updated the manifest in modules/org-netbeans-libs-felix.jar 
with the new packages as in the attached patch. A new package (w.r.t the 
patch), org.apache.felix.resolver.reason, had to be added to the manifest too.

> OSGi support is broken
> --
>
> Key: NETBEANS-1638
> URL: https://issues.apache.org/jira/browse/NETBEANS-1638
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0, 10.0
>Reporter: Peter Nabbefeld
>Priority: Critical
> Attachments: 
> Updated_felix_to_5_6_10_to_enable_osgi_bundles_for_java_9_and_later_.patch
>
>
> The included Felix jar (in module lib.felix) is outdated and does not work 
> with JDK > 9.
> Included version: 4.2.1
> Current version: 6.0.1
> For a short discussion of the problem see: 
> https://github.com/mojohaus/nbm-maven-plugin/issues/52



--
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