[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cross-project-issues-dev] Release train broken for MacOS?
- From: Eike Stepper <stepper@xxxxxxxxxx>
- Date: Wed, 11 Dec 2013 10:43:14 +0100
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
Am 11.12.2013 09:30, schrieb David M Williams:
I can elaborate if someone is interested in the details.
Well who wouldn't be?
And ... what's the workaround for, again? :)
Well, we use the director application programmatically to install Eclipse and that failed on Mac because the director
adds ",macosx-bundled=true" to the profile property with the key "org.eclipse.equinox.p2.environments". This addition
enables the bogus requirement in one or two IUs of the platform repo. It's bogus because the required unit does not
exist in the platform repo. So, to be clear, the platform repo is broken. It contains a unit that conditionally requires
a not existing unit.
Our workaround effectively removes the ",macosx-bundled=true" string from the profile property that the director has
added in DirectorApplication.initializeProfile(). We do that by wrapping the registered profile registry and
intercepting the addProfile(id, profileProperties) method.