comparison flys-artifacts/src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java @ 1649:74142aa5d938

Improved WSPLGEN start to suppress inconsistent Artifact states. flys-artifacts/trunk@2836 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 27 Sep 2011 11:33:45 +0000
parents d1d6fd8cfbb2
children 453d2d0c4258
comparison
equal deleted inserted replaced
1648:d1d6fd8cfbb2 1649:74142aa5d938
61 @Override 61 @Override
62 protected void update(String log) { 62 protected void update(String log) {
63 Matcher startError = WSPLGEN_ERROR_START.matcher(log); 63 Matcher startError = WSPLGEN_ERROR_START.matcher(log);
64 if (startError.matches()) { 64 if (startError.matches()) {
65 if (startError.groupCount() >= 2) { 65 if (startError.groupCount() >= 2) {
66 String tmp = startError.group(2); 66 String tmp = startError.group(3);
67 67
68 if (tmp != null && tmp.length() > 0) { 68 if (tmp != null && tmp.length() > 0) {
69 error = Integer.parseInt(tmp); 69 error = Integer.parseInt(tmp);
70 } 70 }
71 else error = 1; 71 else error = 1;

http://dive4elements.wald.intevation.org