I found this old thread that corresponds to my situation.

In 2.1.5 and 2.1.6 I found a workaround, you could set the following in the 
property file

   org.neo4j.server.database.location=${sys:database.location}

and then set -Ddatabase.location=/foo/bar/graph.db in the startup script.

This stopped working in 2.2.0-M04.  Is there a new workaround?   Editing 
the config file (which is stored in version control) per developer is a 
huge headache.

Thanks,

On Friday, May 31, 2013 at 5:22:08 AM UTC-4, Peter Neubauer wrote:
>
> Good call Amine,
>
> exactly what I was thinking!
>
> /peter
>
>
> Cheers,
>
> /peter neubauer
>
> G:  neubauer.peter
> S:  peter.neubauer
> P:  +46 704 106975
> L:   http://www.linkedin.com/in/neubauer
> T:   @peterneubauer
>
> Neo4j 1.9 GA is out - 
> http://blog.neo4j.org/2013/05/neo4j-19-general-availability.html
> Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j
>
>
> On Thu, May 30, 2013 at 5:24 PM, bendaizer <[email protected] 
> <javascript:>> wrote:
>
>> For what it's worth, I use the following command to switch quickly 
>> between databases
>>
>>     sed -i 
>> "s%^org.neo4j.server.database.location.*%org.neo4j.server.database.location=$NEW_DB%"
>>  
>> $NEO/conf/neo4j-server.properties
>>
>> if you're on a mac or bsd you might need to add  ' ' just after -i
>>
>>
>> Le jeudi 30 mai 2013 11:02:11 UTC+2, Peter Neubauer a écrit :
>>>
>>> Andre,
>>> I don't think it is working yet. A simple workaround would be to write 
>>> your own shell script that changes this setting in the neo4j-server.config 
>>> before starting the server?
>>>  
>>> /peter
>>>
>>>
>>> Cheers,
>>>
>>> /peter neubauer
>>>
>>> G:  neubauer.peter
>>> S:  peter.neubauer
>>> P:  +46 704 106975
>>> L:   http://www.linkedin.com/in/neubauer
>>> T:   @peterneubauer
>>>
>>> Neo4j 1.9 GA is out - http://blog.neo4j.org/2013/05/
>>> neo4j-19-general-availability.html
>>> Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j
>>>
>>>
>>> On Mon, May 27, 2013 at 8:29 PM, André Szelp <[email protected]> wrote:
>>>
>>>>  Is there an update on this? Does specifying db location via 
>>>> environment variables work now?
>>>> If yes, both 1.8 and 1.9? 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Neo4j" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to