Author: max.andersen(a)jboss.com
Date: 2007-10-19 10:36:22 -0400 (Fri, 19 Oct 2007)
New Revision: 4382
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ELExceptionsMatcher.java
Log:
fix to ELExceptionMatcher to handle "Exception:" being listed on the same line
twice.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ELExceptionsMatcher.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ELExceptionsMatcher.java 2007-10-19
13:15:41 UTC (rev 4381)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/console/ELExceptionsMatcher.java 2007-10-19
14:36:22 UTC (rev 4382)
@@ -102,6 +102,12 @@
lineNum = matcher.group(2);
columnNum = matcher.group(3);
columnEnd = matcher.end(3);
+
+ int space = resource.lastIndexOf(' ');
+ if(space!=-1) {
+ resource = resource.substring(space).trim();
+ resourceStart = resourceEnd - resource.length();
+ }
CustomFileLink customFileLink = new CustomFileLink(console,
resource, lineNum);
try {
Show replies by date