comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 1060:2d60a875e28c

Set the master artifact while output creation. flys-artifacts/trunk@2532 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 23 Aug 2011 13:05:54 +0000
parents 3f3988bb6284
children e6b513495281
comparison
equal deleted inserted replaced
1059:fdb0f4ef96f0 1060:2d60a875e28c
268 268
269 if (outName.equals("export") && !facetName.equals(facet)) { 269 if (outName.equals("export") && !facetName.equals(facet)) {
270 continue; 270 continue;
271 } 271 }
272 272
273 // TODO Remove the following two lines of code! The master
274 // artifact has to be determined correctly after
275 // OutGenerator.init is called!
276 Artifact artifact = getArtifact(art, context); 273 Artifact artifact = getArtifact(art, context);
277 generator.setMasterArtifact(artifact); 274 if (i == 0) {
275 generator.setMasterArtifact(artifact);
276 }
278 277
279 if (theme.getActive() == 0) { 278 if (theme.getActive() == 0) {
280 continue; 279 continue;
281 } 280 }
282 281

http://dive4elements.wald.intevation.org