Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] installing multiple bundles on a target with DeploymentPackage

Hi Dave,
thanks for the info. I found the "resource" .project file in the DP, and removed it from the deployment package which then loaded correctly. It was certainly a lot faster than installing individual bundles which is very slow.

I will work through the information that you sent me - thanks again.

regards
John

On 30.10.2014, at 16:42, Woodard, David <David.Woodard@xxxxxxxxxxxx> wrote:

Hi John,

Deployment Packages are great but can be a little tricky until you get use to them. Every file in the DP is expected to be a bundle or some other resource. OSGi can handle the bundles natively. If you have other files you have to write a custom resource processor to handle them. If you look in your DP file, I believe you will find a “.project” file, likely from Eclipse. You will want to remove this from your DP file. 

Benjamin Cabe from Eclipse did a great demo that uses Kura and deployment packages. You can review the demo here [1]. The deployment package can be downloaded here [2]. You can unzip the DP file and review its structure for reference.


Thanks,
—Dave


On Oct 30, 2014, at 8:15 AM, John Read <john.read@xxxxxxxxxxxxxxxxxx> wrote:

Hi,
Installing multiple bundles via the eclipse frameworks is very slow so we are experimenting with DP.

I am testing how we can speed up running bundles on the target raspberry (SNAPSHOT.1.1.0), and produced a deployment package with multiple bundles in it.
Installation via the Framework fails and the following message is in the errorlog:

Failed to install deployment package: org.osgi.service.deploymentadmin.DeploymentException: No resource processor for resource: 'resources/.project'

Is perhaps a package missing on the target?

Thanks for your help.

regards

John Read
john.read@xxxxxxxxxxxxxxxxxx
Tel: +49-89-454590-34
Mob:  +49-1752014830
HRB München 139 379
GF: E.Kampmann, J.Read
Ust.-Id: DE 216 798 561



_______________________________________________
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

_______________________________________________
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


John Read
Tel: +49-89-454590-34
Mob:  +49-1752014830
HRB München 139 379
GF: E.Kampmann, J.Read
Ust.-Id: DE 216 798 561



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top