Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
/ mps-libs-java8 Public archive

Build Java 8-compatible runtime libraries from MPS so that generated code that depends on them can run on JVM 8

Notifications You must be signed in to change notification settings

mbeddr/mps-libs-java8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPS Libraries for Java 8

MPS uses Java 11 since version 2019.2 and all the JARs are compiled with Java 11 as the target, including libraries that can be used by the generated code, such as collections and closures runtimes.

This makes it impossible to run the generated code under Java 8 VM anymore.

The solution is to build these libraries to be Java 8-compatible and this is what this project does.

Checking out

git clone [email protected]:mbeddr/mps-libs-java8.git --recurse-submodules --shallow-submodules

Or if you already cloned it without submodules:

git submodule update --init --depth 1

The shallow/depth parameters tell Git to skip cloning the decades of MPS history and only get the one required commit.

Building

Build using Maven (mvn package or mvn install or mvn deploy depending on your needs).

For Maintainers: Updating to a New Version of MPS

VVVV below is the new MPS version.

  1. Update Maven version:

    mvn versions:set -DnewVersion=VVVV
  2. Update the MPS submodule to the new version:

    cd MPS
    git fetch --depth 1 origin tag VVVV
    git checkout VVVV

About

Build Java 8-compatible runtime libraries from MPS so that generated code that depends on them can run on JVM 8

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published