[Geoserver-devel] WPS community module

Hi,

I recently checked in the WPS community module we're working on.

1) I'd like to know what the proper way would be to have the WPS
module be included selectivly when building GeoServer with Maven.
I haven't had much luck getting the WPS module to load outside of
my Eclipse development environment.

2) At this point we don't need any user configurability, and with
that in mind, what are the minimal modifications needed outside the
community module in order to get the WPS module loading and running?

Thanks,
Lucas Reed

Probably the nicest way is to use a maven profile, the way many of the community modules already do. Just add the dependencies you'd like to toggle inside of a <profile> block, like so:

in community/pom.xml
<profile>
   <id>WPS</id>
   <modules>
   <module>WPS</module> <!-- the directory name -->
   </modules>
</profile>

in web/pom.xml
<profile>
  <id>WPS</id>
  <dependencies>
    <dependency>
      <artifactId>WPS</artifactId>
      <groupId>org.geoserver</groupId>
      <version>1.7-SNAPSHOT</version>
    </dependency>
  </dependencies>
</profile>

There are plenty of examples in both of these files if that's not clear. To activate the profile, just add -P<id> to your maven command. It's a comma-separated list so you can do something wacky like:
"mvn install -Prest,geosearch,geosync,upload" to enable a bunch of modules.

-David

Lucas Reed wrote:

Hi,

I recently checked in the WPS community module we're working on.

1) I'd like to know what the proper way would be to have the WPS
module be included selectivly when building GeoServer with Maven.
I haven't had much luck getting the WPS module to load outside of
my Eclipse development environment.

2) At this point we don't need any user configurability, and with
that in mind, what are the minimal modifications needed outside the
community module in order to get the WPS module loading and running?

Thanks,
Lucas Reed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4040,483df76528895332866982!

I went ahead and added this profile for you as per Davids recommendation. Enjoy :).

David Winslow wrote:

Probably the nicest way is to use a maven profile, the way many of the community modules already do. Just add the dependencies you'd like to toggle inside of a <profile> block, like so:

in community/pom.xml
<profile>
   <id>WPS</id>
   <modules>
   <module>WPS</module> <!-- the directory name -->
   </modules>
</profile>

in web/pom.xml
<profile>
  <id>WPS</id>
  <dependencies>
    <dependency>
      <artifactId>WPS</artifactId>
      <groupId>org.geoserver</groupId>
      <version>1.7-SNAPSHOT</version>
    </dependency>
  </dependencies>
</profile>

There are plenty of examples in both of these files if that's not clear. To activate the profile, just add -P<id> to your maven command. It's a comma-separated list so you can do something wacky like:
"mvn install -Prest,geosearch,geosync,upload" to enable a bunch of modules.

-David

Lucas Reed wrote:

Hi,

I recently checked in the WPS community module we're working on.

1) I'd like to know what the proper way would be to have the WPS
module be included selectivly when building GeoServer with Maven.
I haven't had much luck getting the WPS module to load outside of
my Eclipse development environment.

2) At this point we don't need any user configurability, and with
that in mind, what are the minimal modifications needed outside the
community module in order to get the WPS module loading and running?

Thanks,
Lucas Reed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,483df93832588992556831!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

2) At this point we don't need any user configurability, and with
that in mind, what are the minimal modifications needed outside the
community module in order to get the WPS module loading and running?

You may want to consider utilizing the new configuration stuff when you do get to the point where you need to configure the module. It should save you quite a bit of time as its designed to support new types of services in an extensible way.

Thanks,
Lucas Reed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,483df76528927082231907!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Hi David,

That's what I was thinking would work best.

-Lucas

David Winslow wrote:

Probably the nicest way is to use a maven profile, the way many of the community modules already do. Just add the dependencies you'd like to toggle inside of a <profile> block, like so:

in community/pom.xml
<profile>
  <id>WPS</id>
  <modules>
  <module>WPS</module> <!-- the directory name -->
  </modules>
</profile>

in web/pom.xml
<profile>
<id>WPS</id>
<dependencies>
   <dependency>
     <artifactId>WPS</artifactId>
     <groupId>org.geoserver</groupId>
     <version>1.7-SNAPSHOT</version>
   </dependency>
</dependencies>
</profile>

There are plenty of examples in both of these files if that's not clear. To activate the profile, just add -P<id> to your maven command. It's a comma-separated list so you can do something wacky like:
"mvn install -Prest,geosearch,geosync,upload" to enable a bunch of modules.

-David

Lucas Reed wrote:

Hi,

I recently checked in the WPS community module we're working on.

1) I'd like to know what the proper way would be to have the WPS
module be included selectivly when building GeoServer with Maven.
I haven't had much luck getting the WPS module to load outside of
my Eclipse development environment.

2) At this point we don't need any user configurability, and with
that in mind, what are the minimal modifications needed outside the
community module in order to get the WPS module loading and running?

Thanks,
Lucas Reed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4040,483df76528895332866982!