ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java
Date Mon, 21 Mar 2005 15:26:49 GMT
bodewig     2005/03/21 07:26:49

  Modified:    src/main/org/apache/tools/ant/taskdefs Javadoc.java
  Log:
  replace '\' if quoting file names, PR 27814
  
  Revision  Changes    Path
  1.138     +3 -1      ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -r1.137 -r1.138
  --- Javadoc.java	17 Mar 2005 09:34:02 -0000	1.137
  +++ Javadoc.java	21 Mar 2005 15:26:49 -0000	1.138
  @@ -2013,7 +2013,9 @@
                   String sourceFileName = sf.getFile().getAbsolutePath();
                   if (useExternalFile) {
                       if (javadoc4 && sourceFileName.indexOf(" ") > -1) {
  -                        srcListWriter.println("\"" + sourceFileName + "\"");
  +                        String name = 
  +                            sourceFileName.replace(File.separatorChar, '/');
  +                        srcListWriter.println("\"" + name + "\"");
                       } else {
                           srcListWriter.println(sourceFileName);
                       }
  
  
  

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


Mime
View raw message