Problem with UML profiles and ATL 2006 - Message #2052 @yahoo list [message #7621] |
Sat, 13 January 2007 10:45 |
Christophe Le Camus Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I encoutered some problems with the new version of the ATL 2006 for
applying
UML profile.
I have written a simple transformation (see "ApplyProfile.atl" attached
file)
to transform simple UML classes (see "IN_simple_model.uml2" attached file)
into UML classes with stereotypes and properties values (see the profile
defined "ExempleProfileJPB.profile.uml2")
I have successfully tested this transformation with the following
configuration :
-Eclipse 3.1.2 (installed from eclipse-SDK-3.1.2-win32.zip)
-EMF (installed from emf-sdo-xsd-SDK-2.1.2.zip)
-UML2(installed from uml2-SDK-1.1.1.zip )
-ADT (installed from adt20060630_Eclipse3_1(withMDR4ATL).zip)
I obtain the result given in the attached file "Result_Profile.uml2"
Since I would like to test the new features (especially the rule
inheritance) of the new compiler announced few days ago, I have built a new
complete ADT plugin from CVS repository following the installation
documentation
and created another Eclipse "configuration"(the only difference is the ATL
compiler)
When I run my transformation, everything seems to work, but only "seems" :
I
don't have any error message,
the result file is created (see attached file
"Result_Profile_ATL2006.uml2")
but when I try to open it with the UML2 Model Editor I don't see the
applied
stereotypes and I get an error message in the error log tab:
Package with uri
' http:///ExempleProfileJPB_0_yQsmYGKSEduZI41ZS40uVQ.profile.u ml2' not
found.
(platform:/resource/TestProfile/Result_Profile_ATL2006.uml2, 12, -1)
I have the same result if I put or not "-- @atlcompiler atl2006" on the
first line of my ATL transformation
If I import into this second Eclipse configuration the file obtained with
my
first working Eclipse configuration,
I can successfully visualize the stereotypes and their property values. I
deduce that the problem doesn't come from the UML2 part.
Due to my weak knowledge on the Eclipse platform and XMI in general, I'm
completely blocked.
I have compared the two different resulting files, but I'm not able to
understand why they are different.
My questions are :
1) Did I miss a step or where is my big mistake?
2) Did anybody encounter the same problem and, more interesting, solve it?
3) should I modify my transformation for the new compiler ?
I would appreciate any help.
Thanks in advance
jean-pierre
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds