[erlang-questions] rebar and subversion

Ken Ellis kaellis@REDACTED
Sun Feb 13 14:45:11 CET 2011


Konstantin,

Note that it will recursively delete all *empty* directories under
ebin, after deleting all .beam and .[xy]rl files.  So will only remove
.svn/tmp if its empty.  A little heavy-handed.  But you might be able
to put a dummy file in there if its a problem, or patch
(rebar_erlc_compiler:clean) for your needs.

Ken


On Sun, Feb 13, 2011 at 8:30 AM, Dave Smith <dizzyd@REDACTED> wrote:
> Hi Konstantin,
>
> On Sat, Feb 12, 2011 at 11:06 AM, Konstantin Sorokin <kvs@REDACTED> wrote:
>> Hello!
>>
>> I just noticed that that 'rebar clean' command removes ebin/.svn/tmp
>> directory so that subversion feels very unhappy about it
>
> Yes, rebar tries to clean out the ebin/ directory (and nested subdirs)
> rather thoroughly. The Erlang compilation can generate nested
> directories (if you're using packages), so rebar tries to accomodate
> that.
>
> D.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list