Questions tagged [reltool]

Reltool is an application in Erlang/OTP for creating releases and target systems.

Reltool is an application in / for creating releases and target systems.

See:

13 questions
7
votes
2 answers

How do Elixir with Mix make a daemon?

Elixir & Mix all want to make the server as a daemon. There have not been able to find the right way. In addition, I want to use the erlang reltool.
aposto
  • 566
  • 5
  • 14
6
votes
1 answer

Reltool error "potentially included by two different applications"

I was wondering what was the reason behind the following behaviour of reltool: If my reltool.config uses default mod_cond and incl_cond options and if one of my included applications has a module which also happens to be a part of some application…
Ed'ka
  • 6,595
  • 29
  • 30
5
votes
3 answers

rebar: Missing application directory

I'm testing rebar on Windows 8 64Bis Erlang 64bits R15B02 I've compiled rebar from github code and created a basic app $ mkdir testapp; cd testapp $ mkdir rel $ rebar create-app appid=testapp $ echo "{sub_dirs, ["rel"]}." > rebar.config $ cd rel $…
rkmax
  • 17,633
  • 23
  • 91
  • 176
3
votes
0 answers

Reltool copies files I don't want into release

I have the following .config file: {sys, [ {lib_dirs, ["/Users/dan/learn_you_some_erlang/erlcount"]}, {rel, "erlcount", "1.0.0", [ kernel, stdlib, {ppool, permanent}, {erlcount, transient} …
Dan
  • 12,409
  • 3
  • 50
  • 87
3
votes
1 answer

Erlang: startup failure of package generated by rebar

everyone. I have an erlang application packaged by rebar generate here is my reltool.config: {sys, [ {lib_dirs, ["../../..", "../../deps"]}, {erts, [{mod_cond, derived}, {app_file, strip}]}, {app_file, strip}, {rel, "collector", "1", …
crackcell
  • 293
  • 2
  • 8
2
votes
2 answers

rabbitmq-erlang-client, using rebar friendly pkg, works on dev env fails on rebar release

I am successfully using the rebar-friendly package of rabbitmq-erlang-client for a simple Hello World rebarized and OTP "compliant" app and things work fine on the dev environment. I am able to fire up an erl console and do my…
lfurrea
  • 176
  • 1
  • 10
2
votes
1 answer

How to start a rebar application twice or more with different names?

I have a rebar application called pingpong. After rebar generate I start the packaged application using ./rel/pingpong/bin/pingpong start. The problem is that the erlang VM always has the name -name pingpong@127.0.0.1 but what I want is to start the…
Svetlin Mladenov
  • 4,307
  • 24
  • 31
1
vote
1 answer

Erlang "Kernel pid terminated" error

I try to use relx for release application. Relx did it without problems. But when I start application, I have the error: {"Kernel pid…
Nikolay Bildeyko
  • 109
  • 4
  • 10
1
vote
1 answer

Why doesn't my Erlang shell load rebar dependencies?

I have a simple project using rebar with this config: {sub_dirs, [ "gen", "apps/basilisk_server", "rel" "apps/*" "ebin" "deps/*/ebin" ]}. …
Selali Adobor
  • 2,060
  • 18
  • 30
1
vote
0 answers

How to share libraries in multi applications using rebar?

I have a project structure like this: ROOT/ apps/ common_lib_1/ src/*.erl include/*.hrl common_lib_2/ src/*.erl include/*.hrl common_lib_3/ src/*.erl …
Jacky Lee
  • 1,232
  • 1
  • 9
  • 11
1
vote
1 answer

systools.make_tar can't find .app files in the .ez archive

I am creating a release with reltool. The output folder rel/lib contains all the applications with their ebin folders packed into .ez archives, e.g. for crypto: crypto-2.2 crypto-2.2/priv/ (with some files in the priv…
Greg
  • 8,230
  • 5
  • 38
  • 53
0
votes
1 answer

erlang rebar generate not working

I just want use rebar generate the release, but it not works for me : I am following the steps in : https://github.com/rebar/rebar/wiki/Release-handling ─$ rebar generate 1 ↵ ==> rel…
Chinaxing
  • 8,054
  • 4
  • 28
  • 36
0
votes
2 answers

Reltool try to start library

I'm building a release with Reltool. When I try to start it with boot file I get error: 14:40:49.466 [error] CRASH REPORT Process with 0 neighbours crashed with reason:…
P_A
  • 1,804
  • 1
  • 19
  • 33