Sinan v4.0.0

29 views
Skip to first unread message

Eric Merritt

unread,
May 3, 2012, 4:29:25 PM5/3/12
to erlware-...@googlegroups.com, erlwa...@googlegroups.com
This latest sinan should fix all the problems that folks have brought
up recently. The changelog is below.

Get it in the usual place ->
https://github.com/erlware/sinan/downloads

CHANGES:

commit 6d6239c4ba09a78dcd6f125d017caaa94fd20ea4
Author: Eric Merritt <ericbm...@gmail.com>
Date: Tue May 1 15:49:28 2012 -0500

fix bug in detecting change in joxa files

commit 0fb6ed577ba028e56f3f162aa871aefbae4e6f94
Author: Eric Merritt <ericbm...@gmail.com>
Date: Wed May 2 10:39:36 2012 -0500

make eunit detection a bit more robust

commit af8959a33e0c55062d71e4b7c68f2ea3e5714a9c
Author: Eric Merritt <ericbm...@gmail.com>
Date: Tue May 1 12:06:50 2012 -0500

Make sinan version return just the version and nothing more

commit 0ae2a06730fa7a834a819c3cdfd76468ce88cea4
Author: Eric Merritt <ericbm...@gmail.com>
Date: Tue May 1 09:15:56 2012 -0500

fix version setting problem in makefile

this seems to be related to newer versions of awk, but the fix in this
patch provides a reasonable solution.

commit cbd2520e2671089d4a3fcb26ebda53a343271273
Author: Eric Merritt <ericbm...@gmail.com>
Date: Tue May 1 08:35:54 2012 -0500

Fix spec in sinan:run_sinan

commit fbc2d99b17b34138c7553a634e2b0f674c4b71bc
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 15:18:39 2012 -0500

make sure that solving happens every run

(we cant really know what non-project dependencies changed so we
should solve each time)

commit d535ddc1980bf267380b7c6449cf36725a7ce88b
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 15:18:14 2012 -0500

fix recursive copy bug in sin release

commit b81d77756ebae2227b537abbaf0a078c050c43f1
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 13:50:21 2012 -0500

make sure that apps with a version in the name are 'discoverable'

commit ec470c0f6cdd83a4f1a7e5dd8e81711c210e78b4
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 13:04:59 2012 -0500

fix dist so that it correctly tars the release dir

commit acedbf6291ca9c590ae8a4ee42f1a18877652cfc
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 12:07:28 2012 -0500

make sure the include_erts is optional in release

commit 91ae619e35bf9c61c8ba856069658deb0ecc08e4
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 12:07:11 2012 -0500

remove unneeded param from args in release

commit f01bb0ea9323b15215c920ee8a92726bc23cf1ec
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 12:05:17 2012 -0500

fix and simplify how 'is_dir_ignorable' works

commit dd5c2f4a6afa3673f024290b43bb93b36019b6fb
Author: Eric Merritt <ericbm...@gmail.com>
Date: Mon Apr 30 10:17:49 2012 -0500

present a more reasonable error message on startup failure

commit aa7aa366d476377652e1096a4aeddb63fcf87fb7
Author: Eric Merritt <ericbm...@gmail.com>
Date: Tue May 1 08:36:31 2012 -0500

remove built in dependencies on eunit and proper

commit 45cdaba17975737ec29d8b757e70729926360e81
Author: Eric Merritt <ericbm...@gmail.com>
Date: Wed May 2 16:42:28 2012 -0500

add missing joxa dependency to the system

commit 8da03076b59e510b75532e4ad167f27294120964
Author: Eric Merritt <ericbm...@gmail.com>
Date: Sun Mar 25 10:56:55 2012 -0500

Remove behaviours from the list of warnings in dialyzer

commit 4a8fe7965135dcfe09830ac507b7aa77ac81abbd
Author: Eric Merritt <ericbm...@gmail.com>
Date: Fri Mar 23 20:47:25 2012 -0500

Add missing joxa to debian control

commit ae17d9ce73c500f95797058095870bc5bd1485e4
Author: Eric Merritt <ericbm...@gmail.com>
Date: Fri Mar 23 20:33:58 2012 -0500

Add missing version bump to the debian changelog

commit 524898ed33302256c52783fe2bf7184d09fa02ac
Author: Jordan Wilberding <dig...@gmail.com>
Date: Wed Mar 14 08:48:17 2012 -0400

Fixed typo.

Signed-off-by: Eric Merritt <ericbm...@gmail.com>

eigenfunction

unread,
May 9, 2012, 1:51:48 PM5/9/12
to erlware-questions
I wanted to switch to sinan4 today but then i got this:

$ ./sinan4 help
escript: exception error: undefined function sinan4:main/1
  in function  escript:run/2 (escript.erl, line 727)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_it/1 (init.erl, line 1042)
  in call from init:start_em/1 (init.erl, line 1022)


I tested this on cygwin and running erl 5.9.

Any idea?




