how to test featureurl [message #443865] |
Sun, 05 February 2006 21:43 |
Eclipse User |
|
|
|
Originally posted by: faro12.gmx.net
hi all,
unfortunatly the eclipse UpdateManagerUI is a little bit too complex for your whishes..now i am trying to do my own update gui..
Question:
how can i get information about the reachability of the feature url?
UpdateCommand uc = null;
try {
uc = new UpdateCommand(id, "false");
} catch (Exception e) {
e.printStackTrace();
}
boolean success = uc.run(monitor);
success is true if the feature could be installed->clear! but if success is false the reason could be:
a) the local feature is up-to-date or
b) the feature-url could not be reached (no network etc. avaible..)
does anybody know how to differiate between a and b ?
thanks peter
|
|
|
Powered by
FUDForum. Page generated in 0.03263 seconds