bodewig 2002/07/22 04:01:14
Modified: src/main/org/apache/tools/ant Tag: ANT_15_BRANCH Target.java
Log:
Fix misleading log message in Target.
Submitted by: Owen Nichols <[EMAIL PROTECTED]>
Revision Changes Path
No revision
No revision
1.33.2.1 +5 -3 jakarta-ant/src/main/org/apache/tools/ant/Target.java
Index: Target.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Target.java,v
retrieving revision 1.33
retrieving revision 1.33.2.1
diff -u -r1.33 -r1.33.2.1
--- Target.java 9 Apr 2002 15:27:07 -0000 1.33
+++ Target.java 22 Jul 2002 11:01:14 -0000 1.33.2.1
@@ -313,11 +313,13 @@
}
}
} else if (!testIfCondition()) {
- project.log(this, "Skipped because property '" +
this.ifCondition
- + "' not set.", Project.MSG_VERBOSE);
+ project.log(this, "Skipped because property '"
+ + project.replaceProperties(this.ifCondition)
+ + "' not set.", Project.MSG_VERBOSE);
} else {
project.log(this, "Skipped because property '"
- + this.unlessCondition + "' set.", Project.MSG_VERBOSE);
+ + project.replaceProperties(this.unlessCondition)
+ + "' set.", Project.MSG_VERBOSE);
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>