Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run the code to simulate the voice menu #1

Open
asukumari opened this issue Jun 18, 2018 · 4 comments
Open

unable to run the code to simulate the voice menu #1

asukumari opened this issue Jun 18, 2018 · 4 comments

Comments

@asukumari
Copy link

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.

@digital-ember
Copy link

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
Copy link

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...

@amalagaura
Copy link

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.

@digital-ember
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants