Share

Erlang IDE @ Eclipse

Tracker: Bugs

5 Can't have modules with identical name in different project - ID: 1779732
Last Update: Settings changed ( vladdu )

Eclipse hangs when you have modules with identical names in different
projects open at the same time.

Steps to repro:

1. Create a new Erlang project 'foo'
2. Create another Erlang project 'bar'
3. Create a file 'test.erl' in project 'foo'
3a. set the module name to test ie. "-module(test)."
4. Create a file 'test.erl' in project 'bar'
4a. set the module name to test as in #3a above

(i) try closing either of the 'test.erl' files; eclipse hangs.
(ii) If you restart Eclipse and try opening both files, eclipse hangs
again.

Note: There is a warning in the problems fast view that says "Code clash
between ~/bar/ebin/test.beam and ~/foo/ebin/test.beam"

Erlide version: 0.3.31
Eclipse version: 3.3 (Europa)
OS: Mac OS X 10.4
Java version: 1.5.0_07

Thanks,
Emmanuel


Emmanuel Okyere ( eokyere ) - 2007-08-22 20:07

5

Closed

Fixed

Vlad Dumitrescu

core

None

Public


Comments ( 2 )

Date: 2007-09-04 00:17
Sender: eokyere


verified! thanks :)


Date: 2007-08-23 07:19
Sender: vladduProject Admin


Hi,

I fixed this. There was an ets table named after the module, now the name
includes the project too.

Will be included in the next release.

regards,
Vlad



Attached File

No Files Currently Attached

Changes ( 9 )

Field Old Value Date By
status_id Open 2007-09-04 20:12 vladdu
close_date - 2007-09-04 20:12 vladdu
status_id Closed 2007-09-04 00:17 eokyere
close_date 2007-08-23 07:19 2007-09-04 00:17 eokyere
status_id Open 2007-08-23 07:19 vladdu
close_date - 2007-08-23 07:19 vladdu
resolution_id None 2007-08-23 07:19 vladdu
category_id None 2007-08-23 07:19 vladdu
assigned_to nobody 2007-08-23 07:19 vladdu