Closed kehusa closed 8 years ago
Do you use the group
keyword in your ThingML configuration somewhere?
No,
This is the current config:
configuration HomeGW
@kevscript "/Training/3.Wrapping_ThingML_into_Kevoree/3.3_Contrib/Tellu/Home-gw/kevs/dynHomeGW.kevs"
{
instance server : FallServer
}
To test, just try to run the nodejs/kevoree generator on Training\3.Wrapping_ThingML_into_Kevoree\3.3_Contrib\Tellu\Home-gw_javascript\ServerJS.thingml
I'm not sure I can fix this easily without @brice-morin , but may I suggest you to roolback your version of ThingML temporarly (If you didn't do any customization on it.) with
git reset --hard <commit id>
I'm suspecting this commit to be the cause of your problems, so I suggest you rollback to this one by using git reset --hard 5d76737cac757eefbb2fa4724053e853ccb71d25
It is related to the suppression of group (hence isFragment does not exists anymore). Either I forgot to regenerate plugins or it is still one call to that method somewhere.Anyway, it is easy to fix (simply remove any call to isFragment and any code that depends on it)
Ok, I've found the line in question and fixed it. Does it fixe your problem @kehusa ?
note that you need to wait some 10-15 minutes before new version is available on the update site
Note also that some small but useful missing features have been introduced like >=
, <=
, ++
and --
, which can simplify (a bit) some logic.
Thanks a lot. Have to regenerate all components after the Kevoree registry restart today.
Regards Knut Eilif
fre. 15. jan. 2016, 17:56 skrev Brice Morin notifications@github.com:
Note also that some small but useful missing features have been introduced like >=, <=, ++ and --, which can simplify (a bit) some logic.
— Reply to this email directly or view it on GitHub https://github.com/HEADS-project/heads_ide/issues/86#issuecomment-172014978 .
I can add them to the continueous integration to avoid such issue Le 15 janv. 2016 5:58 PM, "kehusa" notifications@github.com a écrit :
Thanks a lot. Have to regenerate all components after the Kevoree registry restart today.
Regards Knut Eilif
fre. 15. jan. 2016, 17:56 skrev Brice Morin notifications@github.com:
Note also that some small but useful missing features have been introduced like >=, <=, ++ and --, which can simplify (a bit) some logic.
— Reply to this email directly or view it on GitHub < https://github.com/HEADS-project/heads_ide/issues/86#issuecomment-172014978
.
— Reply to this email directly or view it on GitHub https://github.com/HEADS-project/heads_ide/issues/86#issuecomment-172015581 .
Checked out and is now working. Thanks.
Knut Eilif
fre. 15. jan. 2016, 17:58 skrev Knut Eilif Husa knut.eilif.husa@tellu.no:
Thanks a lot. Have to regenerate all components after the Kevoree registry restart today.
Regards Knut Eilif
fre. 15. jan. 2016, 17:56 skrev Brice Morin notifications@github.com:
Note also that some small but useful missing features have been introduced like >=, <=, ++ and --, which can simplify (a bit) some logic.
— Reply to this email directly or view it on GitHub https://github.com/HEADS-project/heads_ide/issues/86#issuecomment-172014978 .
After updating to last version of the ThingML code generator, I got this exception when trying to generate the code to day: Compiling with "Javascript for NodeJS" (Platform: nodejs) Selected input file: L/Training/3.Wrapping_ThingML_into_Kevoree/3.3_Contrib/Tellu/Home-gw/_javascript/ServerJS.thingml (C:\Users\KnutEilif\Heads_13.02\workspace\Training\3.Wrapping_ThingML_into_Kevoree\3.3_Contrib\Tellu\Home-gw_javascript\ServerJS.thingml) ERROR: Exeption calling ThingML Compiler: org.sintef.thingml.Configuration.isFragment()ZPlease contact the ThingML development teamjava.lang.NoSuchMethodError: org.sintef.thingml.Configuration.isFragment()Z at org.thingml.eclipse.ui.commands.CompileThingFile.execute(CompileThingFile.java:134) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829) at org.eclipse.ui.menus.CommandContributionItem.access$21(CommandContributionItem.java:815) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Please help!!