cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/components/language/programming/java Javac.java
Date Thu, 31 Aug 2000 15:57:55 GMT
stefano     00/08/31 08:57:54

  Modified:    src/org/apache/cocoon/components/language/programming/java
                        Tag: xml-cocoon2 Javac.java
  Log:
  this should fix the problems on windows... but the parsing code for the javac-generated
errors still sucks big time
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +2 -1      xml-cocoon/src/org/apache/cocoon/components/language/programming/java/Attic/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/programming/java/Attic/Javac.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- Javac.java	2000/08/21 17:41:46	1.1.2.4
  +++ Javac.java	2000/08/31 15:57:53	1.1.2.5
  @@ -16,7 +16,7 @@
    * This class wraps the Sun's Javac Compiler.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.1.2.4 $ $Date: 2000/08/21 17:41:46 $
  + * @version $Revision: 1.1.2.5 $ $Date: 2000/08/31 15:57:53 $
    * @since 2.0
    */
   
  @@ -174,6 +174,7 @@
   
       StringTokenizer tokens = new StringTokenizer(error, ":");
       String file = tokens.nextToken();
  +    if (file.length() == 1) file += ":" + tokens.nextToken();
       int line = Integer.parseInt(tokens.nextToken());
   
       tokens = new StringTokenizer(tokens.nextToken().trim(), "\n");
  
  
  

Mime
View raw message