[jira] Created: (GEOS-491) exe install to use new conf/ data dir

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (GEOS-491) exe install to use new conf/ data dir

JIRA jira@codehaus.org
exe install to use new conf/ data dir
-------------------------------------

         Key: GEOS-491
         URL: http://jira.codehaus.org/browse/GEOS-491
     Project: GeoServer
        Type: Sub-task
  Components: Configuration  
    Versions: 1.3.0 RC6    
    Reporter: Chris Holmes
 Assigned to: Brent Owens
     Fix For: 1.3.0 RC7


Ok, so it's up to you if you want to rewrite the bat script as NSIS.  I think it's possible, you just have define an environment variable for GEOSERVER_DATA_DIR, and then on the shortcut we install have it pass in -DGEOSERVER_DATA_DIR=%GEOSERVER_DATA_DIR% (at least that's my guess of how to do it, basically pass in the env argument to the shortcut start up.  If you don't end up doing it through NSIS it would be good if you could at least set the env variable on install.  The .bat script will work without, but it's not super pretty.  Also if we have the variable in there then it's easy to detect it if someone's installing another geoserver version.

Which brings us to the other part, which is probably more important, is making sure that we don't blow away an old conf/ directory.  This should only happen if a user is installing GeoServer and they already have another install, and are attempting to do it over it.  But even if not, it'd be nice on install to ask someone if they'd like to use their old config directory, and perhaps even if they'd like to move.  This would be done by looking up the environment variable, flashing some message that it's installed.  Also could think about asking on uninstall about saving config.  So do what you will, all that I really want is for an installation to use the conf/ directory, since I'm including it now in the build script.  If it doesn't get used the default directory is mostly empty, and that wouldn't be good.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geoserver-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel