Skip to content

Commit

Permalink
Merge pull request #739 from JetBrains/merge/mps20222
Browse files Browse the repository at this point in the history
Merge maintenance/mps20222 into maintenance/mps20223
  • Loading branch information
alexanderpann authored Jan 16, 2024
2 parents b50f0de + 1c2adaa commit be3e6c7
Show file tree
Hide file tree
Showing 47 changed files with 3,800 additions and 2,494 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project are documented in this file.
Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month.

## January 2024

### Fixed

- com.mbeddr.mpsutil.modellisteners: The newly supported interface listeners are now backward compatible and doesn't require regenerating the listener aspects anymore.

### Changed

- de.itemis.editor.diagram: The ELK dependencies were updated to the latest version.
- de.itemis.mps.debug: The editor debug expressions were moved to a new plugin to avoid introducing a dependency to the MPS console in the celllayout language.

## December 2023

### Fixed
Expand Down
54 changes: 50 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import java.time.LocalDateTime


wrapper {
gradleVersion '7.4.1'
gradleVersion '8.5'
distributionType 'all'
}

Expand Down Expand Up @@ -174,15 +174,44 @@ task copyModelApi() {

// -----------------------------------------

// Ant support

configurations {
ant_lib
diagram_lib
}

dependencies {
ant_lib "org.apache.ant:ant-junit:1.10.9"

def elkVersion = "0.9.0"
diagram_lib ("org.eclipse.elk:org.eclipse.elk.alg.common:$elkVersion") {
transitive = false
}
diagram_lib ("org.eclipse.elk:org.eclipse.elk.alg.layered:$elkVersion") {
transitive = false
}
diagram_lib ("org.eclipse.elk:org.eclipse.elk.alg.mrtree:$elkVersion") {
transitive = false
}
diagram_lib ("org.eclipse.elk:org.eclipse.elk.core:$elkVersion") {
transitive = false
}
diagram_lib ("org.eclipse.elk:org.eclipse.elk.graph:$elkVersion") {
transitive = false
}
diagram_lib ("org.eclipse.emf:org.eclipse.emf.common:2.29.0") {
transitive = false
}
diagram_lib ("org.eclipse.emf:org.eclipse.emf.ecore:2.35.0") {
transitive = false
}
diagram_lib ("org.eclipse.emf:org.eclipse.emf.ecore.xmi:2.36.0") {
transitive = false
}
}

configurations.diagram_lib.attributes.attribute(Attribute.of('org.gradle.jvm.environment', String), 'standard-jvm')

ext.buildScriptClasspath = project.configurations.ant_lib.fileCollection({
true
})
Expand Down Expand Up @@ -226,10 +255,27 @@ afterEvaluate {
ext["itemis.mps.gradle.ant.defaultScriptArgs"] = defaultScriptArgs
ext["itemis.mps.gradle.ant.defaultScriptClasspath"] = buildScriptClasspath

task resolved_diagram_dependencies(type: Copy) {
from configurations.diagram_lib
into file('code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/lib')

// Strip version numbers from file names
rename { filename ->
def ra = configurations.diagram_lib.resolvedConfiguration.resolvedArtifacts.find { ResolvedArtifact ra -> ra.file.name == filename }
String finalName
if (ra.classifier != null) {
finalName = "${ra.name}-${ra.classifier}.${ra.extension}"
} else {
finalName = "${ra.name}.${ra.extension}"
}
return finalName
}
}

task build_allScripts(type: BuildLanguages, dependsOn: [
'downloadJbr',
resolveMps,
resolved_diagram_dependencies,
copyModelApi,
]) {
script "$rootDir/scripts/build.xml"
Expand Down Expand Up @@ -284,13 +330,13 @@ dependencies {
}

task packageAllScripts(type: Zip, dependsOn: run_tests) {
baseName 'de.itemis.mps.extensions.allScripts'
archiveBaseName = 'de.itemis.mps.extensions.allScripts'
from artifactsDir
include 'de.itemis.mps.extensions.allScripts/**'
}

task packageExtensions(type: Zip, dependsOn: run_tests) {
baseName 'de.itemis.mps.extensions'
archiveBaseName = 'de.itemis.mps.extensions'
from artifactsDir
include 'de.itemis.mps.extensions/**'
}
Expand Down
2 changes: 2 additions & 0 deletions code/.mps/modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<modulePath path="$PROJECT_DIR$/conditional-editor/languages/de.slisson.mps.conditionalEditor/de.slisson.mps.conditionalEditor.mpl" folder="conditional-editor" />
<modulePath path="$PROJECT_DIR$/conditional-editor/solutions/de.slisson.mps.conditionalEditor.runtime/de.slisson.mps.conditionalEditor.runtime.msd" folder="conditional-editor" />
<modulePath path="$PROJECT_DIR$/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/de.slisson.mps.conditionalEditor.sandbox.msd" folder="conditional-editor" />
<modulePath path="$PROJECT_DIR$/debug/languages/de.itemis.mps.debug/de.itemis.mps.debug.mpl" folder="debug" />
<modulePath path="$PROJECT_DIR$/debug/solutions/de.itemis.mps.debug.runtime/de.itemis.mps.debug.runtime.msd" folder="debug" />
<modulePath path="$PROJECT_DIR$/devkits/de.q60.mps.genplan.virutalinterfaces_incremental.devkit/de.q60.mps.genplan.virutalinterfaces_incremental.devkit.devkit" folder="shadowmodels.examples.interpreter" />
<modulePath path="$PROJECT_DIR$/devkits/de.q60.mps.incremental.devkit/de.q60.mps.incremental.devkit.devkit" folder="shadowmodels.incremental" />
<modulePath path="$PROJECT_DIR$/diagram/devkits/de.itemis.mps.editor.diagram.devkit.devkit" folder="diagram" />
Expand Down
Loading

0 comments on commit be3e6c7

Please sign in to comment.