On 04/08/2010 10:43 PM, Tara Athan wrote:
> I am looking for a way to automatically update keywords. I started
> writing php scripts to implement the curl commands given in the online
> user manual.
> Then I saw a recent exchange on geoserver-users about
> java/org/geoserver/rest/client library.
>
> I would much rather do my updates with java than php.
>
> However, in looking at this particular class,
> http://svn.codehaus.org/geoserver/trunk/src/community/restconfig-java/src/main/java/org/geoserver/rest/client/datatypes/FeatureType.java
>
>   I don't see the keywords. Is there some reason keywords are not
> properties of this class, or did it just get overlooked? I could trying
> adding this functionality to the class if this seems like a reasonable
> thing to do. (I am not an advanced java programmer, but am willing to
> give it a try.)
>
>    

Keywords are (should be, anyway) associated with FeatureType, this is 
probably just an oversight on the part of the developer of that module.  
I can't speak for the maintainer of the Java RestConfig client, but I 
imagine a patch would be welcome.  This is actually a bug, since if 
keywords are not included in rest requests they will be cleared on the 
server, meaning that any modifications made with this client will remove 
keywords from the affected featuretypes.

--
David Winslow
OpenGeo - http://opengeo.org/

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to