Hi all,
In the importer I wrote, I have the following mappings:
* Java packages -> Famix namespaces (Simply because java packages have control over name scoping). * Java jar files -> Famix packages (it's the closest thing that corresponds to any 'packaging' thing in Java).
I think it's strange to map Java packages onto Famix packages.. Just my 2 cents ;-)
Johan
ps: I will be looking at using the existing Eclipse importer directly from JavaConnect/Penumbra too.
On 25 Nov 2007, at 16:25, Toon Verwaest wrote:
I thought about it and I would like to have
java package -> extracted as package smalltalk package -> as package smalltalk namespace -> as namespace
Is it what you had in mind?
I don't necessarily think that package equals namespace in Java either. There are the same amount of namespaces as packages, but unlike packages, the namespaces are not nested, right?
Well on the other hand, namespaces are obviously deducable from java packages, so I guess it makes sense to just have packages and write code to get the namespace info (which is more or less important because package belongsTo != namespace belongsTo for java).
What is your opinion about the matter? @Sandro: get involved , this concerns you too, obviously :)
---------------------------- Johan Brichau johan.brichau@uclouvain.be