Simplest language tutorial problems on mac os x

Hello all. I found this exiting system through one month research on internet and wanted to give a try for language oriented method.

My configuration:

- powerbook g4 1,67ghz with mac os x 10.4.8

- Java 1.5

- IntelliJ IDEA 6.0.4

- MPS EAP build

Installing ok for both programs. Everything also ok to "generate language part" on simplest language tutorial, but then java problems starts:

1) I cannot see MPS plugin loaded to IDEA althought MPS is in IDEa plugins folder

2) After generation i get some error messages, one of them is: Invalid reference "classifier" in templates... String literal is marked red. Probably some classes are not loaded.

3) Other errors:

- executing builder for source: ...

- -- was source node: ...

- -- was rule: ...

- -- was template: ...

- generation failed...

Could someone tell me how to configure MPS and IDEA right way to get them working on mac os x?


I got further by uninstalling both programs and starting from clean table. Now IDEA works well with MPS, but had to add this:


to MPS project classpath entries (for System.out and String?) and also i had to attach source and classes from IDEA Preferences -> Project Settings -> Project Structure -> Project Libraries -> MPS (taking /bin away from path)

After generation IDEA leaves 3 warning regarding to castings and one big list of strange warnings to me:


java.lang.NoClassDefFoundError: com/intellij/j2ee/j2eeDom/XmlBasedObjectsManager

    at anima.plugins.struts.H.projectOpened(y:86)

    at com.intellij.openapi.project.impl.ProjectImpl.c(

    at com.intellij.openapi.project.impl.ProjectImpl.access$200(

    at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(

    at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(

    at com.intellij.openapi.project.impl.ProjectManagerImpl.d(

    at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(

    at jetbrains.mps.plugin.IDEAHandler$2$

    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(

    at jetbrains.mps.plugin.IDEAHandler$

    at com.intellij.openapi.application.impl.LaterInvocator$

    at com.intellij.openapi.application.impl.LaterInvocator$

    at java.awt.event.InvocationEvent.dispatch(

    at java.awt.EventQueue.dispatchEvent(

    at com.intellij.ide.IdeEventQueue.b(

    at com.intellij.ide.IdeEventQueue.a(

    at com.intellij.ide.IdeEventQueue.dispatchEvent(

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(

    at java.awt.EventDispatchThread.pumpEvents(

    at java.awt.EventDispatchThread.pumpEvents(


Mapping configuration for SimplestLanguage on tutorial didn't put import to java source. That and ArrayList imports had to made manually...


I just want to report these things, if some others are trying to make it work on a mac. Tomorrow i hope i get tutorial finished.


Thakx for letting us know! have you succeed with tutorial?


Yes. I think i succeed with compiling. I got exactly the same results as on screenshots.

Have anyone made php oriented tutorials with MPS?


Unfortunately we don't have php samples that I know about.

We have on-going web-app project ( but it isn't based on PHP.


Thanks, that was interesting to watch anyway.


I couldn't get as far as you unfortunately :). I try create a very simple language with 1 concept with 1 string property in it and when I click Generate Language on OS X with IDEA 6.0.4 I get the following - I'm completely stumped and don't know what I can do to get past this...

Couldn't resolve reference baseMethodDeclaration from InstanceMethodCall [1096028240408] in jetbrains.mps.bootstrap.structureLanguage.generator.baseLanguage@templates

The target model jetbrains.mps.smodel@java_stub doesn't contain node with ERI=method (SNode).(getReferent((jetbrains.mps.baseLanguage.types.classifier/jetbrains.mps.baseLanguage.types.classifier )) : (jetbrains.mps.baseLanguage.types.classifier/jetbrains.mps.baseLanguage.types.classifier ))

The target model java.lang@java_stub doesn't contain node with ERI=[ClassConcept]String

Permanently deleted user



the target model java.lang@java_stub doesn't contain node with ERI=[ClassConcept]String 

means that there is no class String in a classpath of your mps project. Try adding a jar file with this class to a language or project classpath in the language or project properties dialog.


Please sign in to leave a comment.