HEADS-project / training

Training material to get started with the HEADS technologies
10 stars 16 forks source link

ThingML configuration set-statement values is not used when exported to kevoree #58

Closed sdalgard closed 9 years ago

sdalgard commented 9 years ago

The set-statements are made eccesible for kev-script. The values given in ThingML configuration is "lost"

<********Snip of configuration **********>
configuration JavaPIF {
    instance starter2 : PIFStarter
    set starter2.mynum = 2
<*******Snip og generated code ********>
@Param (defaultValue = "0")
private short JavaPIF_starter2_PIFStarter_mynum__var = 0;
//Getters and Setters for non readonly/final attributes
public short getJavaPIF_starter2_PIFStarter_count__var() {
return JavaPIF_starter2_PIFStarter_count__var;
}
brice-morin commented 9 years ago

Should have been fixed a few minutes ago ;-) Update your HEADS IDE and retry.

sdalgard commented 9 years ago

It works now :+1: