ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/javacc JavaCC.java
Date Sat, 12 Jan 2002 23:51:47 GMT
donaldp     02/01/12 15:51:47

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/javacc
                        JavaCC.java
  Log:
  Reuse join functionality of stringutil rather than Commandline.toString
  
  Revision  Changes    Path
  1.11      +2 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java
  
  Index: JavaCC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JavaCC.java	6 Jan 2002 02:07:06 -0000	1.10
  +++ JavaCC.java	12 Jan 2002 23:51:47 -0000	1.11
  @@ -18,6 +18,7 @@
   import org.apache.tools.ant.types.Commandline;
   import org.apache.tools.ant.types.CommandlineJava;
   import org.apache.tools.ant.types.Path;
  +import org.apache.avalon.excalibur.util.StringUtil;
   
   /**
    * Taskdef for the JavaCC compiler compiler.
  @@ -243,7 +244,7 @@
       {
           try
           {
  -            getLogger().debug( Commandline.toString( cmdline ) );
  +            getLogger().debug( StringUtil.join( cmdline, " " ) );
               final Execute2 exe = new Execute2();
               setupLogger( exe );
               exe.setCommandline( cmdline );
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message