Ah very nice, that works well too :)

On Tue, Jan 3, 2012 at 6:30 PM, Ariel Falduto <afald...@gmail.com> wrote:

> cool,
>
> at moment i choose another alternative ... run geoserver from command line
> ...
>
> 1. define variables at: ~/.profile
>
> # geoserver
>
> export JAVA_HOME=/Library/Java/Home
> export
> GEOSERVER_DATA_DIR=/Volumes/stuff/development/projects/foo/geoserver/data_dir
>
> alias geoserver="sh
> /Applications/GeoServer.app/Contents/Resources/Java/bin/startup.sh"
>
> 2. execute alias:
>
> geoserver
>
> 3. done =)
>
> thks justin !
>
> --
> Ariel Falduto
> afald...@gmail.com
>
>
> On Jan 3, 2012, at 3:27 PM, Justin Deoliveira wrote:
>
> > 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.
> >
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
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

Reply via email to