[erlang-questions] reltool not copying erl_interface
Jesse Gumm
gumm@REDACTED
Wed Dec 7 21:42:59 CET 2011
Thanks Hakan for the direction.
I'd be happy to take a crack at it.
-Jesse
2011/12/5 Håkan Mattsson <hm@REDACTED>:
> There are several possible solutions to this:
>
> - Add ebin-directories to erl_interface and jinterface in order to make
> reltool think that these "non-Erlang" applications also are Erlang
> applications. Do also add an .app file in order to avoid reltool warnings.
>
> - Change reltool_server:app_dirs2/3 so directories that are lacking the
> ebin sub directory also will be regarded as applications. The reltool
> warning for missing .app-files should be suppressed if the ebin-directory
> is missing.
>
> - Add an extra OverrideSpec argument to reltool:eval_target_spec/3 and
> reltool:create_target/2. The new argument should be a target_spec()
> that overrides parts of the ordinary TargetSpec. Such an OverrideSpec
> argument could then be used to copy extra files that reltool normally
> would not include in the generated target.
>
> Any takers for a contribution?
>
> /Håkan
>
> On Sat, Dec 3, 2011 at 10:05 PM, Jesse Gumm <sigmastar@REDACTED> wrote:
>> Hello everyone,
>>
>> This is a followup to a post I made a few months ago[1], which was
>> probably too and meandering for anyone to read (I struggle with
>> brevity).
>>
>> The short version is that for the life of me, I cannot find a way to
>> force the erl_interface dir to get copied with reltool.
>>
>> There are reltool options for forcing an app to get copied, but
>> erl_interface isn't an app (ie, doesn't have a .app file).
>>
>> Anyone have any thoughts on this?
>>
>> Thanks in advance,
>>
>> -Jesse
>>
>> [1] http://erlang.org/pipermail/erlang-questions/2011-October/061923.html
>>
>> --
>> Jesse Gumm
>> Sigma Star Systems
>> 414.940.4866
>> gumm@REDACTED
>> http://www.sigma-star.com
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
--
Jesse Gumm
Sigma Star Systems
414.940.4866
gumm@REDACTED
http://www.sigma-star.com
More information about the erlang-questions
mailing list