[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] rollbacking a provisiong action

Hello all !
I was wondering if there was a public API to rollback a provisioning
action in p2.
I found this class : 
org.eclipse.equinox.internal.p2.rollback.FormerState
that could do the work (you give to it the current [n] and a former
[n-1] profile; and it creates a change request to create a new
profile[n+1] similar to the former profile [n-1]) 

public static IProfileChangeRequest
generateProfileDeltaChangeRequest(IProfile current, IProfile target)


but... it is an internal class... in an internal package, depending
onothe rinternal packages (part of the p2 director bundle)

So I think this lead is not viable...

How do you guys proceed with rollbacking ?

Thanks for your answers !!


Anthony Dahanne
Software Developer
Compuware Montreal
75 Rue Queen, Suite 6500
Montreal, QC, Canada H3C 2N6
+1-514-798-8949



 
Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant Ãtre confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer à qui que ce soit à moins que vous soyez le destinataire ou une personne dÃsignÃe autorisÃe. Si vous le receviez par erreur, veuillez nous aviser immÃdiatement et le dÃtruire.
 
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.