You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Geertjan Wielenga (Jira)" <ji...@apache.org> on 2021/03/24 08:55:00 UTC
[jira] [Commented] (NETBEANS-2618) OSGi not working in tests that
enable the module system
[ https://issues.apache.org/jira/browse/NETBEANS-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307670#comment-17307670 ]
Geertjan Wielenga commented on NETBEANS-2618:
---------------------------------------------
Is this issue critical and what is its status?
> OSGi not working in tests that enable the module system
> -------------------------------------------------------
>
> Key: NETBEANS-2618
> URL: https://issues.apache.org/jira/browse/NETBEANS-2618
> Project: NetBeans
> Issue Type: Bug
> Components: platform - Module System
> Affects Versions: 11.0
> Reporter: Jan Lahoda
> Assignee: Jaroslav Tulach
> Priority: Critical
> Attachments: osgi-in-tests.zip
>
>
> To reproduce:
> -unpack the attachment
> -open it in the IDE
> -open the test:
> osgi-in-tests/test/unit/src/osgi/in/tests/OSGiInTest.java
> -do Run/Test File
> the test will try to enable the module system, but as the osgi.in.tests module depends on the org.apache.commons.logging module, the module system startup fails with:
> WARNING: Warning - could not install some modules:
> osgi-in-tests - The module named org.apache.commons.logging was needed and not found.
> But org.apache.commons.logging is available without any problems, the test is doing:
> LogFactory.getLog("OSGiInTest").info("Mam logger!");
> and that works OK. It is just the module system that does not allow the OSGi bundle to be found/enable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists