Unable to make build solution... Follow
Hello,
I just installed MPS 3.0 and created a build solution for the Calculator tutorial language.
I am getting the following error when making this solution and I am wondering if anybody has encountered this issue and was able to resolve it:
mps module jetbrains.mps.lang.test.runtime was not found in the layout
-- – was input node: [modules] BuildMps_Language <no ref>[4087223729874454721] in Calculator.build@3_1
-- – was template: [value] XmlTextValue <no ref>[4821808014881207503] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.lang.test was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.lang.test.runtime was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.baseLanguage.unitTest was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
Thanks,
I just installed MPS 3.0 and created a build solution for the Calculator tutorial language.
I am getting the following error when making this solution and I am wondering if anybody has encountered this issue and was able to resolve it:
mps module jetbrains.mps.lang.test.runtime was not found in the layout
-- – was input node: [modules] BuildMps_Language <no ref>[4087223729874454721] in Calculator.build@3_1
-- – was template: [value] XmlTextValue <no ref>[4821808014881207503] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.lang.test was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.lang.test.runtime was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
mps module jetbrains.mps.baseLanguage.unitTest was not found in the layout of `Calculator'
-- – was input node: [root] BuildProject <no ref>[4087223729874454662] in Calculator.build@3_1
-- – was template: [content] XmlElement <no ref>[5970181360960745066] in jetbrains.mps.build.mps.generator.template.main@generator
Thanks,
- Quenio
Please sign in to leave a comment.
This happens because dependency on jetbrains.mps.testing plugin is not added by default (wizard adds as little dependencies as possible since every user can customize the script and add whatever he needs). You can do the following to fix the problem:
1. Add dependency on mpsTesting build script to dependencies section of Calculator script:
This line tells the script that you need modules from mpsTesting to compile your code and that they are located under $mps_home/plugins folder.
2. Add dependency on "jetbrains.mps.testing" into "ide plugin" section of the script:
This tells the plugin system that jetbrains.mps.testing is required to load your plugin.
3. Finally, add importing testing plugin files (line import mpsTesting::mps-testing) to the layout of your standalone build:
This tells the script that you need the testing plugin included into you standalone MPS build.
--
Julia