BuildMps_Language part in an Ant build file: Failed to convert path

Problem

When I add a language (BuildMps_Language) in the project structure of an Ant build file (j.m.build.structure.BuildProject) I cannot compile the model in which the build file is in.

Error message:

Failed to convert path D:/Skola/Ing/DP/projects/AntBuilder/languages/MyLanguage/models
-- -- was input node: [parts] BuildMps_Language "MyLanguage"[292039609691017940] in MySolution.myModel@0
-- was template node: r:54537613-52b5-40a8-b223-e87f0960b04f(jetbrains.mps.build.mps.generator.template.main@generator)/3189788309732145594
Failed to convert path D:/Skola/Ing/DP/projects/AntBuilder/languages/MyLanguage//source_gen
-- -- was input node: [parts] BuildMps_Language "MyLanguage"[292039609691017940] in MySolution.myModel@0
-- was template node: r:54537613-52b5-40a8-b223-e87f0960b04f(jetbrains.mps.build.mps.generator.template.main@generator)/3189788309732145594
Failed to convert path D:/Skola/Ing/DP/projects/AntBuilder/languages/MyLanguage/generator/templates
-- -- was input node: [generator] BuildMps_Generator "MyLanguage#01"[292039609691017988] in MySolution.myModel@0
-- was template node: r:54537613-52b5-40a8-b223-e87f0960b04f(jetbrains.mps.build.mps.generator.template.main@generator)/3189788309732145594
Failed to convert path D:/Skola/Ing/DP/projects/AntBuilder/languages/MyLanguage//generator/source_gen
-- -- was input node: [generator] BuildMps_Generator "MyLanguage#01"[292039609691017988] in MySolution.myModel@0
-- was template node: r:54537613-52b5-40a8-b223-e87f0960b04f(jetbrains.mps.build.mps.generator.template.main@generator)/3189788309732145594
model 'MySolution.myModel@0' has been generated with errors
generation completed with errors in 14 ms
Error executing target jetbrains.mps.lang.core.Generate.generate

Project structure and dependencies

Use case

I want to compile MySolution (it will contain baseLanguage classes) as a jar file and then install it as a maven artifact locally. This worked* for me until I added MyLanguage as a dependency to MySolutionAfter a "The reference MyLanugage (module) is out of search scope." error I added MyLanguage into the "project structure" part of the Ant build file and then the compilation started to fail.

The build file

For reproduction of the problem I created a MCVE on gitlab: https://gitlab.com/HawkSVK/mps-ant-builder

MPS version used: 2019.3, build 193.1331

---

* My mvn install solution is here, if somebody would be interested. If anybody has an advice, feel free to write.

1 comment
Comment actions Permalink

Can someone help me, please? Or should I report this as a bug?

0

Please sign in to leave a comment.