Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About EugenSchindler

  • Rank
  1. EugenSchindler

    Compiling JetBrains MPS

    Yes. If I open a project in MPS, I get all kinds of build errors (when building it) that I don't get with the same project, when opening it in an MPS that has not been JET-compiled. I didn't investigate this further because in addition to giving errors, it appears not be faster, as you predicted. Nevertheless, I would be interested to know if I made an error in the JET compilation and that is why it gives me problems or that it's indeed a problem. Maybe you can double check this by reproducing it? Given the settings of JET that are in the first post of this thread, it shouldn't take much time to JET (10-15 minutes). MPS (even the source) is freely downloadable from github (https://www.jetbrains.com/mps/download/#generic for the distribution and https://github.com/JetBrains/MPS/tree/MPS3.1 for the stable source branch). What I tried was opening one of the example projects. Also, would there be another way to speed MPS up with JET if you cannot "compile in" the classpath dependencies?
  2. EugenSchindler

    Compiling JetBrains MPS

    Hi Kit, Thanks for your answer! I tried the pack=none option and now MPS starts, but I get strange behavior, so I'm not sure this is going somewhere. Yes, the reason for wanting to compile MPS is a performance reason. I'm currently investigating it as one of the options for performance optimization.
  3. EugenSchindler

    Compiling JetBrains MPS

    I tried compiling JetBrains MPS in Linux (both with 64 bits and 32 bits JET evaluation version), but I get the following error when trying to run it: Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.<unknown>(Unknown Source) at java.lang.Class.forName(Unknown Source) at com.intellij.ide.Bootstrap.main(Bootstrap.java:35) at jetbrains.mps.Launcher.main(Launcher.java:46) Caused by: java.lang.NullPointerException at com.intellij.ide.WindowsCommandLineProcessor.<clinit>(Unknown Source) ... 4 more I also tried to compile with Full stack trace support, but the information message doesn't get more than that. In this forum, I have found that people were asking in 2007 for support on getting the JetBrains IntelliJ IDE to compile with JET, and looking at the error message, I see that the JET-compiled version of MPS fails starting on a com.intellij.ide component (so it might be that I am doing something wrong, rather than a bug in the tooling). What I tried to do with JET is described below. Maybe you can give me a hint on what I am doing wrong? The options I used for JET, were all default. In step 1 (start) of jetcp, I had the following settings: * Application's working directory: ${MPS_HOME}/bin (where ${MPS_HOME} is the directory where MPS is installed/unpacked, usually ending in "MPS 3.1" (for the newest version for Linux, unpacked from tarball). * Command line: java -cp ../lib/branding.jar:../lib/mps-boot.jar:../lib/boot.jar:../lib/bootstrap.jar:../lib/util.jar:../lib/jdom.jar:../lib/log4j.jar:../lib/extensions.jar:../lib/trove4j.jar -client -Xss1024k -ea -Xmx2048m -XX:MaxPermSize=350m -XX:NewSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Dfile.encoding=UTF-8 -Dapple.awt.graphics.UseQuartz=true -Didea.paths.selector=MPS31 -Djb.restart.code=88 jetbrains.mps.Launcher MPS itself can be obtained from: https://www.jetbrains.com/mps/download/ Thanks a lot in advance for any hints/tips!