voicemenu icon indicating copy to clipboard operation
voicemenu copied to clipboard

unable to run the code to simulate the voice menu

Open asukumari opened this issue 6 years ago • 4 comments

Followed the instructions as you have mentioned here . The step - Right click the myVoicemenu sandbox solution in the left panel and choose Run - Din't give me a Run option. What could be the issue here?

Upon rebuilding the project the error is as shown here. Please advise how to reproduce the voice menu simulator like in your videos.

asukumari avatar Jun 18 '18 00:06 asukumari

the error in the build script is just because you probably try to build the RCP using a MPS version 2018.1. You can fix this error message by hitting ENTER inside the erroneous field.

I have the same issue that the RCP does not offer the option to run the Java Simulator. I looked into it with Vaclav to make sure that the sandbox was rebuild while the generation target is set to "Java simulator". The Java sources have been created successfully, but the context menu does not offer the "run" item.

Vaclav suggested to go back to the 2017.3 version to package and build the distribution, but that did not work for me either. I could not get the build to work. @asukumari does the Java Simulator work for you on the sandbox model that comes with the sources (from within MPS)? It does for me.

In my RCP, the j.m.baselang is not part of the Modules Pool, so I assume something goes wrong in the ant scripts under Windows...?

digital-ember avatar Jul 11 '18 08:07 digital-ember

Btw: I also received a readily packaged voicemenu distribution directly from JetBrains, but it has the same issue. The j.m.execution.devkit is part of the modules pool, the j.m.baseLanguage folder only contains the unitTest language...

digital-ember avatar Jul 11 '18 08:07 digital-ember

I was fascinated by the IVR video. I was also trying to build this. In the video they show a complete IDE for the voice menu. That is built from this project?

I also tried to follow the instructions but was unable to get the voice menu editor.

amalagaura avatar Jul 11 '18 22:07 amalagaura

Yes, the IDE can be build from the sources in this repository. When you open the MPS project, you can find several languages and solutions as its content. One of the solutions is called "voicemenu.build". It contains two build scripts modeled in a - you guessed it - custom build language that comes with MPS and compiles to ANT. You can run these scripts directly from within MPS after rebuilding the project. At least when you want to do that on Windows, however, you have to tweak the build scripts a little bit in order to compile and run, and that is not straightforward to do if you have never seen this language before, imho. First, the build script called voicemenu generates the Java sources from all the necessary languages and the (runtime) solutions with dependencies. The script voicemenuDistribution can then package them to a zip file which contains the "ready-to-run" IDE you saw in the video. For Windows, it seems like the packaging goes wrong, at least regarding some required packages to execute the generatable Java simulator and when you use MPS 2018.1 and the current master branch. My attempts to create a distribution using MPS 2017.3 failed (the IDE won't start due to path issues). MPS also has a slack channel and other means of support, check out: https://www.jetbrains.com/mps/support/index.html

digital-ember avatar Jul 12 '18 05:07 digital-ember