MPS Standalone build can not be generated - broken reference 'module'
Hi Forum,
I have another strange question to ask since I do not know how to find the root of all evil.
My scenario is the following:
I have a build solution that contains one build project (Lang1), which builds a language that as a MPS plugin. - This works fine :)
I also have a separate build solution that was created with the build solution wizard that should create a MPS based RCP containing the language plugin I build in the first step.
Everything seems fine in the build project editors and there are no errors in the project. However, when i try to make the model for the RCP build I get the following error message:
When I click on the first line of that message the RCPBuild.build@0 files opens and shows the following lines were the error is in the line with the <no module> statement:
My question now is, what do I need to specify in order to fix that <no module> null pointer?
Best regrads,
Phillipp
I have another strange question to ask since I do not know how to find the root of all evil.
My scenario is the following:
I have a build solution that contains one build project (Lang1), which builds a language that as a MPS plugin. - This works fine :)
I also have a separate build solution that was created with the build solution wizard that should create a MPS based RCP containing the language plugin I build in the first step.
Everything seems fine in the build project editors and there are no errors in the project. However, when i try to make the model for the RCP build I get the following error message:
broken reference 'module' in [children] BuildLayout_CompileOutputOf null[6715670961999425990] in RCPBuild.build@0 (target model is null)
-- – was input node: [children] BuildLayout_CompileOutputOf null[6715670961999425990] in RCPBuild.build@0
model "RCPBuild.build@0" has been generated with errors
generation completed with errors in 326 ms
Error executing target jetbrains.mps.lang.core.Generate.generate
"generate" target execution time: 326 ms
Other targets execution time: 1 ms; configure: 1 ms, preloadModels: 0 ms, checkParameters: 0 ms
Make failed. See previous messages for details.
When I click on the first line of that message the RCPBuild.build@0 files opens and shows the following lines were the error is in the line with the <no module> statement:
RCPBuild@0
... folder languages jar Lang1.jar folder META-INF xml file module.xml <module namespace="Lang1" type="language" uuid="af9a773b-e317-44a4-aa4f-a8e6cb3e11e8"> <dependencies></dependencies> <sources jar="Lang1-src.jar" descriptor="Lang1.mpl"/> </module> compile output of <no module> files from ./languages/Lang1 includes icons/**, resources/** jar Lang1-src.jar folder module file ./languages/Lang1/Lang1.mpl ...
My question now is, what do I need to specify in order to fix that <no module> null pointer?
Best regrads,
Phillipp
Please sign in to leave a comment.
Or do you have dependency from your RCP build script to Lang1 build script?
yes, I have a dependency from the RCP build script to the Lang1 build script and list Lang1 also under the "idea plugin/content" in the RCP build script. If it is not listet there then the dependencies of the plugins contained in the RCP build are not satisfied.
RCP build script…
The second point. You can make external dependency (dependency only on build artifacts) on Lang1Build instead of normal dependency on Lang1Build in the case you only have already built plugin available in the RCP build project.