I’m going to create some new WPS functions but I’m having problem to get a development environment up and running.
I followed the guide at http://docs.geoserver.org/latest/en/developer/quickstart/index.html and got the main geoserver project up and running. I can start geoserver and it works.
However I can’t seem to figure out how to import the WPS-module to the project. When I do import->”Existing Projects into Workspace” neither community or extension modules are shown.
I’ve also built Geoserver with maven and the wps profile, but this didn’t help me inside eclipse.
Any help are appreciated.
Vänliga Hälsningar
Lukas
(attachments)
On Fri, Dec 30, 2011 at 1:25 PM, Lukas Johansson <lukas.johansson@anonymised.com> wrote:
I’m going to create some new WPS functions but I’m having problem to get a development environment up and running.
I followed the guide at http://docs.geoserver.org/latest/en/developer/quickstart/index.html and got the main geoserver project up and running. I can start geoserver and it works.
However I can’t seem to figure out how to import the WPS-module to the project. When I do import->”Existing Projects into Workspace” neither community or extension modules are shown.
I’ve also built Geoserver with maven and the wps profile, but this didn’t help me inside eclipse.
Any help are appreciated.
If you are building the eclipse projects from the command line you should do the following:
mvn eclipse:eclipse -Pwps
Then you should be able to import them with “import existing projects” and web-app will
be configured to depend on them
Cheers
Andrea
–
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
Please take note that GeoSolutions will be closed for Christmas holidays from 27/12 to 30/12
Thank you, it worked now.
I don’t know why it didn’t work the first time but I must have messed up the commandline to mvn.
Might I suggest that the guide is updated to make it even clearer that you’ll need to combine eclipse:eclipse with –Pwps (or any other profile).
/Lukas
···
Från: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] För Andrea Aime
Skickat: den 31 december 2011 11:13
Till: Lukas Johansson
Kopia: geoserver-devel@lists.sourceforge.net
Ämne: Re: [Geoserver-devel] Import WPSmodule into eclipse
On Fri, Dec 30, 2011 at 1:25 PM, Lukas Johansson <lukas.johansson@anonymised.com> wrote:
I’m going to create some new WPS functions but I’m having problem to get a development environment up and running.
I followed the guide at http://docs.geoserver.org/latest/en/developer/quickstart/index.html and got the main geoserver project up and running. I can start geoserver and it works.
However I can’t seem to figure out how to import the WPS-module to the project. When I do import->”Existing Projects into Workspace” neither community or extension modules are shown.
I’ve also built Geoserver with maven and the wps profile, but this didn’t help me inside eclipse.
Any help are appreciated.
If you are building the eclipse projects from the command line you should do the following:
mvn eclipse:eclipse -Pwps
Then you should be able to import them with “import existing projects” and web-app will
be configured to depend on them
Cheers
Andrea
–
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
Please take note that GeoSolutions will be closed for Christmas holidays from 27/12 to 30/12