Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » p2 director: Any success/failure tests?
p2 director: Any success/failure tests? [message #642229] Tue, 30 November 2010 13:09 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Our installation program is supposed to allow installation of additional
plugins to our RCP application using the p2 director as described in

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_director.html

1) How can we test that the installation succeeds?

2) There exists the parameter -verifyOnly described as

"only verify that the actions can be performed. Don't actually install
or remove anything."

First, I observe that calling with this parameter changes *something*,
e.g. there are new directories in the configuration folder after that.

Second, the same question applies to this call: How can we recognice a
success?

I observe that on failure a .log file is produced in the configuration
directory, but this seems not to be documented (AFAIK). Are we really
supposed to search for such a log file as indicator?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: p2 director: Any success/failure tests? [message #643000 is a reply to message #642229] Fri, 03 December 2010 15:57 Go to previous message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
hi Daniel,
p2.director will exit with 0 if it succeeds, or with an error code otherwise.
Regarding the files created with -verifyOnly, I guess that they're the cache files, created on first application start.
Previous Topic:update does not copy updated feature, plugins
Next Topic:IProvisioningAgent returns no services
Goto Forum:
  


Current Time: Thu Apr 25 01:42:41 GMT 2024

Powered by FUDForum. Page generated in 0.03338 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top