Friday May 18, 2007

ErlyBird 0.11.2 released - An Erlang IDE based on NetBeans

I'm pleased to announce ErlyBird 0.11.2, an Erlang IDE based on NetBeans.

This is a bug-fix, stabilization release. Since I tightly modified GSF/GLF modules of NetBeans, this release will only provide all-in-one IDE package, which is in size of 14.8M.

To download, please go to: http://sourceforge.net/project/showfiles.php?group_id=192439

To install:

  1. Unzip erlybird-bin-0.11.2.zip to somewhere. For Windows user, executee 'bin/erlybird.exe'. For *nix user, 'bin/erlybird'.
  2. Check/set your OTP path. From [Tools]->[Options], click on 'Miscellanous', then expand 'Erlang Installation', fill in the full path of your 'erl.exe' or 'erl' file. For instance: "C:/erl/bin/erl.exe"
  3. The default -Xmx option for jvm is set to 256M, if you want to increase, open the config file of ErlyBird that is located at etc/erlybird.conf, set -J-Xmx in line of 'default_options'

The status of ErlyBird is still Alpha, feedback and bug reports are welcome.

CHANGELOG:

  • Indexing will skip too big files according to the max memeory. This avoids ErlyBird to hang when indexing.
  • If erl/erl.exe is under the environment path, ErlyBird will try to set Erlang Installation path automatically.
  • Including function args in completion suggestion.
  • Various bugs fixes especially for stabilization.
Comments:

Hi,

I am having some trouble on a MacBook, not sure if it is user error or not:

Thanks.

sh-2.05b$ uname -a
Darwin a.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386
sh-2.05b$ pwd
/Users/x/Desktop/erlybird
sh-2.05b$ ./bin/erlybird
sh: ./bin/erlybird: Permission denied
sh-2.05b$ ls
DISTRIBUTION.txt bin etc nb6.0 ruby1
LICENSE.txt erlybird ide8 platform7
sh-2.05b$ ls -ltra bin/erlybird
-rw------- 1 x x 2254 May 18 12:16 bin/erlybird
sh-2.05b$ chmod +x bin/erlybird
sh-2.05b$ ./bin/erlybird
: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
sh-2.05b$ exit
exit
a:~/Desktop/erlybird x$ ./bin/erlybird
: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
a:~/Desktop/erlybird x$ uname -a
Darwin a.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386
a:~/Desktop/erlybird x$ ls -ltra bin/erlybird
-rwx--x--x 1 x x 2254 May 18 12:16 bin/erlybird
a:~/Desktop/erlybird x$ pwd
/Users/x/Desktop/erlybird
a:~/Desktop/erlybird x$ ./bin/erlybird
: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
a:~/Desktop/erlybird x$ bash bin/erlybird
: command not found2:
: command not found6:
: command not found8:
'in/erlybird: line 29: syntax error near unexpected token `in
'in/erlybird: line 29: `case "`uname`" in
a:~/Desktop/erlybird x$ sh bin/erlybird
: command not found2:
: command not found6:
: command not found8:
'in/erlybird: line 29: syntax error near unexpected token `in
'in/erlybird: line 29: `case "`uname`" in
a:~/Desktop/erlybird x$ ksh bin/erlybird
bin/erlybird[2]: ^M: not found [No such file or directory]
bin/erlybird[6]: ^M: not found [No such file or directory]
bin/erlybird[8]: ^M: not found [No such file or directory]
' unexpected: line 8: syntax error at line 29: `in

Posted by Steve Ballmer on May 19, 2007 at 01:12 AM PDT #

Ballmer,

Are your erlybird path is 'erlybird x' now?

Posted by Caoyuan on May 20, 2007 at 10:59 AM PDT #

Excellent tool!

However, you should save the bin/erlybird file with Uniox line endings as it causes the following error:

/bin/sh^M: bad interpreter: No such file or directory

Posted by Dmitrii 'Mamut' Dimandt on May 21, 2007 at 07:26 PM PDT #

Dmitrii,

You are right. The bin\erlybird file should be in *nix format, where ^M does not exist. This happens to NetBeans pre-5.0 sometimes, and it should has been fixed. But for NetBeans IDE M9, there is none auto-generated *nix execution file.

I'll check this carefully in next versions.

Thanks.

Posted by Caoyuan on May 23, 2007 at 02:24 PM PDT #

Post a Comment:
Comments are closed for this entry.