How come you did not see this in the editor? Didn’t it give a warning/error?
Kind regards,
Peter Kriens
> On 21 okt. 2016, at 10:17, <[email protected]>
> <[email protected]> wrote:
>
> Cool..that resolved the error..now I can proceed with the tutorial.. Thanks a
> lot Toni J
>
> From: [email protected] <mailto:[email protected]>
> [mailto:[email protected]
> <mailto:[email protected]>] On Behalf Of Toni Menzel
> Sent: 21 October 2016 13:42
> To: OSGi Developer Mail List <[email protected]
> <mailto:[email protected]>>
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
>
> ** This mail has been sent from an external source **
>
> You are missing a \ at the line before. Correct:
> -buildpath: \
> osgi.enroute.base.api;version=1.0 \
> libs/alljoyn.jar;version=file
>
> Toni Menzel
>
>
>
> Developer Advocates - The Rebaze Way
>
> www.rebaze.de <http://www.rebaze.de/> | www.rebaze.com
> <http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>
>
> On Fri, Oct 21, 2016 at 9:55 AM, <[email protected]
> <mailto:[email protected]>> wrote:
> Still no good results J
>
> From: [email protected] <mailto:[email protected]>
> [mailto:[email protected]
> <mailto:[email protected]>] On Behalf Of Toni Menzel
> Sent: 21 October 2016 13:21
> To: OSGi Developer Mail List <[email protected]
> <mailto:[email protected]>>
>
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
>
> ** This mail has been sent from an external source **
>
> ah and remove the slash. so:
> libs/alljoyn.jar;version=FILE
>
>
> Toni Menzel
>
>
>
> Developer Advocates - The Rebaze Way
>
> www.rebaze.de <http://www.rebaze.de/> | www.rebaze.com
> <http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>
>
> On Fri, Oct 21, 2016 at 9:50 AM, Toni Menzel <[email protected]
> <mailto:[email protected]>> wrote:
> Is there a dot in front of the path? "./libs/alljoyn.jar;version=file " ? Try
> removing that.
> Also i remember using version=FILE (all caps). Maybe you try this too. Don't
> know if this is case sensitive.
>
> Toni Menzel
>
>
>
> Developer Advocates - The Rebaze Way
>
> www.rebaze.de <http://www.rebaze.de/> | www.rebaze.com
> <http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>
>
> On Fri, Oct 21, 2016 at 9:46 AM, <[email protected]
> <mailto:[email protected]>> wrote:
> I did try this.... But it still did not take...saying invalid property key..
> (Put libs folder..just like in the same level as generated folder in the
> package.
>
> Please take a look at my source file of bnd.bnd
>
>
>
>
>
>
>
> #
> # BUNDLE
> #
>
>
> Bundle-Version: 1.0.0.${tstamp}
> Bundle-Description: \
> A bundle with a provider. Notice that this provider exports the API
> package. \
> It also provides a JUnit test and it can be run standalone. \
> \
> ${warning;Please update this Bundle-Description in
> com.wipro.iot.alljoyn.adapter/bnd.bnd}
>
> Private-Package: \
> com.wipro.iot.alljoyn.adapter
>
> -classpath:libs/alljoyn.jar;version=file
>
> Export-Package: com.wipro.iot.alljoyn.*;version=1.0
>
> Import-Package:
>
> -buildpath: \
> osgi.enroute.base.api;version=1.0
> ./libs/alljoyn.jar;version=file -------------------------------------->
> error line
>
> -testpath: \
> osgi.enroute.junit.wrapper;version=4.12
>
> -includeresource: {readme.md <http://readme.md/>}
>
>
> -runrequires: \
> osgi.identity;filter:='(osgi.identity=com.wipro.iot.alljoyn.adapter)'
>
> -runbundles: \
> ${error;Resolve first}
>
> From: [email protected] <mailto:[email protected]>
> <[email protected] <mailto:[email protected]>> on
> behalf of Timothy Ward <[email protected] <mailto:[email protected]>>
> Sent: 21 October 2016 12:26:05
> To: OSGi Developer Mail List
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
>
> ** This mail has been sent from an external source **
>
> Manoj,
>
> You can add the jar file into a folder in your project and point at it using
> a relative path and setting the version to be “file”, e.g.
>
> lib/toWrap.jar;version=file
>
> Regards,
>
> Tim
>
> On 21 Oct 2016, at 07:46,[email protected]
> <mailto:[email protected]> wrote:
>
> Hi all,
>
> I was trying the http://enroute.osgi.org/tutorial_wrap/200-project.html
> <http://enroute.osgi.org/tutorial_wrap/200-project.html> tutorial (for Plain
> Jar to OSGi Bundle conversion)
>
> The step is to add a local jar into the Build Path of bnd.bnd file.
>
> In fact, I was trying to add a local jar into the "Repository Local" (so
> that it can be added later to the above Build Path of bnd.bnd ) but failed
> because it does not accept plain jars and errors saying *Not a Bundle jar*
>
> How do I proceed from here ? What do I do ?
>
> Thanks,
> Manoj
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments. WARNING: Computer viruses can be transmitted via
> email. The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused
> by any virus transmitted by this email. www.wipro.com
> <http://www.wipro.com/>_______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments. WARNING: Computer viruses can be transmitted via
> email. The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused
> by any virus transmitted by this email.www.wipro.com <http://www.wipro.com/>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments. WARNING: Computer viruses can be transmitted via
> email. The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused
> by any virus transmitted by this email. www.wipro.com <http://www.wipro.com/>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments. WARNING: Computer viruses can be transmitted via
> email. The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused
> by any virus transmitted by this email. www.wipro.com
> <http://www.wipro.com/>_______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
