|[Xpand] Re: [newbie] Getting my Check.chk recognized [message #53432]
||Fri, 28 November 2008 10:04
| Sven Efftinge
Registered: July 2009
as the question is related to Xpand, I added the M2T newsgroup.
Currently all xpand editors require the ecore files to be reachable
through the java class path. So you have to copy the ecore file into the
> I'm working through some of the tutorial docs with the Generic Editor.
> Everything works fine until I try to write my own Checks.chk file.
> I have installed the nature using the project context menu. I have
> placed the file 'Checks.chk' into the root src directory. When I place
> the following in the file:
> import foo;
> context MyClass1 WARNING "foo#MyClass1 should have a
> name": !this.foo.isEmpty();
> It has a validation failure that says: "Type not found: MyClass1".
> MyClass1 is an EClass defined in an ecore model in the models directory
> of the same project. I tried generating the model as well so the source
> is in the foo package, directly under the Checks.chk file.
> Any pointers?
Powered by FUDForum
. Page generated in 0.17940 seconds