[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] RE: Automatically resolve dependencies using p2 director?

My problem's been fixed. It turns out p2 director should resolve dependencies by default. The reason the dependency resolution was not working for me is because I'm sitting behind a proxy, and I was trying to run p2 director on an Eclipse install that didn't have the network proxy information set. After updating the proxy settings, p2 director ran without a hitch.

For those interested in seeing a good, solid example of how to use p2 director, here's a good reference:

http://wiki.eclipse.org/Equinox_p2_director_application/Examples/Install_into_eclipse_using_SDKProfile

Which is linked to from the official wiki page for p2 director:

http://wiki.eclipse.org/Equinox_p2_director_application

Troy

-----Original Message-----
From: Troy Brant
Sent: Thursday, July 24, 2008 5:18 PM
To: 'equinox-dev@xxxxxxxxxxx'
Subject: Automatically resolve dependencies using p2 director?

Is there a way to have the p2 director application actively go out and pull down required dependencies from the list of known update sites? This is the default behavior when installing features through the p2 software update UI, but when attempting to automate the process using p2 director, I'm getting a "Requested operation cannot be performed because it would invalidate the current configuration" CoreException. My feature is built on top of both CDT and RSE, and so it would be fantastic if there's a way to have p2 director grab these required plugins if they don't exist on the system or the versions don't match up.

Thanks for the help. I can provide more details on how I'm doing things and the error I'm getting if needed.

Troy