commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wer...@apache.org
Subject cvs commit: jakarta-commons-sandbox/./jelly/src/java/org/apache/commons/jelly/tags/ant AntTagLibrary.java
Date Wed, 19 Jun 2002 17:14:01 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message