Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
adapt to tycho-compiler-jdt 0.19.0
org.eclipse.tycho:tycho-compiler-jdt:0.19.0 generates locations as "[line]" not "[line, column]" as before;
see https://issues.jenkins-ci.org/browse/JENKINS-21377
  • Loading branch information
codesimplicity committed Jan 14, 2014
1 parent f0bfddd commit d47a3ad49e0e60213839c2430bfb3771d828c156
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/warnings/parser/EclipseParser.java
@@ -16,7 +16,7 @@
@Extension
public class EclipseParser extends RegexpDocumentParser {
private static final long serialVersionUID = 425883472788422955L;
private static final String ANT_ECLIPSE_WARNING_PATTERN = "\\[?(WARNING|ERROR)\\]?\\s*(?:in)?\\s*(.*)(?:\\(at line\\s*(\\d+)\\)|:\\[(\\d+),).*(?:\\r?\\n[^\\^]*)+(?:\\r?\\n(.*)([\\^]+).*)\\r?\\n(?:\\s*\\[.*\\]\\s*)?(.*)";
private static final String ANT_ECLIPSE_WARNING_PATTERN = "\\[?(WARNING|ERROR)\\]?\\s*(?:in)?\\s*(.*)(?:\\(at line\\s*(\\d+)\\)|:\\[(\\d+)).*(?:\\r?\\n[^\\^]*)+(?:\\r?\\n(.*)([\\^]+).*)\\r?\\n(?:\\s*\\[.*\\]\\s*)?(.*)";

/**
* Creates a new instance of {@link EclipseParser}.

0 comments on commit d47a3ad

Please sign in to comment.