Vlad,
> Oh, your project is already an Eclipse project!
>
> Then you started the right way at first: import it, then enable the
> Erlang nature and then open the project properties to edit the
> required paths.
>
Well, that is exactly what I tried to do.
> Just a wild guess: is your ebin directory created? If not, try to
> create it manually - I remember I had some trouble regarding that...
>
I created ebin manually already.
I'm guessing erlc is failing since it cannot find some of the directories. I
suspect the one that is
set with "-pa" option.
Here is a command from my makefile that works (as run in src dir):
<project dir>/src $ erlc -pa ../../eunit/ebin -I../include
-I../../eunit/include -o../ebin ide.erl
Erlide doesn't alow me to set anything other than src,include,ebin directories.
So I updated .codepath manually .codepath by adding ../eunit/ebin to
external_includes.
I had to guess (probably too much) in the absence of documentation.
You probably have better idea what's wrong.
Attempt to build project produces java stack trace that I include in my first
email.
My dir structure is as follows:
spec/{src,ebin,include}
eunit/{ebin,include}
spec/.codepath:
[EMAIL PROTECTED] spec]$ cat .codepath
#Tue Nov 13 10:40:06 EST 2007
output_dir=ebin
otp_project_structure=false
external_includes=../eunit/ebin
use_pathz=true
include_dirs=include;../eunit/include
backend_name=
source_dirs=src
Thanks
-Miro
-------------- Original message ----------------------
From: "Vlad Dumitrescu" <[EMAIL PROTECTED]>
> Hi,
>
> On Nov 12, 2007 10:27 PM, <[EMAIL PROTECTED]> wrote:
> > "Add new erlang project" wizard doen't allow me to re-create project that
> already exists.
> > My original project was created by checking source code from SVN within
> Eclipse.
> > Removing .project and .codepath doesn't help. Original project had only
> .project file with no settings.
>
> Oh, your project is already an Eclipse project!
>
> Then you started the right way at first: import it, then enable the
> Erlang nature and then open the project properties to edit the
> required paths.
>
> Just a wild guess: is your ebin directory created? If not, try to
> create it manually - I remember I had some trouble regarding that...
>
> regards,
> Vlad
-------------------------------------------------------------------------
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