Hey Jody and Andrea,

I'll see if I can come up with something. I hope to find time for this.

Thanks anyhow in assuring me that the problem wasn't on my side.

Best,
Marc


On 14/11/14 18:14, Jody Garnett wrote:
I would recommend the Geotools process tutorial
On Fri, Nov 14, 2014 at 4:59 AM Andrea Aime <[email protected] <mailto:[email protected]>> wrote:

    On Fri, Nov 14, 2014 at 12:41 PM, Marc Jansen
    <[email protected] <mailto:[email protected]>> wrote:

        Hi everybody,

        while I was trying to generate a maven archetype for
        implementing a
        WPS-Process, the documentation at
        
http://docs.geoserver.org/stable/en/developer/programming-guide/wps-services/implementing.html
        and especially the example seemed to me to be outdated. If I
        remember
        correctly, following the step-by-step example exactly
        word-by-word lead
        to a maven project that would not compile.

        I have this working now, but wanted to double check whether it
        was me
        that did something wrong or whether the documentation needs to
        be updated.


    Definitely the docs, they were never touched after the first draft.
    In general the dev doc are not receiving much (if any) updates at all,
    I believe we're too short staffed to maintain them.


        I'd volunteer to correct the docs, if this OK for you.

        For a reference, here is an example WPS-Process maven project:
        
https://github.com/marcjansen/geoserver-wps-archetype/tree/master/example-hello-wps
        and then there is the beforementioned maven archetype
        (generated from
        the sample)
        
https://github.com/marcjansen/geoserver-wps-archetype/tree/master/archetype


    I'd update them to add a test to the wps test jar (which I made
    GeoServer generate,
    off the trunk code, just recently) in case people want to run
    integration tests
    like
    
https://github.com/geoserver/geoserver/blob/master/src/extension/wps/wps-core/src/test/java/org/geoserver/wps/ExecuteTest.java
    using the same base class.

    Another thing that could be handy, for people that cannot modify
    the GeoServer own web-app pom, would be to add a test/provided
    dependency on the web-app module, dependencies on jetty,
    and copy the Start.java class from web-app, in order to run GeoServer
    with that extra process without having to manually deploy the jar
    to a instance already unpacked in Tomcat.

    Just an idea

    Cheers
    Andrea

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to