Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Obuchowicz2019-10-16 20:37:37 +0000
committerAlexander Kurtakov2019-10-24 07:28:47 +0000
commit6a994b1154ad53a541ac0f938d1191296986659a (patch)
tree6a451f7ee2e76f3cac4293e09ce962ae328d3e82
parentd79051169d497b5960b2b2b35110ed2b8d3431f1 (diff)
downloadeclipse.platform.ua-6a994b1154ad53a541ac0f938d1191296986659a.tar.gz
eclipse.platform.ua-6a994b1154ad53a541ac0f938d1191296986659a.tar.xz
eclipse.platform.ua-6a994b1154ad53a541ac0f938d1191296986659a.zip
Bug 546446 - buildhelpIndex ant task not reporting which file breaks
Replace system.out calls with system.err so that files which break indexing will be output to console during build Change-Id: I60e0a737faf4762367159ec0a41e72572f8e0882 Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
-rw-r--r--org.eclipse.help.base/src_ant/org/eclipse/help/internal/base/ant/BuildHelpIndex.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.help.base/src_ant/org/eclipse/help/internal/base/ant/BuildHelpIndex.java b/org.eclipse.help.base/src_ant/org/eclipse/help/internal/base/ant/BuildHelpIndex.java
index 2c1cde11f..71a2f82fc 100644
--- a/org.eclipse.help.base/src_ant/org/eclipse/help/internal/base/ant/BuildHelpIndex.java
+++ b/org.eclipse.help.base/src_ant/org/eclipse/help/internal/base/ant/BuildHelpIndex.java
@@ -72,12 +72,12 @@ public class BuildHelpIndex extends Task {
private void printStatus(CoreException e) {
IStatus status = e.getStatus();
- System.out.println(e.getMessage());
+ System.err.println(e.getMessage());
if (status.isMultiStatus()) {
IStatus [] children = status.getChildren();
for (int i=0; i<children.length; i++) {
IStatus child = children[i];
- System.out.println(" "+child.getMessage()); //$NON-NLS-1$
+ System.err.println(" " + child.getMessage()); //$NON-NLS-1$
}
}
}

Back to the top