vgritsenko 01/07/05 14:03:28
Modified: src/org/apache/cocoon/components/language/programming/java
Jikes.java
Log:
another small fix
Revision Changes Path
1.5 +5 -2
xml-cocoon2/src/org/apache/cocoon/components/language/programming/java/Jikes.java
Index: Jikes.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/programming/java/Jikes.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Jikes.java 2001/07/05 17:56:45 1.4
+++ Jikes.java 2001/07/05 21:03:25 1.5
@@ -25,7 +25,7 @@
* This class wraps IBM's <i>Jikes</i> Java compiler
* NOTE: inspired by the Apache Jasper implementation.
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
- * @version $Revision: 1.4 $ $Date: 2001/07/05 17:56:45 $
+ * @version $Revision: 1.5 $ $Date: 2001/07/05 21:03:25 $
* @since 2.0
*/
@@ -182,8 +182,8 @@
// Continuation of previous error starts with ' '
if (line.length() > 0 && line.charAt(0) != ' ')
break;
- buffer.append(line);
buffer.append('\n');
+ buffer.append(line);
}
// if error is found create the vector
@@ -226,6 +226,9 @@
if ("".equals(message)) {
type = tokens.nextToken().trim().toLowerCase();
message = tokens.nextToken("\n").substring(1).trim();
+
+ while (tokens.hasMoreTokens())
+ message += "\n" + tokens.nextToken();
}
return new CompilerError(file, type.equals("error"), startline,
startcolumn, endline, endcolumn, message);
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]