[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [equinox-dev] Problem Exporting Bundle with Native Libraries include in Eclipse
|
- From: Karl Pauls <karlpauls@xxxxxxxxx>
- Date: Mon, 24 Aug 2009 14:10:46 +0200
- Delivered-to: equinox-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QvBc8MPuVLjlEuJ1r5lFFL9Ug+G2zTsF7P6YAHreCqA=; b=epv28IVaR/D/BbDd5cVePTGA0PfdpuNAhmtb49vgESkKS9HnkKBmaM7hb/JiL2654l +jNryTBsL2ewvWxQB9wq4PPgFb+Vr7H1EaeqSVskcAVeabIphGkDu0JastGFAuzUvqk7 2AFcBN0mZozf0hQ+o7FtZ0FYzZMiKvbfvIa94=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dmP+OfDcaTzWagl4MzDn79fKBUDswiB0Un1Vey1/XAOxzaPdFqJ9eNiS5ppsMm49Xj xkquQbLJbHGa37caDF1nKa+JDq+CswfOpssnPb628zzfwh3OnG+CUHtX24aZTvdoTh+Z jRhmV3ik2S5D0a5CgFq3Z5ADvOJpnCpW0fn7E=
Well, you don't make the native code optional and don't provide one
for windows -- hence, the bundle can not be used on windows. Either
provide a library for windows as well or make it optional:
Bundle-NativeCode: libjunixsocket.so;processor = i386 ;osname = Linux,*
regards,
Karl
On Mon, Aug 24, 2009 at 12:58 PM, David Conde<dconde@xxxxxxxx> wrote:
> Hi,
>
>
>
> This problem just happens when I work with Eclipse on Windows XP, if I tried
> the same step in Ubuntu I do not get any error at all.
>
>
>
> Any idea?
>
>
>
> Regards
>
>
>
> De: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx]
> En nombre de David Conde
> Enviado el: lunes, 24 de agosto de 2009 12:32
> Para: 'Equinox development mailing list'
> Asunto: [equinox-dev] Problem Exporting Bundle with Native Libraries include
> in Eclipse
>
>
>
> Hi,
>
>
>
> I am triying to run a bundle which is expected to contain native libraries
> to be used by other bundles. The problem is that when I try to Export this
> bundle I get the next error:
>
>
>
> Error
>
> Reason:
>
> Problems during export
>
> <<Details:
>
> Unable to find plug-in: MyPluginName_1.0.0.
>
>
>
> It is very strange because I am just creating a new bundle from JAR FILE,
> and create a folder where I save a native library called mylibrary.so and
> the only thing that I do is to include the next Header to the Manifest.MF:
>
>
>
> Bundle-NativeCode: libjunixsocket.so ;
>
> processor = i386 ; osname = Linux
>
>
>
> I do not get any compilation error so that should work fine.
>
>
>
> Any idea?
>
> Thank you in advance
>
>
>
> Regards
>
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
--
Karl Pauls
karlpauls@xxxxxxxxx