Currently the only way to make this work is to edit the Info.plist file and
set the data directory there. See the following comment for details.
http://jira.codehaus.org/browse/GEOS-2618?focusedCommentId=287321#comment-287321
-Justin
On Sat, Dec 31, 2011 at 5:09 AM, Ariel Falduto <afald...@gmail.com> wrote:
> Hi guys,
>
> im configuring my development environment to work with geoserver in local
> mode (using the last release 2.1.3), but im unable to configure an external
> GEOSERVER_DATA_DIR ... im read all paper and nothing ...
>
> 1. export variables in ~/.MacOSX/environment.plist ...
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
> http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>GEOSERVER_DATA_DIR</key>
> <string>/Volumes/stuff/development/projects/geoserver/data_dir</string>
> </dict>
> </plist>
>
> 2. update the web.xml inside the geoserver.app to ...
>
> <context-param>
> <param-name>GEOSERVER_DATA_DIR</param-name>
>
>
> <param-value>/Volumes/stuff/development/projects/geoserver/data_dir</param-value>
> </context-param>
>
> 3. update the startup scripts and nothing ...
>
> 4. in Geoserver.app when i click on start from menu ... which command
> executed ??? im looking for very hardcoded alternative in this point
> setting
> "-DGEOSERVER_DATA_DIR=/Volumes/stuff/development/projects/geoserver/data_dir"
>
> im doing something wrong ??? any simple way to make it works ??? there are
> some kind of trouble in java to took variables ???
>
>
> thks !!
>
>
> --
> Ariel Falduto
> afald...@gmail.com
>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users