Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2m-atl-dev] Ant not creating am3 tasks

Hello!

I'm new in ATL and I'm trying to use the OCL2SWRL transformation (http://www.eclipse.org/atl/usecases/SharingRulesBetweenOCLUML_SWRLOWL/), but I'm having problems. When I try to run the ant file, the command am3.loadModel give me an exception:

BUILD FAILED
...\OCL2SWRL.xml:103: 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.

The line with error is in sequence:
<am3.loadModel modelHandler="MDR" name="XML" metamodel="MOF" path="${xmlPath}XML.xmi" />

The problem is similar to the problem described in this thread (http://dev.eclipse.org/mhonarc/lists/m2m-atl-dev/msg00036.html). But I'm not getting the solution.

Could you help me?

Thanks,

Abraço,
Freddy Brasileiro Silva
________________________________________
Graduando em Ciência da Computação - UFES
gmail/gtalk: freddybrasileiro@xxxxxxxxx
skype: freddybrasileiro
(27) 9997-5106

Back to the top