Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-08-20 09:13:11 -0400
committerpelder2009-08-20 09:13:11 -0400
commita51a59b949cfbd4db7538a6d29933963567f1420 (patch)
tree451689919fea5b663674a9fead2569c40a85a322
parentc194591db5bc0dc5feed91cba61f44ae9458505f (diff)
downloadorg.eclipse.jet-a51a59b949cfbd4db7538a6d29933963567f1420.tar.gz
org.eclipse.jet-a51a59b949cfbd4db7538a6d29933963567f1420.tar.xz
org.eclipse.jet-a51a59b949cfbd4db7538a6d29933963567f1420.zip
[278368] Error on succesful jet.transform Ant task with log
-rw-r--r--plugins/org.eclipse.jet/antsrc/org/eclipse/jet/ant/tasks/JETTransformTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/antsrc/org/eclipse/jet/ant/tasks/JETTransformTask.java b/plugins/org.eclipse.jet/antsrc/org/eclipse/jet/ant/tasks/JETTransformTask.java
index 048003d..7ac61c8 100644
--- a/plugins/org.eclipse.jet/antsrc/org/eclipse/jet/ant/tasks/JETTransformTask.java
+++ b/plugins/org.eclipse.jet/antsrc/org/eclipse/jet/ant/tasks/JETTransformTask.java
@@ -90,7 +90,7 @@ public class JETTransformTask extends Task {
log("Running \"" + transformId + "\" on resource \"" + resource.getFullPath().toString() + "\".");
final IStatus result = JET2Platform.runTransformOnResource(transformId, resource, monitor);
- if(!result.isOK()) {
+ if(!result.matches(IStatus.OK|IStatus.INFO)) {
throw new BuildException(result.getMessage());
}
}

Back to the top