Ask Your Question
0

How to add osgi bundle in karaf

asked 2015-02-22 04:30:07 -0700

sakshi gravatar image

Hello All,

I am new to OpenDaylight, I created the osgi bundle using the below link -

http://sdntutorials.com/hello-world-application-using-osgi-bundle/

Now I want to install the bundle with karaf distribution. Is there any way to install the osgi bundle in karaf?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-22 05:16:11 -0700

tbachman gravatar image

You may want to consider using the new maven archetype to integrate your bundle into karaf. This link shows how to use the new archetype:

https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:StartupProject_Archetype

There was also a presentation at the Technical Work Stream (TWS) about this, which was recorded on WebEx:

https://wiki.opendaylight.org/view/TechWorkStream:Main#InformationFromPast_Meetings

Have a look at the January 26th meeting.

edit flag offensive delete publish link more
0

answered 2015-02-22 10:27:39 -0700

sakshi gravatar image

updated 2015-02-22 10:28:50 -0700

Thanks. Links were very helpful. But I have one more trouble while going through the below link - https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:StartupProject_Archetype

While running "mvn clean install" of section "Implementing the HelloWorld RPC API" as given in the above link, I am getting below errors - 1) Class HelloService not found 2) Class HelloWorldOutput not found 3) Class HelloWorldOutputBuilder not found 4) Class HelloWorldInput not found

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-02-22 04:30:07 -0700

Seen: 173 times

Last updated: Feb 22 '15