# HG changeset patch # User Bjoern Ricks # Date 1348821981 0 # Node ID c254939fae523cec098ba8814a6a6779c33af070 # Parent 4e1b3b4ef1322a5f102c506ea6300f8d9b893a33 Also add the name to the artifact description flys-artifacts/trunk@5637 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 4e1b3b4ef132 -r c254939fae52 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Sep 28 08:44:49 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Sep 28 08:46:21 2012 +0000 @@ -1,3 +1,8 @@ +2012-09-29 Björn Ricks + + * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: + Also add the artifact name to the artifact description. + 2012-09-29 Björn Ricks * doc/conf/conf.xml, diff -r 4e1b3b4ef132 -r c254939fae52 flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java Fri Sep 28 08:44:49 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java Fri Sep 28 08:46:21 2012 +0000 @@ -50,6 +50,13 @@ Element root = ProtocolUtils.createRootNode(creator); desc.appendChild(root); + Element name = ProtocolUtils.createArtNode( + creator, "name", + new String[] { "value" }, + new String[] { getName() }); + + root.appendChild(name); + ProtocolUtils.appendDescribeHeader(creator, root, identifier(), hash()); root.appendChild(createOutputModes(cc, desc, creator));