Hi Alan,
Alan Gerber wrote:
Today I committed the printing module to subversion in /community/ printing. Documentation as it stands is at <http://geoserver.org/display/GEOS/Printing+HOWTO >; is that the correct place? However, it's not terribly useful right now for a couple of reasons:
1. You need to bulid your own GeoServer to take advantage of it, rather than being able to install it as an extension. How do you package things up to make them available as an extension? I can't find much of an answer poking around old or new dox on the GeoServer site. I may have missed it, but if not, if something needs to be written up explaining, I could do that afterward, too.
Yeah, much has not been ported to the new guide yet. But the extension packaging guide is here:
http://geoserver.org/display/GEOS/GSIP+22+-+Community+Modules
It walks through the process of creating a release artifact descriptor. However, our project policies differentiate between community modules and extensions. To be release a community module must be upgraded to an extension, and this requires a few things like test coverage, documentation, etc... See the above for the requirements.
2. It expects a configuration in /data/printing. How do you distribute default/example configurations? Where ought they be put?
Is this inside the data directory? Or somewhere on the file system? All configuration stuff is usually shipped inside of the data directory. For extensions it is a bit tricky, since we probably don't want to add configuration for plug-ins to the data directory.
One trick that is used is to distribute any configuration files needed by a plugin with the plugin itself, usually some default values. Then the plugin on startup or sometime at runtime:
1) checks the data dir for the files
2) if they don't exist, copy them out into data dir from the classpath
Does that make sense?
3. On a similar note, it would be nice to distribute an example of how it's used. Where ought that be put?
Depends on what the example looks like. Is it a java program, is it a web app? etc...
Thanks,
Alan
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.