Marcel: I think what you want is a release.
Erlang and OTP in Action http://manning.com/logan explains how to build releases in detail. I think rebar supports it as well, but I'm not familiar with it. You do your dev in Eclipse and then use make to get a release to provide to customers. That release would include a bootstrap for running as a application within the desktop environment. A good template to look at is Wings3D: - https://github.com/dgud/wings - http://www.wings3d.com/wiki.php?title=Development Wings3D provides a native OS installer and runs as a typical application with no dependency drama, yet is written in Erlang. It does this by cleanly bundling a subset of the Erlang runtime in its build process. Caveat: I am not familiar with the Wings3D source or build process, but it clearly does something to deliver its clean packages. Cheers, Alain On 2011-06-04, at 11:16, Marcel Bruch <marcel.br...@gmail.com> wrote: > Hi! > > what I'm looking for is a local installation of Erlang runtime inside a > single folder - w/o executing any platform-dependent installer. > > For illustration: I'm thinking of the following layout in Eclipse: > > /Applications/Eclipse 3.6/plugins/org.erlang.runtime_13.0.0/<all files needed > to run an Erlang app> > > Erlang Apps than can be executed via command line "/Applications/Eclipse > 3.6/plugins/org.erlang.runtime_13.0.0/bin/erl <arguments>" > > Could this be done? If so, any ideas how? > I could imagine that hosting several runtimes in Eclipse enabling users to > use different runtimes for different projects could be a nice feature > (although I'm "just" interested to run Erlang Apps from within Eclipse). > > Best, > Marcel > > > > On 04.06.2011, at 14:20, Vlad Dumitrescu wrote: > >> Hi! >> >> I was about to say the same thing that Jakob did, but then I got an idea >> that might be an alternative solution: we could let erlide download the >> proper OTP packages from CEAN http://cean.process-one.net/downloads/. The >> problem in this case is that the CEAN distribution has not been maintained >> after R12... I think it's worth investigating a little further. In the worst >> case, we could at least download and install OTP for Windows from erlang.org. >> >> regards, >> Vlad >> >> On Sat, Jun 4, 2011 at 13:59, Jakob Cederlund <jako...@gmail.com> wrote: >> Hi! >> No problem asking the question to the list, it's here for just that >> purpose... >> It is indeed possible to bundle erlang with erlide. There are some good >> reasons we didn't do this, however. Firstly, this would make the >> installation package for erlide much larger, perhaps five to ten times >> larger, depending on how much of OTP to be bundled. Secondly, there are >> different builds of the erlang runtime for different platforms, which would >> make the erlide feature platform-specific instead of portable, this would >> mean several builds when creating a relase. >> We recommend that you install the latest Erlang/OTP version before you >> install Erlide. This is used by erlide itself. When you compile or debug >> with other versions, they can be R13 or newer. >> Hope this answers your question, good luck with your application! >> /Jakob >> >> >> 2011/6/4 Marcel Bruch <marcel.br...@gmail.com> >> Hi, >> >> I'm sorry to bother the devel list with this question but it felt wrong to >> use the issue tracker to post a question. Hope this is ok. >> >> I would like to run some Erlang application (CouchDB) from within an Eclipse >> installation. This requires the clients to have a working Erlang runtime >> installed on their local machine. As far as I could see, Erlide does not >> bundle any runtimes. Is there a particular reason for this? >> >> Since you are Experts in Erlang + Eclipse: What's your guess: Is it be >> possible to bundle Erlang as Eclipse bundle to run Erlang apps from within >> Eclipse? >> >> Thanks, >> Marcel >> >> >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> Erlide-devel mailing list >> Erlide-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/erlide-devel >> >> >> ------------------------------------------------------------------------------ >> Simplify data backup and recovery for your virtual environment with vRanger. >> Installation's a snap, and flexible recovery options mean your data is safe, >> secure and there when you need it. Discover what all the cheering's about. >> Get your free trial download today. >> http://p.sf.net/sfu/quest-dev2dev2 >> _______________________________________________ >> Erlide-devel mailing list >> Erlide-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/erlide-devel >> >> > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Discover what all the cheering's about. > Get your free trial download today. > http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > Erlide-devel mailing list > Erlide-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/erlide-devel
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ Erlide-devel mailing list Erlide-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/erlide-devel