Tutorial: Creating model doesn't allow to choose TheSimplestLanguage

Hi,

I gave build 239 a try starting with the tutorial (TheSimplestLanguage).

Unfortunately the tutorial window opened by the second Help menu entry

cannot be changed when a dialog is open (modal dialog blocking all

application frames...). What about opening the tutorial in the browser?

I've created the concept and the editor and started triggering a

rebuild, but it failed in IDEA (java.awt not found). OK, then I've

changed the IDEA-module's JDK from the IDEA-SDK to a JDK 1.5.* and it

compiled. When I now wanted to create a new model back in MPS, it did

not let me choose my newly created TheSimplestLanguage, so I could not

continue. :-(

Cheers,

Tom

5 comments
Comment actions Permalink

Hi Tom,

Most likely you can't choose TheSimplestLanguage because you haven't declared dependency of your solution from TheSimplestLanguage.

Check solution properties.

In section "Module roots" add the directory where the language descriptor (mpl file) is located.

If you follow tutorial the directory should be: C:\TheSimplestLanguage\lenguages\TheSimplestLanguage

Igor.

0
Comment actions Permalink

Hi Tom,

Most likely you can't choose TheSimplestLanguage because you haven't declared dependency of your solution from TheSimplestLanguage.

Check solution properties.

In section "Module roots" add the directory where the language descriptor (mpl file) is located.

If you follow tutorial the directory should be: C:\TheSimplestLanguage\lenguages\TheSimplestLanguage

Igor.

0
Comment actions Permalink

Hi Tom,

Most likely you can't choose TheSimplestLanguage because you haven't declared dependency of your solution from TheSimplestLanguage.

Check solution properties.

In section "Module roots" add the directory where the language descriptor (mpl file) is located.

If you follow tutorial the directory should be: C:\TheSimplestLanguage\lenguages\TheSimplestLanguage

Igor.

0
Comment actions Permalink

Hi Igor,

Thanks, that did the trick. BTW, when entering the path for the module

roots, one can select everything in the file system, files and directories.

Shouldn't occur there "just" a directory chooser or am I missing a feature?

Tom

0
Comment actions Permalink

sure, there should be directory chooser.

i've submitted

http://www.jetbrains.net/jira/browse/MPS-566

0

Please sign in to leave a comment.