Hello,

in the Sling Resource-Editor I would like to integrate the JavaScript JSNodeTypes library that doesn't have a public Java API. But the user should still be able to use OSGi to easily install the tool.

The problem is, when using the maven-bundle-plugin the Bnd tool won't automatically find the dependency to that library when looking for Java import statements and I cannot manually add a 'Import-Package' statement as there is no package I can use.

There is one thing to note: The JSNodeTypes library is created by myself. This means if there is a solution that needs changes in that library I could do that. E.g. I could create an empty Java package in JSNodeTypes that I can use in an 'Import-Package' statement.

But isn't there a better solution?

Thanks,

Sandro

Reply via email to