Hi Justin, Host bundle is a part of framework, fragment is a part of application content. In a standard flow fragment is always installed after host bundle.
thanks justinedelson wrote: > > Is code running inside the framework? If so, why not just install the > bundle directly (and the refresh the host bundle) rather than mucking with > FileInstall. > > Justin > > On Jul 13, 2011, at 12:03 PM, lili_ili <[email protected]> wrote: > >> >> Thank you, Richard. Can you recommend a java side solution? >> I have an "installer" code that copies the fragment to the watched >> directory. From there, I think to add a listener and after a fragment is >> started redeploy its host. Is there a simpler solution? >> >> thanks again >> >> >> Richard S. Hall wrote: >>> >>> If the host gets resolved first, then the fragment won't be able to >>> attach to it since Felix doesn't support dynamic fragment attachment >>> (and Equinox only supports it in a limited way). The most portable >>> approach is to make sure the fragment is installed into the framework >>> before the host is resolved. >>> >>> -> richard >>> >>> On 7/13/11 10:01, lili_ili wrote: >>>> Hi >>>> >>>> I have a directory being watched by fileinstall. Fragment is copied to >>>> this >>>> directory after its host, and it automatically moves to "Installed" >>>> state. >>>> To make it "Resolved", I need to either run "resolve X" command, or >>>> restart >>>> the server. >>>> Is there a way to solve it and resolve fragments located in "watched" >>>> directories? >>>> >>>> thank you. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Moving-fragment-to-Resolved-state-in-fileinstall-watched-directory--tp32052770p32054785.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] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Moving-fragment-to-Resolved-state-in-fileinstall-watched-directory--tp32052770p32089187.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]

