Use of JNA bundle in my OSGi app

View: New views
4 Messages — Rating Filter:   Alert me  

Use of JNA bundle in my OSGi app

by philk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I though since you already have built a JNA bundle I could use it in my own OSGi application. However all the exported classes of your bundle cannot be found by the Eclipse java compiler. The JNA bundles MANIFEST does not seem to be broken. However the previous version was unpacked in the Eclipse plugins folder, the new one is a jar that contains another jar. The internal Eclipse compiler seems to have a problem with that. Any ideas?

Re: Use of JNA bundle in my OSGi app

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

We're going to release 1.3.2 version of SVNKit soon and we'll change the
way JNA bundle is packed (JNA is also updated in that new version) so
that it will include classes, not jars.

Meanwhile you may probably unpack JNA bundle, and change its manifest
manually.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!

philk wrote:
> Hello,
>
> I though since you already have built a JNA bundle I could use it in my own
> OSGi application. However all the exported classes of your bundle cannot be
> found by the Eclipse java compiler. The JNA bundles MANIFEST does not seem
> to be broken. However the previous version was unpacked in the Eclipse
> plugins folder, the new one is a jar that contains another jar. The internal
> Eclipse compiler seems to have a problem with that. Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...


Re: Use of JNA bundle in my OSGi app

by philk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Alexander for the swift response. I wonder how you were able to use the bundle in its current form?

Alexander Kitaev-3 wrote:
Hello,

We're going to release 1.3.2 version of SVNKit soon and we'll change the
way JNA bundle is packed (JNA is also updated in that new version) so
that it will include classes, not jars.

Meanwhile you may probably unpack JNA bundle, and change its manifest
manually.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!

philk wrote:
> Hello,
>
> I though since you already have built a JNA bundle I could use it in my own
> OSGi application. However all the exported classes of your bundle cannot be
> found by the Eclipse java compiler. The JNA bundles MANIFEST does not seem
> to be broken. However the previous version was unpacked in the Eclipse
> plugins folder, the new one is a jar that contains another jar. The internal
> Eclipse compiler seems to have a problem with that. Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
For additional commands, e-mail: svnkit-users-help@svnkit.com

Re: Use of JNA bundle in my OSGi app

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

> Thanks Alexander for the swift response. I wonder how you were able to use
> the bundle in its current form?
In SVNKit project we have jna.jar as a library - in general, SVNKit is
not plugin project, we build OSGi bundles on deploy.

In Eclipse I could see jna plugin the "Plug-in Registry" view,
activated, with the list of exported packages and runtime library
"jna.jar". I believe JNA classes are available in Eclipse runtime.

But at the same time you're right - Plugin project I've created couldn't
import JNA classes and do not see them on the classpath. I have no idea
on what to do with that without unpacking JNA bundle and changing its
manifest.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!

philk wrote:

> Thanks Alexander for the swift response. I wonder how you were able to use
> the bundle in its current form?
>
>
> Alexander Kitaev-3 wrote:
>> Hello,
>>
>> We're going to release 1.3.2 version of SVNKit soon and we'll change the
>> way JNA bundle is packed (JNA is also updated in that new version) so
>> that it will include classes, not jars.
>>
>> Meanwhile you may probably unpack JNA bundle, and change its manifest
>> manually.
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>> http://sqljet.com/ - Java SQLite Library!
>>
>> philk wrote:
>>> Hello,
>>>
>>> I though since you already have built a JNA bundle I could use it in my
>>> own
>>> OSGi application. However all the exported classes of your bundle cannot
>>> be
>>> found by the Eclipse java compiler. The JNA bundles MANIFEST does not
>>> seem
>>> to be broken. However the previous version was unpacked in the Eclipse
>>> plugins folder, the new one is a jar that contains another jar. The
>>> internal
>>> Eclipse compiler seems to have a problem with that. Any ideas?
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
>> For additional commands, e-mail: svnkit-users-help@...
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...