[ejabberd] Recommended Workflow for Ejabberd Development
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
> > 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
> > 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
> > auto reload (or at least without manually compiling and moving every
> 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
> ¹ 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd