[Geoserver-devel] 1.4 maven deploy-full and deployment configurations

Can we get back the file structure for deploying geoserver with the various UserBasic, Min, and other configurations? The configurations seem to be lost in 1.4 svn.
It would also be nice to deploy from a file structure and not having to zip it up every time, or at least have a script that will do it all in one go.

--
Brent Owens
(The Open Planning Project)

This was done intentionally. In 1.3.x checkouts took forever due to the
amount of binary data in the repository due to the various
configurations. I literally could *not* check out geoserver code when I
was in South Africa!!

Ideally what I think would work well is having the build script download
the config zip automatically. I wanted to do this initially but was
stuck on maven2 bug to do with ant, might be fixed now.

Alternatively, you can use the GEOSERVER_DATA_DIR to just point to the
new style stuff. You specify it in the web/pom.xml file. I just
committed a change to the pom, which has a commented out example.

I know this is quite different from the old way of doing things. Does
anyone else have any comments?

-Justin

Brent Owens wrote:

Can we get back the file structure for deploying geoserver with the
various UserBasic, Min, and other configurations? The configurations
seem to be lost in 1.4 svn.
It would also be nice to deploy from a file structure and not having to
zip it up every time, or at least have a script that will do it all in
one go.

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

The conf directory was a mess :slight_smile:

Justin perhaps you ant to set up a 1.4 transition phase - to capture any other changes the community did
not understand from email over the last couple months.

Jody

This was done intentionally. In 1.3.x checkouts took forever due to the
amount of binary data in the repository due to the various
configurations. I literally could *not* check out geoserver code when I
was in South Africa!!

Ideally what I think would work well is having the build script download
the config zip automatically. I wanted to do this initially but was
stuck on maven2 bug to do with ant, might be fixed now.

Alternatively, you can use the GEOSERVER_DATA_DIR to just point to the
new style stuff. You specify it in the web/pom.xml file. I just
committed a change to the pom, which has a commented out example.

I know this is quite different from the old way of doing things. Does
anyone else have any comments?

-Justin

Brent Owens wrote:
  

Can we get back the file structure for deploying geoserver with the various UserBasic, Min, and other configurations? The configurations seem to be lost in 1.4 svn.
It would also be nice to deploy from a file structure and not having to zip it up every time, or at least have a script that will do it all in one go.

Justin Deoliveira wrote:

This was done intentionally. In 1.3.x checkouts took forever due to the
amount of binary data in the repository due to the various
configurations. I literally could *not* check out geoserver code when I
was in South Africa!!

Ideally what I think would work well is having the build script download
the config zip automatically. I wanted to do this initially but was
stuck on maven2 bug to do with ant, might be fixed now.

Alternatively, you can use the GEOSERVER_DATA_DIR to just point to the
new style stuff. You specify it in the web/pom.xml file. I just
committed a change to the pom, which has a commented out example.

I know this is quite different from the old way of doing things. Does
anyone else have any comments?

I'd say we should have at least one or two data_dir defaults in the source tree. UserBasic should be there, and maybe one other. I think we could/should make a community module that maybe has the cite data. The problem with all the binary files is more that a number have been started, and then some have been ported over, but some are in both locations. It'd be nice to have the cite stuff in svn, so we can track changes. But I'd be fine if it was in a spike or a community module.

So I think we should get rid of the 'cite' directory, it's basically all just old cruft. We should make Min the default for building geoserver (since we don't have any defaults for our config, so we need something to start with if no data_dir is pointed at). And put userBasic and maybe a demo one in the source tree, along with a note on where to download more of them.

Chris

-Justin

Brent Owens wrote:

Can we get back the file structure for deploying geoserver with the various UserBasic, Min, and other configurations? The configurations seem to be lost in 1.4 svn.
It would also be nice to deploy from a file structure and not having to zip it up every time, or at least have a script that will do it all in one go.

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

If we are going to keep the configurations under version control I would
prefer that we did not store them under the source tree. Perhaps under a
new tree root called "configuration".

-Justin

Chris Holmes wrote:

Justin Deoliveira wrote:

This was done intentionally. In 1.3.x checkouts took forever due to the
amount of binary data in the repository due to the various
configurations. I literally could *not* check out geoserver code when I
was in South Africa!!

Ideally what I think would work well is having the build script download
the config zip automatically. I wanted to do this initially but was
stuck on maven2 bug to do with ant, might be fixed now.

Alternatively, you can use the GEOSERVER_DATA_DIR to just point to the
new style stuff. You specify it in the web/pom.xml file. I just
committed a change to the pom, which has a commented out example.

I know this is quite different from the old way of doing things. Does
anyone else have any comments?

I'd say we should have at least one or two data_dir defaults in the
source tree. UserBasic should be there, and maybe one other. I think
we could/should make a community module that maybe has the cite data.
The problem with all the binary files is more that a number have been
started, and then some have been ported over, but some are in both
locations. It'd be nice to have the cite stuff in svn, so we can track
changes. But I'd be fine if it was in a spike or a community module.

So I think we should get rid of the 'cite' directory, it's basically all
just old cruft. We should make Min the default for building geoserver
(since we don't have any defaults for our config, so we need something
to start with if no data_dir is pointed at). And put userBasic and
maybe a demo one in the source tree, along with a note on where to
download more of them.

Chris

-Justin

Brent Owens wrote:

Can we get back the file structure for deploying geoserver with the
various UserBasic, Min, and other configurations? The configurations
seem to be lost in 1.4 svn.
It would also be nice to deploy from a file structure and not having
to zip it up every time, or at least have a script that will do it
all in one go.

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