thats osgi.. your bundles get resolved as they come in. On "package" resolver level this is what the framework will do for you. You don't have to care! If a bundle has missing imports, its just stays in install state. once the requirements are satisfied it becomes "resolved". And if startlevel is reached, they will get started properly.
Have you tried it yourself ? Your problem just should not exist. On Fri, Jun 12, 2009 at 4:09 PM, Triquoit Mathieu<mathieu.triqu...@gmail.com> wrote: > I have two bundles which defines a kind of framework... Let's say Module A > and Module B. > In a Module C I have : > <Import-Package>packagenameModuleA;version=2.0.*</Import-Package> > > If I send to my customer with the file-install plugin, I cannot assume (if I > have all the bundles in the deployment directory) that the module A will be > started before B before C. > I don't know if it is clear ? > > Is there a way ? > > Thanks, > Mathieu > > 2009/6/12 Toni Menzel <t...@okidokiteam.com> > >> Can you explain why ? >> In OSGi you should never depend on deployment order. Because of that >> there is no api to do this. >> Can you explain why you need this order ? >> Then we might solve it here "the right way". >> >> cheers, >> Toni >> >> On Fri, Jun 12, 2009 at 3:39 PM, Triquoit >> Mathieu<mathieu.triqu...@gmail.com> wrote: >> > Hi, >> > >> > Is there a way to order the deployment ? When I want to publish to my >> > customer a fresh version, I cannot order the deployment but I have some >> kind >> > of dependencies between some modules ? >> > >> > I would like to write somewhere deploy Module A or somethink like : >> "don't >> > deploy Module B before module A" ? >> > >> > Thanks in advance, >> > Best regards, >> > Mathieu >> > >> >> >> >> -- >> Toni Menzel >> Independent Software Developer >> Professional Profile: http://okidokiteam.com >> t...@okidokiteam.com >> http://www.ops4j.org - New Energy for OSS Communities - Open >> Participation Software. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org >> For additional commands, e-mail: users-h...@felix.apache.org >> >> > -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org