Dear Jaroslav, other osgi folks,

I'm working on creating a large Gradle project out of NetBeans.

My first goal is to be able to compile the platform itself. I've got quite far with that, having 90+ out of 120+ modules compiled successfully (they not necessary right though). What made me block is the current netbinox module build. It seems the jars are tangled on the classpath. osgi.core-7.0.0.jar and org.eclipse.osgi_3.9.1.nb9.jarĀ  share some core osgi packages.

When I compile with osgi.core-7.0.0.jar on classpath I get a compile error saying Netbinox.BundleContext is implementing some methods not declared in the parents.

When I compile with org.eclipse.osgi_3.9.1.nb9.jar I get a compile error saying org.osgi.framework.ServiceObjects is not found (that class is clearly missing from the jar).

I could probably make the order in the classpath "right", though I'd rather apply a real solution.

In order to test these, please clone the gradle2 branch of my fork: https://github.com/lkishalmi/netbeans

The gradle build right now needs the help to fetch the external dependencies: ant download-all-extbins

But after that one:

./gradlew buildPlatformCluster -x check

shall work.

The inclusion/exclusion of the osgi.core-7.0.0.jar is handled in platform/netbinox/build.gradle

BTW the Java home shall be set to at least JDK 11 for Gradle


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



Reply via email to