Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] self profile

Hi dev,

The algorithm of finding self profile has a bit changes. It considers
it's the running system when store equals the default registry
location. 
But we change the default registry directory via contributing the
profile registry, and specify the profile of running system(installer)
via system property "eclipse.p2.profile".
The new changes take away the benefit of
getProfile(IProfileRegistry.SELF). Is there any bug opened for reporting
it? Might there is some requirements need it.

		if (store.equals(getDefaultRegistryDirectory(location))) {
			//we are the registry for the currently running system
			self =
EngineActivator.getContext().getProperty("eclipse.p2.profile"); //$NON-NLS-1$
		}

-- 
Best Regards,
Meng Xin(Kane)




Back to the top