Author: hibou
Date: Sun Aug 3 06:54:27 2008
New Revision: 682173
URL: http://svn.apache.org/viewvc?rev=682173&view=rev
Log:
Improved logging, gives information about which project succeded or failed
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
Modified:
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
URL:
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java?rev=682173&r1=682172&r2=682173&view=diff
==============================================================================
---
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
(original)
+++
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
Sun Aug 3 06:54:27 2008
@@ -293,7 +293,10 @@
resolver.setUncaughtExceptionHandler(new
Thread.UncaughtExceptionHandler() {
public void uncaughtException(Thread t, Throwable e) {
status[0] = new Status(IStatus.ERROR, IvyPlugin.ID,
IStatus.ERROR,
- "The resolve job has unexpectedly stopped", e);
+ "The resolve job of "
+ + (conf.getJavaProject() == null ? "" :
conf.getJavaProject()
+ .getProject().getName()
+ + "/") + conf.ivyXmlPath + " has
unexpectedly stopped", e);
}
});
@@ -322,7 +325,10 @@
return status[0];
} finally {
container.job = null;
- IvyPlugin.log(IStatus.INFO, "resolved dependencies of " +
conf.ivyXmlPath, null);
+ IvyPlugin.log(IStatus.INFO, "resolved dependencies of "
+ + (conf.getJavaProject() == null ? "" :
conf.getJavaProject().getProject()
+ .getName()
+ + "/") + conf.ivyXmlPath, null);
}
}