On 3/14/10 11:32, Ali Naddaf wrote:
OSGi framework, on its own, doesn't monitor filesystem for new bundle or updates to them; you need to either write your own mechanism, or use something like fileinstall [1] to do that for you.

More specifically, neither the framework nor the Felix launcher monitor a directory at run time and perform any sort of "hot deploy" operations. However, at framework start time, the Felix launcher does auto deploy whatever is in the auto-deploy directory ("bundle" by default).

So, as Ali says, if you want run-time deployment, you need to use something like File Install.

-> richard

Ali

[1] http://felix.apache.org/site/apache-felix-file-install.html

On 3/14/2010 10:29 AM, Leon668 wrote:
I just manually copied the file to the folder where the other jar files are. I hope I am doing something right?

On Sat, Mar 13, 2010 at 10:12 PM, Ali Naddaf <[email protected] <mailto:[email protected]>> wrote:

    Are you using the fileinstall or something like that? How is the
    deployment happening in your case?


    On 3/13/2010 11:08 PM, Leon668 wrote:

        I am writing to see if the OSGI bundles can be installed when
        I copy a new
        bundle to the folder I deploy the bundles.

        I tried to copy some new bundles there at runtime, but it
        looks like I
        cannot get them automatically deployed. I wonder if I missed
        anything or
        not.


        Thanks,

        Leon





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to