HEADS-project / training

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

Define several ThingML configurations and decide which one to run #78

Closed skorsky closed 9 years ago

skorsky commented 9 years ago

Is it possible to define in ThingML configurations like

configuration A {
...
}

and

configuration B {
...
}

and then generate Java code, Kevoree Java code and select at runtime which configuration to use with mvn kev:run?

This is related to SAG contribution for tutorial 3.

brice-morin commented 9 years ago

Outside Eclipse, this would generate two separate Maven projects, then you can cd into the one you want to mvn kev:run. I have to double check, but inside Eclipse, everything might be "merged" (without any proper merging, more like by chance) into one Maven project within the thingml-gen folder. We should also generate two separate Maven folder in the workspace. I'll check that.

skorsky commented 9 years ago

OK, thanks for help.