Hi.,
    I am using Felix 1.4 and OBR and Bindex for an Swing-OSGi application
development. 
My maven local repository as well as my Felix repository is same.

Repository folder is "FelixRepo" folder under tomcat's webapp folder.

I have started Felix and i got Felix console . 
I have added a repository url using following obr command.

      obr add-url http://localhost:8080/FelixRepo/repository.xml 

Which works fine and I can do the desired taks with this.

If I add one more bundle to FelixRepo, say SimpleHelloBundle.jar which is
built by Maven-Bundle-Plugin, which updates my repository.xml file with the
information of SimpleHelloBundle under "FelixRepo" folder.

My question is 
 
1. Do i need to add the above  url to felix again? i.e, do i need to run 

     obr add-url http://localhost:8080/FelixRepo/repository.xml 

again?

2. Second question is, is there any way that I can start my
SimpleHelloBundle.jar without typing the following line at Felix Console?

     obr deploy SimpleHelloBundle

Actually I have to build some ten such bundles using Maven-Bundle-plugin,
(which is anyway updates the repository.xml)  also I have to start them at
Felix Console.

Going to Felix Console and typing the obr deploy for ten bundles is not an
issue, but I wanted to automate this with out having a pain of typing
manually at Felix console.

Please suggest a way.

Thanks in advance
Sriharsha.

-----
Sriharsha

-- 
View this message in context: 
http://www.nabble.com/Is-there-any-way-to-deploy-and-start-a-Bundle-from-OBR-%28repository.xml%29-to-Felix-on-the-fly--tp20770279p20770279.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to