Hi,
First of all it is nice to have Erlang support in Eclipse. Great work.
I'm trying to convert existing erlang project structure to make it work with
Erlide (using new Erlang project that works as a reference).
I did following in my existing project:
- Toggled Erlang nature and Erlang make nature (That made .project files look
the same in new and existing projects,
only project name differs)
- Copied .codepath from new to existing project and added additional entries to
include_dirs and external_includes.
I ended up doing manual edits since UI didn't seem to work.
At some point erlide did proper source validation but it didn't generate beam
file in ebin dir (automatic build on).
I started it in console mode and it is throwing class cast exception (see
attachment) whenever it tries to
build the file (save of the .erl file).
Any ideas?
Thanks
Miro
[EMAIL PROTECTED] ~]$ /home/miro/local/eclipse/eclipse -vmargs -Xmx512M
-XX:PermSize=128M -XX:MaxPermSize=128M -consoleLog
*** starting Erlide v0.3.35 ***
[DEBUG] [09:03:10,603] (BackendManager.java:86) : create managed backend erlide.
[DEBUG] [09:03:10,871] (Cookie.java:79) : Cookie file: /home/miro/.erlang.cookie
[DEBUG] [09:03:10,873] (ErlangNodeLaunchConfigurationDelegate.java:89) : RUN*>
/usr/lib/erlang/erts-5.5.2/bin/erl -noshell -name [EMAIL PROTECTED]
-setcookie PPYHVEMMXQMVZUAECKIP
[DEBUG] [09:03:11,063] (AbstractBackend.java:123) : >>:: erlide_2bbf6c
[DEBUG] [09:03:11,179] (Cookie.java:79) : Cookie file: /home/miro/.erlang.cookie
[DEBUG] [09:03:11,237] (AbstractBackend.java:130) : java node is [EMAIL
PROTECTED]
[DEBUG] [09:03:11,239] (AbstractBackend.java:133) : erlang peer is
erlide_2bbf6c ([EMAIL PROTECTED])-- [EMAIL PROTECTED]
##[DEBUG] [09:03:11,765] (AbstractBackend.java:148) : connected to peer!
[DEBUG] [09:03:11,766] (CodeManager.java:334) : loading plugin
org.erlide.jinterface
[DEBUG] [09:03:11,767] (CodeManager.java:348) : /ebin
[DEBUG] [09:03:11,795] (CodeManager.java:392) : *done! loading plugin
org.erlide.jinterface
[DEBUG] [09:03:11,796] (CodeManager.java:334) : loading plugin
org.erlide.launching
[DEBUG] [09:03:11,797] (CodeManager.java:348) : /ebin
[DEBUG] [09:03:11,842] (CodeManager.java:385) : STUB:
org.erlide.jinterface.RpcTest true
[DEBUG] [09:03:11,989] (CodeManager.java:385) : STUB:
org.eclipse.core.runtime.Platform false
[DEBUG] [09:03:12,123] (CodeManager.java:392) : *done! loading plugin
org.erlide.launching
[DEBUG] [09:03:12,125] (CodeManager.java:334) : loading plugin org.erlide.core
[DEBUG] [09:03:12,126] (CodeManager.java:348) : /ebin
[DEBUG] [09:03:12,263] (CodeManager.java:392) : *done! loading plugin
org.erlide.core
[DEBUG] [09:03:12,365] (CodeManager.java:334) : loading plugin org.erlide.ui
[DEBUG] [09:03:12,366] (CodeManager.java:348) : /ebin
[DEBUG] [09:03:12,369] (CodeManager.java:385) : STUB: java.util.Map true
[DEBUG] [09:03:12,403] (CodeManager.java:385) : STUB:
org.eclipse.ui.PlatformUI true
[DEBUG] [09:03:12,429] (CodeManager.java:392) : *done! loading plugin
org.erlide.ui
[DEBUG] [09:03:59,829] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,830] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,831] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,832] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,833] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,837] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:03:59,841] (ErlangEditor.java:220) : prefs changed
[DEBUG] [09:04:00,039] (ErlProject.java:161) : --- spec? []
[DEBUG] [09:04:00,044] (ErlModule.java:77) : ...creating spec/ide.hrl false
[DEBUG] [09:04:00,045] (ErlModule.java:77) : ...creating spec/ide.erl true
[DEBUG] [09:04:00,046] (ErlProject.java:188) : ---YY 2
[DEBUG] [09:04:01,345] (ErlReconcilerStrategy.java:75) : ## initial reconcile
[DEBUG] [09:04:01,345] (ErlReconcilerStrategy.java:78) : ## module:: ide.erl
[DEBUG] [09:04:28,969] (ErlReconcilerStrategy.java:51) : ## reconcile 0-35877 :
__insert
[DEBUG] [09:04:31,171] (ErlReconcilerStrategy.java:51) : ## reconcile 1404-5 :
__insert
[DEBUG] [09:04:32,829] (ErlReconcilerStrategy.java:51) : ## reconcile 1409-1 :
__insert
[DEBUG] [09:04:33,490] (ErlReconcilerStrategy.java:51) : ## reconcile 1410-1 :
__remove
[DEBUG] [09:04:34,292] (ErlReconcilerStrategy.java:51) : ## reconcile 1410-1 :
__remove
[DEBUG] [09:04:35,556] (ErlReconcilerStrategy.java:51) : ## reconcile 1410-1 :
__remove
[DEBUG] [09:04:37,204] (ErlangBuilder.java:398) : >>>> compile error...ide.erl
java.lang.ClassCastException: com.ericsson.otp.erlang.OtpErlangList
at
org.erlide.core.builder.ErlangBuilder.addErrorMarkers(ErlangBuilder.java:537)
at
org.erlide.core.builder.ErlangBuilder.compileFile(ErlangBuilder.java:415)
at
org.erlide.core.builder.ErlangBuilder$ErlangDeltaVisitor.visit(ErlangBuilder.java:673)
at
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at
org.erlide.core.builder.ErlangBuilder.incrementalBuild(ErlangBuilder.java:270)
at org.erlide.core.builder.ErlangBuilder.build(ErlangBuilder.java:157)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlide-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/erlide-devel