Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AM3 » example ATL Transformation don't work
example ATL Transformation don't work [message #666917] Sun, 24 April 2011 11:55 Go to next message
Uli  is currently offline Uli Friend
Messages: 5
Registered: April 2011
Junior Member
Hi everyone!

I'm currently working on some ATL-Transformation and therefore wanted to execute some of the example projects provided in the Transformation zoo. I'm particularly interested in "KM3 to OWL" and "UML to OWL", since the target model of my transformation is OWL. "Table2TabularHTML" also seems interesting.

But I can't get them running. No matter what I do, I keep getting errors.

BUILD FAILED
/workspace/KM32OWL/build.xml:37: Problem: failed to create task or type am3.loadModel
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


I found out on the forum ( http://www.eclipse.org/forums/index.php?t=tree&goto=6584 45&S=bfc1a9242a3571925ff47d0083bb4aeb#page_top), that one has to install some older version of am3 as described here: http://wiki.eclipse.org/AM3/How_Install_AM3_From_SVN
Doing so results in checkouts containing lots of errors.

I tried to follow this instruction http://wiki.eclipse.org/ATL/How_Install_ATL_From_CVS_(Classi cal_way), but it tells you to install mdr-standalone.zip from http://mdr.netbeans.org/download/ which is not available any more.

I also tried this eclipse bundle http://docatlanmod.emn.fr/Eclipse_Bundles/AMMA_Prototype/AMM APrototypeEclipse.zip, that was recommended here: http://www.eclipse.org/forums/index.php?t=msg&th=170635& amp;start=0&S=c6436e2614c462b3776fe4e0f0c6aa22 - same error as above.

I tried different versions of Eclipse without success.

I really don't know, how I could get these projects working. Can anyone help me? Any ideas? Do you need further information on my setup, error logs?

Thanks a lot,
Uli

Re: example ATL Transformation don't work [message #667070 is a reply to message #666917] Tue, 26 April 2011 15:19 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hi Uli,

Have you run your Ant scripts with dedicated launch configurations?
You can find examples of pre-configurated builds in the material available from http://www.eclipse.org/MoDisco/useCases/PerformanceAnnotated UmlStateCharts/

Anyway, another option is to quickly modify the ANT script (it's quite straight forward) in order to make them work with the new ATL ANT Tasks: http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Tools#ATL_a nt_tasks

I hope this help.

Best regards,

Hugo

P.S. You don't need to install any MDR driver


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Re: example ATL Transformation don't work [message #671428 is a reply to message #667070] Tue, 17 May 2011 21:12 Go to previous messageGo to next message
Uli  is currently offline Uli Friend
Messages: 5
Registered: April 2011
Junior Member
Hi Hugo!

thanks a lot for answer! The second link you mentioned was the solution.
Re: example ATL Transformation don't work [message #675716 is a reply to message #671428] Wed, 01 June 2011 09:31 Go to previous messageGo to next message
miryam  is currently offline miryam Friend
Messages: 2
Registered: May 2011
Junior Member
hi.
i want to transform an UML file into an OWL file through an ATL transformation UML2OWL, so i dowloaded the project UML2OWL from the atl zoo, but it didnt work for me iam working with Eclipse SDK 3.2.2 atl+emf+uml2
i always get this error

failed to create task or type am3.loadModelCause:
The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

if anyone could help me i will be thankful.
is there another way to run the transformation wihtout using the ant.built file.
miryam.
Re: example ATL Transformation don't work [message #972369 is a reply to message #667070] Mon, 05 November 2012 15:23 Go to previous message
Bruno Carneiro is currently offline Bruno CarneiroFriend
Messages: 7
Registered: October 2012
Junior Member
I got the same problem described here and the same solutions, replacing some "am3" by "atl" in build.xml.

But, in the sequence, I got another problem:

[atl.loadModel] Loading model OWL from file:/C:\UML2OWL\OWL\OWL.ecore
[atl.loadModel] org.eclipse.m2m.atl.core.ATLCoreException: Error loading file:/C:\UML2OWL\OWL\OWL.ecore: java.io.FileNotFoundException:

This file exists in another path. In build.xml, I have

<atl.loadModel modelHandler="EMF" name="OWL" metamodel="MOF" path="/UML2OWL/OWL/OWL.ecore"/>

The system understands this path beginning in c:\ not in my project folder.

How can I solve this problem?
Previous Topic:Error while compiling AM3 plugin EMFModelFactory.java
Next Topic:Comment installer un AM3 !
Goto Forum:
  


Current Time: Thu Sep 19 09:20:24 GMT 2024

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

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

Back to the top