# HG changeset patch # User Andre Heinecke # Date 1363794172 -3600 # Node ID 2f6e6ae2fc56fd51cfc7e0377d59974a579ac631 # Parent d43ef9f709cd7c54f03abad59e62f3c027335d09 Add small howto which consists mostly of the notes i took while adding the HWSLines / Points wms artifacts diff -r d43ef9f709cd -r 2f6e6ae2fc56 flys-artifacts/doc/howto_wmsartifact.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-artifacts/doc/howto_wmsartifact.txt Wed Mar 20 16:42:52 2013 +0100 @@ -0,0 +1,21 @@ +Howto add a wmsartifact for the maps: + +- Add artifact similar to the existing ones in: + flys-artifacts/src/main/java/de/intevation/flys/artifacts/ +- Define facet name in: + flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java +- Modify datacage configuration (there is documentation in flys-artifacts/doc): + flys-artifacts/doc/conf/meta-data.xml +- Define the Factory used in the datacage configuration in: + flys-artifacts/doc/conf/conf.xml +- Define the facet for the Map: + flys-artifacts/doc/conf/artifacts/map.xml +- You might also want to add it to the floodmap in winfo: + flys-artifacts/doc/conf/artifacts/winfo.xml +- Add translations for the datacage elements in: + flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java +- English localization: + flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties +- German localization: + flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties +