[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] application integrity when provisioning stops

Hello,

I plan to use P2 to provision an application, and I was wondering what happens if some error occurs while downloading the artifacts. For instance, let's say I have a feature A that contains two plugins pl1 and pl2. Feature A and plugin pl2 are downloaded OK, and the repository becomes unavailable during the download of plugin pl2.

What is the state of the application and it's profile ? I am using the P2 API, therefore UpdateOperation instances. Are they transaction-based, and a rollback is automatically performed in case of failure ?

Thanks in advance,
Radu Kopetz