OCL standard library error : no viable alternative at input 'validating' [message #1220510] |
Thu, 12 December 2013 09:23 |
ModelGeek Mising name Messages: 550 Registered: June 2011 |
Senior Member |
|
|
I have cloned the ocl repository and when i open "OCL-2.5.oclstdlib" it contains few error at "validating" keyword. The error text is "no viable alternative at input 'validating'". Can you please explain why it is so? and how i can solve this?
if i remove "validating" keywords then there is no error.
I am also trying to extend OCL library and i have created new file. but it shows me error at import statement "No 'OclAny' type in the OCL Standard Library"
import 'OCL-2.5.oclstdlib';
library ocl : ocl = 'http://www.eclipse.org/ocl/3.1.0/OCL.oclstdlib'{
type Integer : PrimitiveType conformsTo Real {
operation test() : Integer =>'org.eclipse.ocl.examples.library.numeric.TestNumericOperation';
}
}
thanks!
[Updated on: Thu, 12 December 2013 09:45] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04199 seconds