Community
Participate
Working Groups
In the p2 code there are 2 spots where we do some processing on the platform.xml file and we resolve the platform:/base URL. Each of these location calculates the osgi.install.area location and does it different ways. PlatformConfigurationWrapper calculates it based on the location of the launcher JARs. The reconciler (Activator class of the bundle) checks the OSGi Location object with the install filter. We need to determine why these are different and should they be the same? Can we always just check the Location object?
This code is correct as-is. The touchpoint may not be installing into the current Eclipse so we get the location based on the bundle locations in the manipulator which is handed to us. The reconciler always installs into the current Eclipse so it is ok to just use the location service. Closing.
See also discussion in bug 354888. Although we don't want to use the install location service in the platform configuration wrapper class in the Eclipse touchpoint, we do want to calculate the value a bit differently.