sinan clean doesn't cleanup properly

0 views
Skip to first unread message

Torbjorn Tornkvist

unread,
May 21, 2008, 3:40:36 PM5/21/08
to erlware-dev
Hi,

It seems like sinan isn't removing all the
beam files under the _build directory.
I hade to remove the directory manually
to actually have sinan re-compile all my source.

Cheers, Tobbe

Eric Merritt

unread,
May 21, 2008, 3:43:51 PM5/21/08
to erlwa...@googlegroups.com
Tobbe,

Have you updated to 0.10.0.3? I believe that I resolved this problem
in that release.

Torbjorn Tornkvist

unread,
May 21, 2008, 3:46:52 PM5/21/08
to erlware-dev

Aahh...I thought I had the lates but no, I had 0.10.0.2.
That may explain the problem.

--Tobbe

On May 21, 9:43 pm, "Eric Merritt" <cyberl...@gmail.com> wrote:
> Tobbe,
>
> Have you updated to 0.10.0.3? I believe that I resolved this problem
> in that release.
>
> On Wed, May 21, 2008 at 12:40 PM, Torbjorn Tornkvist
>

Eric Merritt

unread,
May 21, 2008, 3:54:11 PM5/21/08
to erlwa...@googlegroups.com
Tobbe,

Let me know if you continue to have issues in 0.10.0.3.

Thanks,
Eric

Torbjorn Tornkvist

unread,
May 21, 2008, 4:10:03 PM5/21/08
to erlware-dev
Hm, the problem seem to persist.
I upgraded to 0.10.0.3, and:

# ls -l _build/development/apps/derail-0.1.0/ebin/
total 28
-rw-r--r-- 1 tobbe tobbe 435 2008-05-21 21:34 derail.app
-rw-r--r-- 1 tobbe tobbe 1172 2008-05-21 21:35 derail_app.beam
-rw-r--r-- 1 tobbe tobbe 5504 2008-05-21 21:35 derail.beam
-rw-r--r-- 1 tobbe tobbe 11868 2008-05-21 21:35 derail_gen.beam

# sinan clean
starting run
[clean] cleaning build artifacts
[clean] stop
run complete

# ls -l _build/development/apps/derail-0.1.0/ebin/
total 28
-rw-r--r-- 1 tobbe tobbe 435 2008-05-21 21:34 derail.app
-rw-r--r-- 1 tobbe tobbe 1172 2008-05-21 21:35 derail_app.beam
-rw-r--r-- 1 tobbe tobbe 5504 2008-05-21 21:35 derail.beam
-rw-r--r-- 1 tobbe tobbe 11868 2008-05-21 21:35 derail_gen.beam

--Tobbe

On May 21, 9:54 pm, "Eric Merritt" <cyberl...@gmail.com> wrote:
> Tobbe,
>
> Let me know if you continue to have issues in 0.10.0.3.
>
> Thanks,
> Eric
>
> On Wed, May 21, 2008 at 12:46 PM, Torbjorn Tornkvist
>

Eric Merritt

unread,
May 21, 2008, 5:09:49 PM5/21/08
to erlwa...@googlegroups.com
Torborn,

It should delete _build and everything under it. Its really, really
strange that it does not. Hmm. I will check into this tonight. Is the
derails source available anywhere? I would like to try to repro the
problem.

Dave Peticolas

unread,
May 21, 2008, 10:52:05 PM5/21/08
to erlwa...@googlegroups.com
Should 'sinan clean' should clean out everything it
puts in _build? I noticed if you delete an erl file,
sinan leaves the copy of it in _build.

dave

Eric Merritt

unread,
May 21, 2008, 11:38:14 PM5/21/08
to erlwa...@googlegroups.com
Right. Thats because the copy doesn't do a complete disjoint operation
on everything. clean just wipes the _build directory and everything
underneath.

Dave Peticolas

unread,
May 22, 2008, 12:42:19 AM5/22/08
to erlwa...@googlegroups.com
Oh, well in that case 'sinan clean' doesn't work for me either -- the
_build directory is still there afterwards.

Eric Merritt

unread,
May 22, 2008, 12:44:02 AM5/22/08
to erlwa...@googlegroups.com
I was finally able to replicate the problem. I am working on it now.

On Wed, May 21, 2008 at 9:42 PM, Dave Peticolas

Eric Merritt

unread,
May 22, 2008, 1:23:20 AM5/22/08
to erlwa...@googlegroups.com
Found an solved the problem. Fix will go out tonight with 0.10.0.4.
Reply all
Reply to author
Forward
0 new messages