Andriy Drozdyuk
Andriy Drozdyuk

Reputation: 61121

Having no luck with Apache Felix deploy

I am trying to deploy a particular version of a bundle through Apache Felix's obr deploy command.

I want to install version 3.1.10 of File Install, but unfortunately deploy does not understand versions (when using @ to specify them):

g! deploy "Apache Felix File Install"@3.1.10
Unknown bundle - Apache Felix File [email protected]

Neither does it work if I try the semicolon:

g! deploy "Apache Felix File Install";3.1.10
Target resource(s):
-------------------
   Apache Felix File Install (3.0.2)

Deploying...done.
gogo: CommandNotFoundException: Command not found: 3.1.10

Anybody has any idea what's going on?

P.S.: BONUS points for anybody installing "File Install 3.0.2", and then placing a jar of "3.1.10" into the load directory (thereby installing another "File Install" bundle) - and then deleting the "3.0.2" version! Sadly this does not work, as "File Install" always suspends itself.

Upvotes: 2

Views: 743

Answers (1)

Richard S. Hall
Richard S. Hall

Reputation: 626

Works for me:

g! list -v file
Apache Felix File Install [org.apache.felix.fileinstall] (3.0.2, 3.0.0, 2.0.8, 2.0.4,     2.0.0, 1.2.0, 1.0.0, 0.9.2, 0.9.0)
g! deploy "Apache Felix File Install"@3.0.0
Target resource(s):
-------------------
   Apache Felix File Install (3.0.0)

Optional resource(s):
---------------------
   Apache Felix Configuration Admin Service (1.2.4)
   Apache Felix Log Service (1.0.0)

Deploying...done.
g! 

It looks like you are trying to deploy a version of File Install that isn't in the OBR repo...

Upvotes: 4

Related Questions