[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Self hosting with a p2 profile

The PDE team is looking to add a new enhancement for M3 that will hopefully help out p2 developers.  When self-hosting, the launched workbench currently must reuse the profile from the host.  This can make it difficult to test p2 code that modifies the profile.  This enhancement would generate a profile containing metadata for the launched plug-ins and set the profile as the default for the target workbench.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=250126

There is a patch on the bug that adds a new check box to the configuration tab of the PDE launch configuration.  By checking the generate p2 profile option, everything should happen during the launch.

I'm hoping to get some feedback from p2 users/developers.  If you could give the patch a try, or try out the feature in M3 and post feedback on the bug or this mailing list that would be great.

I haven't been able to get it to work for 3.4 targets, can anyone on the list point out if there were any changes between 3.4/3.5 in where/how the profile is stored by the simple profile registry?

Curtis