Erlide eclipses / which packages?

I downloaded eclipse 3.4 (java version) for MacOSX (carbon). I tried to “update” erlide, but I see many (duplicated) options (many erlide, options that say “only for erl SDK updates”, etc.). Sometimes I get 403 errors when trying to access http://erlide.org/update and http://erlide.sourceforge.net/update .

Finally, when I have some set of options installed, I either get errors like:

Loading of /Users/kevindtimm/Documents/eclipse-java-ganymede-SR2-macosx-carbon/eclipse/plugins/org.erlide.kernel.common_0.8.1.201005250801/ebin/erlide_kernel_common.beam failed: badfile ( hello_world@ktmac )1> =ERROR REPORT==== 24-Nov-2010::19:17:32 === beam/beam_load.c(1768): Error loading function erlide_kernel_common:monitor/0: op put_string uux: please re-compile this module with an R14B compiler 

or, when I performed different erlide installations, I don't get a response to the console so that:

 hello:hello(). 

Does anyone have a good link on how to download this plugin and what elements should I install?

 -module(hello). -export([hello/0]). hello() -> io:write("Hello World\n"). 

[edit]

I installed eclipse 3.6 (C ++) as follows, and the following code still cannot find hi: hello ().

 %%file_comment -module(hello). %% %% Include files %% %% %% Exported Functions %% -export([hello/0]). %% %% API Functions %% %% %% Local Functions %% hello() -> io:write("Hello World\n"). 

[/ edit]

+4
source share
1 answer

It may be a little late for you, but perhaps for my other moods some disappointments can be avoided.

I have OSX 10.6.5, 64-bit and Erlang R14B installed.

After several false starts, I found the following:

  • Download the C ++ version for Eclipse (I use the latest versions of Helios, 64-bit, OSX)
  • After extraction run Eclipse
  • Open Help | Eclipse Marketplace (wait while it retrieves data)
  • Type erlide in the search field and click Go.
  • Proceed with the installation by following the instructions.
  • Restart Eclipse after installing plugins (always a good idea)

Then determine the Erlang runtime because it is not automatically selected:

  • Open Eclipse Settings
  • Expand the Erlang entry shown on the left (don't select Erlang)
  • In the expanded list, click the Installed Runtimes button.
  • Determine the lead time as needed
  • Restart Eclipse

Failure to complete the above steps first (for example, opening another Erlang preference area) causes an internal UI error inside Eclipse, which prevents the dialog from closing. Thus, forcing you to kill Eclipse.

Finally, you need to define a launch configuration before you can run your Erlang code inside Eclipse:

  • Open run | Launch configurations
  • Select Erlang App
  • Add New Launch Configuration
  • Enter application name
  • On the Erlang tab:
  • Check required project
  • In the Runtimes tab:
  • Make sure node is defined as erlide
  • Check "Launch Erlang node if it is not already running
  • Click Apply

Anyway, I hope this helps someone out there.

+4
source

All Articles