You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by we...@apache.org on 2002/06/19 19:14:01 UTC
cvs commit: jakarta-commons-sandbox/./jelly/src/java/org/apache/commons/jelly/tags/ant AntTagLibrary.java
werken 2002/06/19 10:14:01
Modified: ./jelly/src/java/org/apache/commons/jelly/tags/ant
AntTagLibrary.java
Log:
Special case so that <echo> preserves whitespace by default.
Revision Changes Path
1.13 +4 -0 jakarta-commons-sandbox/./jelly/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java
Index: AntTagLibrary.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/./jelly/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- AntTagLibrary.java 18 Jun 2002 18:36:43 -0000 1.12
+++ AntTagLibrary.java 19 Jun 2002 17:14:01 -0000 1.13
@@ -222,6 +222,10 @@
if ( type != null ) {
TaskTag tag = new TaskTag( project, type, name );
tag.setTrim( true );
+
+ if ( name.equals( "echo" ) ) {
+ tag.setTrim(false);
+ }
return TagScript.newInstance(tag);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>