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/compilers DefaultCompilerAdapter.java
Date Sat, 12 Jan 2002 23:46:22 GMT
donaldp     02/01/12 15:46:22

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers
                        DefaultCompilerAdapter.java
  Log:
  Reuse join functionality of stringutil rather than Commandline.toString
  
  Revision  Changes    Path
  1.23      +1 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  
  Index: DefaultCompilerAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- DefaultCompilerAdapter.java	6 Jan 2002 01:56:09 -0000	1.22
  +++ DefaultCompilerAdapter.java	12 Jan 2002 23:46:22 -0000	1.23
  @@ -348,7 +348,7 @@
                * POSIX seems to define a lower limit of 4k, so use a temporary
                * file if the total length of the command line exceeds this limit.
                */
  -            if( Commandline.toString( args ).length() > 4096 )
  +            if( StringUtil.join( args, " " ).length() > 4096 )
               {
                   PrintWriter out = null;
                   try
  
  
  

--
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