Error during standalone IDE creation:cannot find xxxxxx.jar in local layout
xxxxx is the name of the stub jar. It is an ordinary jar file and added as a stub to my language and as a runtime library to my solution. I am trying to export my solution and language as a new IDE. But I could not resolve cannot find xxxxxx.jar in local layout error. I could execute root concepts of my solution, but I could not export a new IDE. I have tried to change localtion of jar file into several places under the project folder but nothing changed. Could you explain how can I deal with this error? Thanks a lot.
Please sign in to leave a comment.
It's not entirely clear what is happening, seeing the build script would help. Or maybe you can tell what exactly in the build script causes that error. But if you want to physically include your jar into your distribution package then you will have to write in the layout section something like
file <path to your jar file>
Also, it would help if you told us more about the structure of your language/solution. It's not clear where exactly jar is added as stubs (to the solution?) and whether the solution is a runtime solution for the language or not.
My jars are in the languages/<langname>/lib directory which is the standard."Load required information from file" intention leads to a not working build model.
Interesting enough the jars for a solution were found without problems. Could be a bug in MPS 2.5.4, I'll try MPS 3... No, doesn't work too.
I did have to adjust the build file manually to include the jar files in the layout of the zip file. I agree that this is not optimal, since all the information is available to MPS (the project builds), the build file should be created complete if at all possible.