Problems whith TheSimpestLanguage

Hi,

   I'm trying to create the test model for the SimplesLanguage and I get the folowing error messages:

Can't find a class : TheSimplestLanguage.structure.TheSimplestConcept

Can't find an adapter for jetbrains.mps.smodel.SNode. Try generating adapters.

  What can I do?

  

   Thanks!

5 comments
Comment actions Permalink

Try to generate the language: select "TheSimplestLanguage" language node in project tree and choose 'Generate language' in popup menu.

0
Comment actions Permalink

I already did it!

0
Comment actions Permalink

Make sure that generated java files are compiled.

Check the langauge properties: the 'language class path' should point to directory containing your classes.

0
Comment actions Permalink

I compiled the java classes manualy and It worked!

  Thank you!

   How the integration between MPS and the java compiler work? Can you point me some document on that?

0
Comment actions Permalink

The only integration available is integration with IntelliJ IDEA via MPS idea plugin.

If plugin is installed and IntelliJ IDEA is running, then MPS asks IDEA to 'make' project after file generation is complete.

Otherwise the compilation and 'reload All' should be done manually.

0

Please sign in to leave a comment.