文章分类 -  Erlang

摘要:修改开发环境 代码查找路径(类似于classpath),可以通过code:get_path().查看当前的路径 @spec code:add_patha(Dir) => true | {error, bad_directory} 加在最前面 @spec code:add_pathz(Dir) => true | {error, bad_directory} 加在最后面 通过code:all_loaded().查看当前装载的代码 code:clash().可以帮助检查在路径上的名字冲突 1. 可以修改$HOME/.erlang 来设置路径,例如: ... 阅读全文
posted @ 2012-08-06 15:28 Alex~ 阅读(367) 评论(0) 推荐(0)
摘要:windows 7 下安装Erlang的工作目录,即文件目录默认为C:/user/user下,修改方法如下:在dos命令行下运行 echo a > c:/user/user/.erlang打开.erlang拷贝以下4行,并修改红色字体到相关的目录io:format("consulting .erlang in ~p~n", [element(2,file:get_cwd())]).%% Edit to the directory where you store your codec:cd("c:/work").io:format("Now 阅读全文
posted @ 2012-08-06 15:24 Alex~ 阅读(484) 评论(0) 推荐(0)
摘要:windows Erlang install环境: windows 7 x64 Erlang : otp_win64_R15B01.exe 下载: http://www.erlang.org/download/otp_win64_R15B01.exe http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-24.1-bin-i386.zip下载Erlang的文档 http://www.erlang.org/download/otp_doc_html_R15B01.tar.gz安装Erlang 双击exe文件进行安装。Erla... 阅读全文
posted @ 2012-08-06 14:18 Alex~ 阅读(684) 评论(2) 推荐(0)
摘要:http://jbpm.group.iteye.com/group/topic/7938http://yk1001.blog.163.com/blog/static/18247692008517115116338/Those are good articles. 阅读全文
posted @ 2012-08-04 12:02 Alex~ 阅读(143) 评论(0) 推荐(0)