|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
attach a fragment in runtimeHello,
I am trying to attach a fragment to its host at runtime, but I have some issues... in fact , I uninstall the fragment then I install it again, but as if it is not detected by the host... before uninstalling the fragment, I have this line in my console: 29 2/active Host (h:28) 28 2/resolved Fragment (f:29) after uninstalling and then installing the fragment again : 29 2/active Host (h:28) 30 2/installed Fragment would someone help me understanding this? Regard |
||||||||
|
|
Re: attach a fragment in runtimeThat console output does not look familiar to me. Is that from the Equinox console? Fragments cannot dynamically detach from a host on uninstall. The host bundle must be refreshed in order for the fragment to be completely flushed from the system. A new version of the fragment will not be allowed to attach to the host until the old version is flushed. This is done by calling PackageAdmin.refreshPackages() method on the host bundle.
Hello, I am trying to attach a fragment to its host at runtime, but I have some issues... in fact , I uninstall the fragment then I install it again, but as if it is not detected by the host... before uninstalling the fragment, I have this line in my console: 29 2/active Host (h:28) 28 2/resolved Fragment (f:29) after uninstalling and then installing the fragment again : 29 2/active Host (h:28) 30 2/installed Fragment would someone help me understanding this? Regard -- View this message in context: http://www.nabble.com/attach-a-fragment-in-runtime-tp25810711p25810711.html Sent from the Equinox - Dev mailing list archive at Nabble.com. _______________________________________________ equinox-dev mailing list equinox-dev@... https://dev.eclipse.org/mailman/listinfo/equinox-dev _______________________________________________ equinox-dev mailing list equinox-dev@... https://dev.eclipse.org/mailman/listinfo/equinox-dev |
||||||||
|
|
Re: attach a fragment in runtime
|
| Free embeddable forum powered by Nabble | Forum Help |