Make GeoServer war release build from data_dirs/userBasic
Description
This screwed us for 1.3.0, as our war release simply didn't work. The problem is that it still grabs cite/confUserBasic, when it should be grabbing data_dirs/userBasic, so we don't have to configure twice. To do this we need to make the build-war target grab its data stuff from data_dirs/userBasic. Though this may be a bit tricky since I think we only wan to grab userBasic for an official release. Though there should be a nice way to do it without doing a big copy/paste on the building of the war...
But yeah, it's very bad to have two different configs. Build war should be able to function with data_dirs, and we can just port everything in cite except confMin over to the data_dirs...
Environment
None
Activity
codehaus
April 10, 2015 at 4:29 PM
CodeHaus Comment From: bowens - Time: Mon, 27 Feb 2006 03:36:00 -0600 ---------------------
<p>I moved the conf directories to data_dir and changed the release scripts to use the appropriate data dirs. The output of the release files is the same as they were before, so I am assuming it all works. The userBasic install is put in the default data_dir location already specified in the GeoServerDataDir class.</p>
codehaus
April 10, 2015 at 4:29 PM
CodeHaus Comment From: cholmes - Time: Thu, 16 Feb 2006 17:37:49 -0600 ---------------------
<p>Actually, I think the smart way to do this would be to just put the userBasic in geoserver/WEB-INF/, and then to point the web.xml param thing at it, or better yet, have it be the last default in the GeoServerDataDirectory class...</p>
This screwed us for 1.3.0, as our war release simply didn't work. The problem is that it still grabs cite/confUserBasic, when it should be grabbing data_dirs/userBasic, so we don't have to configure twice. To do this we need to make the build-war target grab its data stuff from data_dirs/userBasic. Though this may be a bit tricky since I think we only wan to grab userBasic for an official release. Though there should be a nice way to do it without doing a big copy/paste on the building of the war...
But yeah, it's very bad to have two different configs. Build war should be able to function with data_dirs, and we can just port everything in cite except confMin over to the data_dirs...