Possible bug in ETL/Emfatic? [message #587997] |
Tue, 30 March 2010 12:12 |
Eclipse User |
|
|
|
Originally posted by: c.k.holmes.lboro.ac.uk
Hi,
This may not be a bug at all and, rather, a lack of understanding on my
part; however ...
If we have a directory structure of the following form:
MyProject
Parent (directory)
parent.ecore
parent.emf
Child (directory)
child.ecore
child.emf
Each Emfatic file defines a namespace commensurate with its location in
the directory hierarchy:
parent
parent.child
And each defines its own package and imports the namespace directly
above it:
parent (doesn't import anything)
child (imports parent)
If package Parent defines a class Thing and package Child extends this
class as (say) AnotherThing then I can run a transformation
(MyTransformation) using Ant to provide a reference to package Child and
access the types Thing and AnotherThing via (e.g.)
Target!Thing
and
Target!AnotherThing
However, if package Child is empty or does not extend any of the classes
provided in package Parent, say Child now introduces the class Strange,
then using the same approach as above I find that:
Target!Strange is resolved correctly, but
Target!Thing can no longer be found.
Is this behaviour to be expected?
Regards
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03315 seconds