wohali commented on issue #1757: Startup script breaks relative paths
URL: https://github.com/apache/couchdb/issues/1757#issuecomment-441139416
 
 
   @natevw The problem comes down to the search path for the embedded Erlang we 
use in our release process to find all of its libraries. This is a break from 
CouchDB 1.x where the system Erlang was used; in 2.x releases include their own 
Erlang runtime and need no OS-level Erlang installed.
   
   We do work around this limitation over in the `dev\run` script for 
development instances, but it requires a copious amount of `-pa` flags to the 
`erl` binary, see 
https://github.com/apache/couchdb/blob/master/dev/run#L420-L449 for the gory 
details.
   
   Due to max argument limitations esp. on Windows the cd makes things a lot 
easier at the very least; I don't know if absolute paths are strictly required.
   
   If you want to experiment with this and put up a PR, we'll certainly 
consider it for inclusion. Be sure to alter `couchdb.cmd` as well as `couchdb` 
when you make your PR or it'll be rejected. ;)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to