[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt.amw] Error in traceability for called rules with params

Hi,
I am trying to use the ATL2WTracer.atl transform to produce a trace model of a transformation. I'm getting an error whenever the input ATL model has called rules with parameters in it. When I remove these rules the transform runs without errors.


For example the following triggers an error....

rule addFunctionalProperty( p : UML!Property ) {
	to
		o : OWL!FunctionalProperty (
				isDefinedBy <- p
		)
}

The error is as follows....

[am3.atl] Executing ATL transformation /UML2OWL/ATL2WTracer.atl
[am3.atl] SEVERE: ****** BEGIN Stack Trace
[am3.atl] SEVERE: message: feature inPattern does not exist on ATL!CalledRule
[am3.atl] SEVERE: A.main() : ??#30 null
[am3.atl] SEVERE: local variables = {self=ATL2WTracer : ASMModule}
[am3.atl] SEVERE: local stack = []
[am3.atl] SEVERE: A.__matcher__() : ??#3 null
[am3.atl] SEVERE: local variables = {self=ATL2WTracer : ASMModule}
[am3.atl] SEVERE: local stack = []
[am3.atl] SEVERE: A.__matchOutPattern() : ??#103 246:54-246:72
[am3.atl] SEVERE: local variables = {s=atlModel!<unnamed>, self=ATL2WTracer : ASMModule}
[am3.atl] SEVERE: variables = {}}, 'sourceVars', Sequence {}]


The error is caused by the "rule".inPattern statements in ATL2WTracer. Obviously I need to be able to include called rules with params in a transformation. Any ideas?
Regards,
Ronan