[erlang-questions] install_release/1 always returns enoent error
Fri Jan 9 22:39:52 CET 2009
I think you have to do install_release() from the erlang shell which starts
release A. Please also read System Principles documentation
http://www.erlang.org/doc/pdf/system_principles.pdf on how to start the
first target system.
2009/1/9 Sergey S <ad.sergey@REDACTED>
> While reading OTP Design Principles (Release Handling part) I've found that
> function release_handler:install_release/1 doesn't work as expected. It
> returns a strange error, complaining about relup file:
> Eshell V5.6.5 (abort with ^G)
> 1> release_handler:install_release("B").
> And it's true - there is no such a file. Instead of $ROOT/releases/R12B my
> relup file resides in $ROOT/releases/B. I have no idea why release_handler
> searches for relup in R12B dir :/ It looks like a bug...
> I tried to copy my relup to R12B dir by hand, but It didn't help:
> 2> release_handler:install_release("B").
> Then, I've tried to find out the solution through Google. But what I've
> found (please, look at the comments for this article) was:
> There are people who run into the same problem. Unfortunatelly nobody gave
> solution to this problem.
> Here is the sources of my test app (1.4Kb):
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions