You are interupting the line. Mind the trailing backslash.
-buildpath: \
osgi.enroute.base.api;version=1.0,\
./libs/alljoyn.jar;version=file
> [email protected] hat am 21. Oktober 2016 um 12:07 geschrieben:
>
>
> Send osgi-dev mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of osgi-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: Plain Jar to OSGi Bundle conversion
> ([email protected])
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 21 Oct 2016 10:07:22 +0000
> From: <[email protected]>
> To: <[email protected]>
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
> Message-ID:
> <kl1pr03mb1576cf31c285bf15dfd85c4cea...@kl1pr03mb1576.apcprd03.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> However, the generated shows the particular alljoyn.jar file and corresponding
> manifest... as seen in attachment....
>
>
> So, I feel something is not correct here.. as the jar is not shown in the Bnd
> Bundle Path and also the jar content is inexplorable...
>
> ________________________________
> From: Manoj Venkatesh Rajamani (Product Engineering Service)
> Sent: 21 October 2016 15:32:30
> To: OSGi Developer Mail List
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
>
>
> Can somebody take a look at my workspace screen shot and source tab of bnd.bnd
> ? I see that the expected alljoyn.jar is not shown up in the Bnd Bundle Path
> (as supposed to be - as said in the tutorial)
> http://enroute.osgi.org/tutorial_wrap/200-project.html
>
>
> Please help...
>
> ________________________________
> From: Manoj Venkatesh Rajamani (Product Engineering Service)
> Sent: 21 October 2016 13:16:27
> To: OSGi Developer Mail List
> Subject: Re: [osgi-dev] Plain Jar to OSGi Bundle conversion
>
>
> 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}
>
>
> -runrequires: \
> osgi.identity;filter:='(osgi.identity=com.wipro.iot.alljoyn.adapter)'
>
> -runbundles: \
> ${error;Resolve first}
>
>
> ________________________________
> From: [email protected] <[email protected]> on
> behalf of Timothy Ward <[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
> 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
>
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.osgi.org/pipermail/osgi-dev/attachments/20161021/75b8fa65/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Screenshot from 2016-10-21 15:33:43.png
> Type: image/png
> Size: 304399 bytes
> Desc: Screenshot from 2016-10-21 15:33:43.png
> URL:
> <http://mail.osgi.org/pipermail/osgi-dev/attachments/20161021/75b8fa65/attachment.png>
>
> ------------------------------
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
> End of osgi-dev Digest, Vol 120, Issue 62
> *****************************************
>
mit freundlichen Grüßen/kind regards
Peter Kirschner
Software Engineer / Architect / General Manager
fon +49-172-9047564
mail [email protected]
Kirschners GmbH
Löchgauer Strasse 75
D-74321 Bietigheim-Bissingen
Germany
Handelsregister: AG Stuttgart HRB 751436
Geschäftsführer: Peter Kirschner_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev