[Erlide-devel] Feedback on the developer's manual

2006-05-28 Thread Mickael Remond
Hello,

I have been following the developer's manual to get started.
(http://erlide.sourceforge.net/devman.html)

I have several fixes (at least for version 3.1.2):
- In section 1.3 Build: The last bullet is not needed as it is already
  in bullet number 2.
- A second bullet should be added stating:
«In the main tab, select the "Program to run" to be "Run an
application". The default value (org.eclipse.ui.ide.workbench) is fine.»

If it is somewhere is the CVS, I can update it.

Are there any recommendation regarding the JDK version to use ?
1.4 or 1.5 ?

-- 
Mickaël Rémond
 http://www.process-one.net/


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Mixing Erlang and C code in the same project

2006-05-28 Thread Mickael Remond
Hello,

* Vlad Dumitrescu <[EMAIL PROTECTED]> [2006-05-27 20:36:43 +0100]:

> We have a soon-to-be-released builder for Erlang projects that uses
> existing Makefiles. This might conflict with the C nature, since I
> presume there is only a single Makefile for the project.

What is going to be the impact on the various platforms ?
Will this work on Windows ?
What will it change in the workflow ?

-- 
Mickaël Rémond
 http://www.process-one.net/



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Feedback on the developer's manual

2006-05-28 Thread Mickael Remond
* Mickael Remond <[EMAIL PROTECTED]> [2006-05-28 10:24:02 +0200]:

> Hello,
> 
> I have been following the developer's manual to get started.
> (http://erlide.sourceforge.net/devman.html)

Something else is also missing:

To develop on Erlide, you have to have a version of Erlide already
installed in your Eclipse development environment and the ERL_TOP field
in Erlang Runtime (ERTS) preference pane must be correctly set.

-- 
Mickaël Rémond
 http://www.process-one.net/


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Mixing Erlang and C code in the same project

2006-05-28 Thread Vlad Dumitrescu

Hi,

On 5/28/06, Mickael Remond <[EMAIL PROTECTED]> wrote:

* Vlad Dumitrescu <[EMAIL PROTECTED]> [2006-05-27 20:36:43 +0100]:
> We have a soon-to-be-released builder for Erlang projects that uses
> existing Makefiles. This might conflict with the C nature, since I
> presume there is only a single Makefile for the project.

What is going to be the impact on the various platforms ?
Will this work on Windows ?
What will it change in the workflow ?


There shouldn't be any impact. Rignt now, projects are built using a
builder implemented inside Erlide that tries to be incremental by
watching the involved resources (using the Eclipse API) and
recompiling when necessary. It does now handle even yrl files.

This is okay for simple cases, but when the dependencies are becoming
non-trivial it would mean to reimplement Make - which is unnecessary.
Also, many projects already have a Makefile.

It is Jakob who is implementing this, but I feel confident to answer
that it will work on Windows if there is an appropriate make
implementation installed (I suppose there will be a configuration pae
for this).

One related issue is that when the project is complex and maybe
includes some C code or IDL specifications, there is no way to import
the Makefile into Eclipse in the general case. It would be needed
because Erlide still needs to parse the code and to find all include
files and such. The current solution is to search the project
directory for all directories with erl and hrl files and later let the
user strip away any unneeded ones and add any external ones. This
isn't optimal, but we hope it will be acceptable as a one-time job
until someone comes with a better idea.

best regards,
Vlad


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Feedback on the developer's manual

2006-05-28 Thread Vlad Dumitrescu

Hi,

On 5/28/06, Mickael Remond <[EMAIL PROTECTED]> wrote:

I have been following the developer's manual to get started.
(http://erlide.sourceforge.net/devman.html)

I have several fixes (at least for version 3.1.2):  


Great, thanks!


If it is somewhere is the CVS, I can update it.


I am currently working on the documentation, which will include the
developer's manual. It is located in the erlide-help project. I am
using a docbook document as a source from which html and pdf
documentation will be generated. The tool I use is XXE
(http://www.xmlmind.com/xmleditor/)


Are there any recommendation regarding the JDK version to use ?
1.4 or 1.5 ?


I use both, the only thing to remember is to generate code for 1.4 and
to use a 1.4 JRE as target. Otherwise 1.5 stuff might sneak in and not
work on 1.4 VMs.

I considered using retroweaver to be able to develop on 1.5 (with
generics and stuff) and run on 1.4, but it's not a trivial job to set
it up and I let it go to the bottom of the priority list.

regards,
Vlad


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


[Erlide-devel] Supporting Eclipse 3.2

2006-05-28 Thread Vlad Dumitrescu

Hi all,

Version 3.2 is almost ready now, with many improvements, not the least
performance-wise. Personally, I'd like to make the switch to the new
version.

However, 3.2 has some incompatible changes from 3.1, which make it
difficult to support both versions. (I'd say that given the
conditions, it would be almost impossible)

Since the user base is still small, I think it would be less painful
to upgrade sooner than later. This would probably mean during the
summer.

Does anyone have something to say about that?

best regards,
Vlad


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Supporting Eclipse 3.2

2006-05-28 Thread Mickael Remond
Hello,

* Vlad Dumitrescu <[EMAIL PROTECTED]> [2006-05-28 19:18:07 +0100]:

> Hi all,
> 
> Version 3.2 is almost ready now, with many improvements, not the least
> performance-wise. Personally, I'd like to make the switch to the new
> version.
> 
> However, 3.2 has some incompatible changes from 3.1, which make it
> difficult to support both versions. (I'd say that given the
> conditions, it would be almost impossible)
> 
> Since the user base is still small, I think it would be less painful
> to upgrade sooner than later. This would probably mean during the
> summer.
> 
> Does anyone have something to say about that?

I feel this is the way to go. Switching now will probably less painfull,
you are right, and I have no problem upgrading to support Erlide. 

-- 
Mickaël Rémond
 http://www.process-one.net/


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


[Erlide-devel] Bug report: null pointer exception on new file

2006-05-28 Thread Mickael Remond
Hello,

When I create a new file in the IDE, it seems to always create a null
pointer exception preventing to access the file for edition.
When I restart Erlide, I can again access the file for edition.

Here is the start of the stack trace:
java.lang.NullPointerException
at org.erlide.core.erlang.ErlScanner.(ErlScanner.java:44)
at
org.erlide.ui.util.ErlModelUtils.getScanner(ErlModelUtils.java:139)
at
org.erlide.ui.editors.erl.EditorConfiguration.getBracketMatcher(EditorConfiguration.java:120)

I have started looking at the code. I suspect something in the model is
not updated and can in some case return a null ErlScanner.
I do not yet understand the model part, however, so I am a little bit
stuck.
 
I hope this helps,

-- 
Mickaël Rémond
 http://www.process-one.net/


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Bug report: null pointer exception on new file

2006-05-28 Thread Vlad Dumitrescu

Thank you for the report. I get a NPE somewhere else, so there are
several places where we should check for null pointers...

Also, please use the Sourceforge bug tracker, it's easier to manage
the problems. Opening Window->Prefereneces->Erlang will display links
to the different trackers.

regards,
Vlad

On 5/28/06, Mickael Remond <[EMAIL PROTECTED]> wrote:

Hello,

When I create a new file in the IDE, it seems to always create a null
pointer exception preventing to access the file for edition.
When I restart Erlide, I can again access the file for edition.

Here is the start of the stack trace:
java.lang.NullPointerException
   at org.erlide.core.erlang.ErlScanner.(ErlScanner.java:44)
   at
org.erlide.ui.util.ErlModelUtils.getScanner(ErlModelUtils.java:139)
   at
org.erlide.ui.editors.erl.EditorConfiguration.getBracketMatcher(EditorConfiguration.java:120)

I have started looking at the code. I suspect something in the model is
not updated and can in some case return a null ErlScanner.
I do not yet understand the model part, however, so I am a little bit
stuck.

I hope this helps,

--
Mickaël Rémond
 http://www.process-one.net/


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel


Re: [Erlide-devel] Supporting Eclipse 3.2

2006-05-28 Thread Andrew Lentvorski

Vlad Dumitrescu wrote:


However, 3.2 has some incompatible changes from 3.1, which make it
difficult to support both versions. (I'd say that given the
conditions, it would be almost impossible)

Since the user base is still small, I think it would be less painful
to upgrade sooner than later. This would probably mean during the
summer.

Does anyone have something to say about that?


Sooner would be better for me.

3.2 is *so* much better and more stable for me that I simply will not 
use 3.1.


Until it at least works in beta form on 3.2, I can't use Erlide.

-a


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel