<span style="font-family: Arial;">You don't need the app behaviour to do that.<br><br>-- <br>Loïc Hoguin<br>http://ninenines.eu</span><span style="font-family: Arial;"><br><br>-------- Original Message --------<br>From:t x <txrev319@gmail.com><br>Sent:Sun, 06 Apr 2014 06:19:35 +0200<br>To:erlang-questions@erlang.org<br>Subject:[erlang-questions] include as a library rather than an application?<br><br></span>Hi,<br><br>For this problem has a "working hack" -- but I'd prefer to do it without a hack.<br><br>I'm including erldn in my app.src as:<br><br>{applications, [kernel, stdlib, cowboy, gproc, erldn]},<br><br><br>To do this, erldn must have an application behaviour. Thus, I was forced to add:<br><br>https://github.com/txrev319/erldn/blob/d607db5d3826a7f3ad0eff918c8c7691a362ad94/src/erldn_app.erl<br><br><br>a no-op file to make it an application.<br><br><br>My question: is there a way to include erldn as a library rather than<br>an application? I.e. I want access to erldn:parse_str(...) . However,<br>I don't want to spawn an app just to include erldn.<br><br><br>Thanks!<br>_______________________________________________<br>erlang-questions mailing list<br>erlang-questions@erlang.org<br>http://erlang.org/mailman/listinfo/erlang-questions<br>