Ran Wei Messages: 80 Registered: September 2012 Location: York, UK
Recently I ran into a problem which I believe was caused by name collision.
I have a package named Artefact and within this package I have a class called ArtefactPackage (and it needs to be called this). When I generate model codes there are many compilation errors, which I believe was caused by the fact that ArtefactPackage is generated for the Package but Java confuses this with the ArtefactPackage element in the Package.
Is there a way to avoid this, please?
Department of Computer Science
University of York