TelluIoT / ThingML

The ThingML modelling language

Home Page:https://github.com/TelluIoT/ThingML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to register annotations ?

fungiboletus opened this issue · comments

Annotation @nodejs_package is not registered. Non-registered annotations will be deprecated in a future version.

I tried without success:

annotations.put("nodejs_package", new Annotation(
		"nodejs_package",
		"If present, the configuration is compiled as a NodeJS NPM package",
		new EClass[] {ThingMLPackage.eINSTANCE.getConfiguration()}
));

and

configuration  Canard
@nodejs_package
{
...

Annotation is still marked as unregistered :(

Hmmm.... strange. Try compiling from root and from ./language

I did. Didn't really mind. However I since rebooted for another reason and I can see that it's working.