Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Where to put lib Files

Hello,

Are you referring to 3rd party Java libraries? If so, you have two options:

1. You can embed the jar file within your OSGi application bundle. You just need to add a line to your bundle’s manifest to include the jar file in the classpath. Kura does this with the Paho library as seen here [1].

2. You can covert the jar file to an OSGi bundle and install it in the OSGi container. The easiest way to do this is with the maven-bundle-plugin [2]. This is also done in Kura, an example can be see here [3]. 


Thanks,
--Dave


On Feb 12, 2016, at 05:09, Voller-Niederl Christian <christian.voller-niederl@xxxxxxxxxxxxx> wrote:

Hello,

 

Just a simple question: We need to use some 3rd party lib files on Kura. Please can someone tell me where to put these files correctly?!

 

Thanks a lot – chris

 

Mit freundlichen Grüßen / Best regards


Christian Voller-Niederl

Team Coordinator Maximo

Corporate IT, 3C & Web Services


Mayr-Melnhof Karton Gesellschaft m.b.H.
Wannersdorf 80, 8130 Frohnleiten, Austria
Tel: +43 3126 2511 538      

Fax: +43 3126 2511 101

E-Mail: christian.voller-niederl@xxxxxxxxxxxxx
Homepage: www.mm-karton.com

 

------------------------------------------------------------------------------

Mayr-Melnhof Karton Gesellschaft m.b.H.

Sitz der Gesellschaft:  Frohnleiten

Handelsregister  Graz: FN 62874m

UID-Nr:  ATU 37002202

Geschäftsführer: Dr. Wilhelm Hörmanseder, Mag. Gernot Schleiss

 

Diese E-Mail enthält keine verbindlichen Erklärungen. Ausschließlich Erklärungen der vertretungsbefugten Personen der Gesellschaft sind verbindlich und wirksam.

                       

This e-mail does not include any binding declarations. Only declarations by authorized representatives of the company shall be deemed legally enforceable and binding.

    

 

Classified as MM Internal / MM Project

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top