Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Possible bug in ETL/Emfatic?
Possible bug in ETL/Emfatic? [message #587997] Tue, 30 March 2010 12:12
Eclipse UserFriend
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
Previous Topic:Debugging ETL
Next Topic:Possible bug in ETL/Emfatic?
Goto Forum:
  


Current Time: Wed Sep 18 20:27:55 GMT 2024

Powered by FUDForum. Page generated in 0.03315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top