Jan Lahoda created NETBEANS-2618: ------------------------------------ Summary: 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 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 (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