With p2/galileo I managed to acheive this after a few tweaks. Now with p2/helios everything is still working except for one thing:

Each application is able tu update itself through the common agent. The problems arise when I use:

Quote:

AbstractRepositoryManager.getKnownRepositories()

to retreive update sites (which were used during installation).

After tracing it appears that during initial installation current profile (SimpleProfileRegistery.self) is null (normal as bootstrap installer as not been installed). As current profile is null, RepositoryManagers preferences are saved for null profile, collocated with the profileRegistery folder. Then when each app is started it looks for those props in its profileDir/.data/.settings but there is no prefs there as it was saved for the null (SimpleProfileRegistery.self) profile.

Is there a way to resolve this problem or should I open a bug ? (Hope I am being clear )
]]>David ALEXANDRE2010-07-05T15:41:22-00:00