On May 3, 10:29 pm, Eric Merritt <ericbmerr...@gmail.com> wrote:
> This latest sinan should fix all the problems that folks have brought
> up recently. The changelog is below.
>
> Get it in the usual place ->https://github.com/erlware/sinan/downloads
>
> CHANGES:
>
> commit 6d6239c4ba09a78dcd6f125d017caaa94fd20ea4
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Tue May 1 15:49:28 2012 -0500
>
>     fix bug in detecting change in joxa files
>
> commit 0fb6ed577ba028e56f3f162aa871aefbae4e6f94
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Wed May 2 10:39:36 2012 -0500
>
>     make eunit detection a bit more robust
>
> commit af8959a33e0c55062d71e4b7c68f2ea3e5714a9c
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Tue May 1 12:06:50 2012 -0500
>
>     Make sinan version return just the version and nothing more
>
> commit 0ae2a06730fa7a834a819c3cdfd76468ce88cea4
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Tue May 1 09:15:56 2012 -0500
>
>     fix version setting problem in makefile
>
>     this seems to be related to newer versions of awk, but the fix in this
>     patch provides a reasonable solution.
>
> commit cbd2520e2671089d4a3fcb26ebda53a343271273
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Tue May 1 08:35:54 2012 -0500
>
>     Fix spec in sinan:run_sinan
>
> commit fbc2d99b17b34138c7553a634e2b0f674c4b71bc
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 15:18:39 2012 -0500
>
>     make sure that solving happens every run
>
>     (we cant really know what non-project dependencies changed so we
> should solve each time)
>
> commit d535ddc1980bf267380b7c6449cf36725a7ce88b
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 15:18:14 2012 -0500
>
>     fix recursive copy bug in sin release
>
> commit b81d77756ebae2227b537abbaf0a078c050c43f1
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 13:50:21 2012 -0500
>
>     make sure that apps with a version in the name are 'discoverable'
>
> commit ec470c0f6cdd83a4f1a7e5dd8e81711c210e78b4
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 13:04:59 2012 -0500
>
>     fix dist so that it correctly tars the release dir
>
> commit acedbf6291ca9c590ae8a4ee42f1a18877652cfc
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 12:07:28 2012 -0500
>
>     make sure the include_erts is optional in release
>
> commit 91ae619e35bf9c61c8ba856069658deb0ecc08e4
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 12:07:11 2012 -0500
>
>     remove unneeded param from args in release
>
> commit f01bb0ea9323b15215c920ee8a92726bc23cf1ec
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 12:05:17 2012 -0500
>
>     fix and simplify how 'is_dir_ignorable' works
>
> commit dd5c2f4a6afa3673f024290b43bb93b36019b6fb
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Mon Apr 30 10:17:49 2012 -0500
>
>     present a more reasonable error message on startup failure
>
> commit aa7aa366d476377652e1096a4aeddb63fcf87fb7
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Tue May 1 08:36:31 2012 -0500
>
>     remove built in dependencies on eunit and proper
>
> commit 45cdaba17975737ec29d8b757e70729926360e81
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Wed May 2 16:42:28 2012 -0500
>
>     add missing joxa dependency to the system
>
> commit 8da03076b59e510b75532e4ad167f27294120964
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Sun Mar 25 10:56:55 2012 -0500
>
>     Remove behaviours from the list of warnings in dialyzer
>
> commit 4a8fe7965135dcfe09830ac507b7aa77ac81abbd
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Fri Mar 23 20:47:25 2012 -0500
>
>     Add missing joxa to debian control
>
> commit ae17d9ce73c500f95797058095870bc5bd1485e4
> Author: Eric Merritt <ericbmerr...@gmail.com>
> Date:   Fri Mar 23 20:33:58 2012 -0500
>
>     Add missing version bump to the debian changelog
>
> commit 524898ed33302256c52783fe2bf7184d09fa02ac
> Author: Jordan Wilberding <digi...@gmail.com>
> Date:   Wed Mar 14 08:48:17 2012 -0400
>
>     Fixed typo.
>
>     Signed-off-by: Eric Merritt <ericbmerr...@gmail.com>

Eric Merritt

unread,
May 9, 2012, 1:53:53 PM5/9/12
to erlware-...@googlegroups.com
You cant actually rename the escript. The way escript resolves code
leaves much to be desired, but one of the effects is that the name of
the escript has to be the same as the name of the module being called.
When you rename the escript sinan4 it looks for a module called
sinan4.

It sucks rather a bit, but there isnt much I can do about it. :(
> --
> You received this message because you are subscribed to the Google Groups "erlware-questions" group.
> To post to this group, send email to erlware-...@googlegroups.com.
> To unsubscribe from this group, send email to erlware-questi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/erlware-questions?hl=en.
>

eigenfunction

unread,
May 9, 2012, 3:23:40 PM5/9/12
to erlware-questions
True indeed. The thinf is, i usually try rename with a dot in the name
as in sinan.4 and test before i replace the previous version and it
always worked. This time, i did not put the dot and used sinan4. Thank
you very much for the good work.

Eric Merritt

unread,
May 9, 2012, 3:24:23 PM5/9/12
to erlware-...@googlegroups.com
No worries, let me know if you have issues.
Reply all
Reply to author
Forward
0 new messages