[Geoserver-devel] WEB-INF/lib alternative

i've created a DataStoreFactorySpi based data store. it works great!

is there an alternative to installing my store in geoserver/WEB-INF/lib?

i'm working on deploying the store, and it looks like i'm gonna need to download geoserver.war, explode it, add in my jar, package that up and send it off for deployment.

i'm hoping there is a cleaner approach.

  -trebor

Check out one of the community modules; there are several that just have a dependency (on the datastore in question) in order to get it included.

They are added into the build with a profile; you can take a similar step when building geoserver locally?

(note this is the devel list; you are building geoserver right?)


Jody Garnett

On Saturday, 2 July 2011 at 7:32 AM, Robert Harris wrote:

i’ve created a DataStoreFactorySpi based data store. it works great!

is there an alternative to installing my store in geoserver/WEB-INF/lib?

i’m working on deploying the store, and it looks like i’m gonna need to download geoserver.war, explode it, add in my jar, package that up and send it off for deployment.

i’m hoping there is a cleaner approach.

-trebor

All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2


Geoserver-devel mailing list
Geoserver-devel@anonymised.com.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Jul 1, 2011, at 10:55 PM, Jody Garnett wrote:

Check out one of the community modules; there are several that just have a dependency (on the datastore in question) in order to get it included.

will do.

They are added into the build with a profile; you can take a similar step when building geoserver locally?

that may be the cleanest way to do this. i'll give it a go.

(note this is the devel list;

about that - i wasn't sure which list to post my questions to. it wasn't clear to me if the dev/user list difference was "if your writing code post to the dev list" or "if your actively developing geoserver post to the dev list". i'm writing code, but not (thus far) contributing to geoserver. if i've gotten the semantics wrong, please forgive me - i would be happy to move over to the user list.

you are building geoserver right?)

i'm not currently. i was kinda hoping for a solution that didn't involve holding a copy of the geoserver dev tree - though it looks like it might be the best way to deploy my module.

  -trebor

you are building geoserver right?)

i’m not currently. i was kinda hoping for a solution that didn’t involve holding a copy of the geoserver dev tree - though it looks like it might be the best way to deploy my module.

You don’t need to hold the entire dev tree (maven can download the rest). All you need is your “community module” and the “web app” module (you can copy the geoserver web app as an example; and just modify it to include a dependency on your community module. There is an example in the developers guide on how to do this…

jody

On Wed, Jul 6, 2011 at 12:13 AM, Jody Garnett <jody.garnett@…403…> wrote:

you are building geoserver right?)

i’m not currently. i was kinda hoping for a solution that didn’t involve holding a copy of the geoserver dev tree - though it looks like it might be the best way to deploy my module.

You don’t need to hold the entire dev tree (maven can download the rest). All you need is your “community module” and the “web app” module (you can copy the geoserver web app as an example; and just modify it to include a dependency on your community module. There is an example in the developers guide on how to do this…

While in theory this is possible I keep on hearing people trying to do that having issues, I guess
there is something wrong with the repo that holds the snapshots because sometimes people get
outdated jars.

I normally have both geotools and geoserver source trees checked out daily, that seems to
work fine

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

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


Perhaps we should recommend that users doing that depend on released versions of GeoTools and GeoServer rather than nightly snapshots?


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

On Wed, Jul 6, 2011 at 2:42 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Jul 6, 2011 at 12:13 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

you are building geoserver right?)

i’m not currently. i was kinda hoping for a solution that didn’t involve holding a copy of the geoserver dev tree - though it looks like it might be the best way to deploy my module.

You don’t need to hold the entire dev tree (maven can download the rest). All you need is your “community module” and the “web app” module (you can copy the geoserver web app as an example; and just modify it to include a dependency on your community module. There is an example in the developers guide on how to do this…

While in theory this is possible I keep on hearing people trying to do that having issues, I guess
there is something wrong with the repo that holds the snapshots because sometimes people get
outdated jars.

I normally have both geotools and geoserver source trees checked out daily, that seems to
work fine

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

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



All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel