[ejabberd] Recommended Workflow for Ejabberd Development

Uday Sawant uday at sweetcouch.com
Tue Mar 31 18:07:49 MSK 2015

I am using little shell script which
1. Copy file inside virtual machine ejab source directory (scp)
2. Use 'make' to compile the file
3. Copy/replace generated .beam file to ejab/ebin directory
4. Reload the module with ejabberdctl update module_name

I use Idea for code editing. It is really helpful in avoiding syntax errors.

On Tue, Mar 31, 2015 at 7:37 PM, Holger Weiß <holger at zedat.fu-berlin.de>

> * Santiago Ignacio Poli <santiago at etermax.com> [2015-03-31 10:31]:
> > Currently, I write all my Erlang code with Sublime Text, then I compile
> it,
> > move it to ejabberd's "ebin" folder and restart the server to see my
> > changes. Its not that tedious once you get used to it, but I was
> wondering
> > if there is a better way to do it.
> You can update mod_foo by running "ejabberdctl update mod_foo".  (The
> "ejabberdctl update_list" command spits out the list of modules that can
> be updated.)
> > It will be great if I can import the entire ejabberd project into an IDE
> > like IntelliJ IDEA (It has great Erlang support) and do modifications
> with
> > auto reload (or at least without manually compiling and moving every
> file).
> I have no experience with programming Erlang in full-blown IDEs.
> Personally I just use Vim with Erlang support¹, and I set things up so
> that ejabberd or individual modules can be built using Vim's :make
> command.
> Holger
> ¹ I use <https://github.com/jimenezrick/vimerl.git> but was going to try
>   out <http://vim-erlang.github.io/>.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20150331/04aea95a/attachment.html>

More information about the ejabberd mailing list