Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.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 | eb3ab28d1c21 |
children | aaf8d32f85bd |
comparison
equal
deleted
inserted
replaced
1648:d1d6fd8cfbb2 | 1649:74142aa5d938 |
---|---|
250 logger.error("No WSPLGEN processing has been started!"); | 250 logger.error("No WSPLGEN processing has been started!"); |
251 | 251 |
252 return null; | 252 return null; |
253 } | 253 } |
254 | 254 |
255 Scheduler scheduler = Scheduler.getInstance(); | |
256 scheduler.addJob(job); | |
257 | |
258 facetCreator.createWSPLGENFacet(); | 255 facetCreator.createWSPLGENFacet(); |
259 | 256 |
260 facets.addAll(facetCreator.getFacets()); | 257 facets.addAll(facetCreator.getFacets()); |
261 | 258 |
262 context.afterCall(CallContext.BACKGROUND); | 259 context.afterCall(CallContext.BACKGROUND); |
266 Resources.getMsg( | 263 Resources.getMsg( |
267 context.getMeta(), | 264 context.getMeta(), |
268 "wsplgen.job.queued", | 265 "wsplgen.job.queued", |
269 "wsplgen.job.queued") | 266 "wsplgen.job.queued") |
270 )); | 267 )); |
268 | |
269 Scheduler scheduler = Scheduler.getInstance(); | |
270 scheduler.addJob(job); | |
271 | 271 |
272 return null; | 272 return null; |
273 } | 273 } |
274 | 274 |
275 | 275 |