Skip to content

Commit

Permalink
Merge pull request #38 from MetaBorgCube/release/0.8.0
Browse files Browse the repository at this point in the history
Release/0.8.0
  • Loading branch information
dcharkes authored Nov 13, 2017
2 parents f998385 + 5c55154 commit e2e3c9b
Show file tree
Hide file tree
Showing 121 changed files with 3,452 additions and 458 deletions.
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<extension>
<groupId>org.metaborg</groupId>
<artifactId>spoofax-maven-plugin-pomless</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</extension>
</extensions>
2 changes: 1 addition & 1 deletion .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-Xmx512m
-Xmx2G -Xss16m
2 changes: 1 addition & 1 deletion .mvn/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</repository>
<repository>
<id>spoofax-eclipse-repo</id>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.0/org.metaborg.spoofax.eclipse.updatesite-2.2.0-assembly.zip-unzip/</url>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.3.0/org.metaborg.spoofax.eclipse.updatesite-2.3.0-assembly.zip-unzip/</url>
<layout>p2</layout>
<releases>
<enabled>false</enabled>
Expand Down
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
properties([
//pipelineTriggers([
// upstream(
// threshold: hudson.model.Result.SUCCESS,
// upstreamProjects: '/metaborg/spoofax-releng/master'
// )
//]),
// pipelineTriggers([
// upstream(
// threshold: hudson.model.Result.SUCCESS,
// upstreamProjects: '/metaborg/spoofax-releng/master'
// )
// ]),
buildDiscarder(logRotator(artifactNumToKeepStr: '3')),
disableConcurrentBuilds()
])
Expand Down
4 changes: 2 additions & 2 deletions change_to_spoofax_nightly.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://tinyurl.com/spoofax-eclipse-2-1-0" search . | xargs sed -i "" "s/http:\/\/tinyurl.com\/spoofax-eclipse-2-1-0/http:\/\/download.spoofax.org\/update\/nightly\//g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.1.0" search . | xargs sed -i "" "s/2.1.0/2.2.0-SNAPSHOT/g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.0/org.metaborg.spoofax.eclipse.updatesite-2.2.0-assembly.zip-unzip/" search . | xargs sed -i "" "s_http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.0/org.metaborg.spoofax.eclipse.updatesite-2.2.0-assembly.zip-unzip/_http://buildfarm.metaborg.org/job/metaborg/job/spoofax-releng/job/master/lastSuccessfulBuild/artifact/dist/spoofax/eclipse/site/_g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.2.0" search . | xargs sed -i "" "s/2.2.0/2.3.0-SNAPSHOT/g"
4 changes: 2 additions & 2 deletions change_to_spoofax_stable.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://download.spoofax.org/update/nightly/" search . | xargs sed -i "" "s_http://download.spoofax.org/update/nightly/_http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.0/org.metaborg.spoofax.eclipse.updatesite-2.2.0-assembly.zip-unzip/_g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.2.0-SNAPSHOT" search . | xargs sed -i "" "s_2.2.0-SNAPSHOT_2.2.0_g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "http://buildfarm.metaborg.org/job/metaborg/job/spoofax-releng/job/master/lastSuccessfulBuild/artifact/dist/spoofax/eclipse/site/" search . | xargs sed -i "" "s_http://buildfarm.metaborg.org/job/metaborg/job/spoofax-releng/job/master/lastSuccessfulBuild/artifact/dist/spoofax/eclipse/site/_http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.3.0/org.metaborg.spoofax.eclipse.updatesite-2.3.0-assembly.zip-unzip/_g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml} "2.3.0-SNAPSHOT" search . | xargs sed -i "" "s_2.3.0-SNAPSHOT_2.3.0_g"
4 changes: 2 additions & 2 deletions change_version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROMVERSION=0.6.3
TOVERSION=0.7.1
FROMVERSION=0.7.1
TOVERSION=0.7.2

grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}(.qualifier|-SNAPSHOT)" * | xargs sed -i "" "s/${FROMVERSION}/${TOVERSION}/g"
4 changes: 2 additions & 2 deletions change_version_to_stable.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROMVERSION=0.7.1
TOVERSION=0.7.1
FROMVERSION=0.7.2
TOVERSION=0.8.0

grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}.qualifier" * | xargs sed -i "" "s/${FROMVERSION}.qualifier/${TOVERSION}/g"
grep -rEl --exclude=*/target/* --exclude=*/src-gen/* --include=*.{yaml,xml,MF} "${FROMVERSION}-SNAPSHOT" * | xargs sed -i "" "s/${FROMVERSION}-SNAPSHOT/${TOVERSION}/g"
4 changes: 2 additions & 2 deletions icedust.eclipse.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<feature
id="icedust.eclipse.feature"
label="icedust language Eclipse plugin"
version="0.7.1"
version="0.8.0"
>
<plugin id="icedust.eclipse" version="0.7.1" unpack="true" />
<plugin id="icedust.eclipse" version="0.8.0" unpack="true" />
<includes id="org.metaborg.spoofax.eclipse.feature" version="0" />
</feature>
6 changes: 3 additions & 3 deletions icedust.eclipse.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.metaborg.lang</groupId>
<artifactId>icedust.eclipse.feature</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
<packaging>eclipse-feature</packaging>

<parent>
<groupId>org.metaborg</groupId>
<artifactId>parent.eclipse.plugin</artifactId>
<version>2.2.1</version>
<version>2.3.0</version>
<relativePath />
</parent>

Expand All @@ -39,7 +39,7 @@
</repository>
<repository>
<id>spoofax-eclipse-repo</id>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.1/org.metaborg.spoofax.eclipse.updatesite-2.2.1-assembly.zip-unzip/</url>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.3.0/org.metaborg.spoofax.eclipse.updatesite-2.3.0-assembly.zip-unzip/</url>
<layout>p2</layout>
<releases>
<enabled>false</enabled>
Expand Down
6 changes: 3 additions & 3 deletions icedust.eclipse.site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.metaborg.lang</groupId>
<artifactId>icedust.eclipse.site</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
<packaging>eclipse-update-site</packaging>

<parent>
<groupId>org.metaborg</groupId>
<artifactId>parent.eclipse.plugin</artifactId>
<version>2.2.1</version>
<version>2.3.0</version>
<relativePath />
</parent>

Expand All @@ -39,7 +39,7 @@
</repository>
<repository>
<id>spoofax-eclipse-repo</id>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.1/org.metaborg.spoofax.eclipse.updatesite-2.2.1-assembly.zip-unzip/</url>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.3.0/org.metaborg.spoofax.eclipse.updatesite-2.3.0-assembly.zip-unzip/</url>
<layout>p2</layout>
<releases>
<enabled>false</enabled>
Expand Down
2 changes: 1 addition & 1 deletion icedust.eclipse.site/site.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/icedust.eclipse.feature_0.7.1.jar" id="icedust.eclipse.feature" version="0.7.1">
<feature url="features/icedust.eclipse.feature_0.8.0.jar" id="icedust.eclipse.feature" version="0.8.0">
<category name="icedust"/>
</feature>
<category-def name="icedust" label="icedust language Eclipse plugin">
Expand Down
2 changes: 1 addition & 1 deletion icedust.eclipse/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: icedust language Eclipse plugin
Bundle-SymbolicName: icedust.eclipse;singleton:=true
Bundle-Version: 0.7.1
Bundle-Version: 0.8.0
Bundle-Vendor: org.metaborg.lang
Bundle-ActivationPolicy: lazy
Require-Bundle: org.metaborg.spoofax.eclipse
Expand Down
6 changes: 3 additions & 3 deletions icedust.eclipse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.metaborg.lang</groupId>
<artifactId>icedust.eclipse</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
<packaging>eclipse-plugin</packaging>

<parent>
<groupId>org.metaborg</groupId>
<artifactId>parent.eclipse.language</artifactId>
<version>2.2.1</version>
<version>2.3.0</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -66,7 +66,7 @@
</repository>
<repository>
<id>spoofax-eclipse-repo</id>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.2.1/org.metaborg.spoofax.eclipse.updatesite-2.2.1-assembly.zip-unzip/</url>
<url>http://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/org.metaborg.spoofax.eclipse.updatesite/2.3.0/org.metaborg.spoofax.eclipse.updatesite-2.3.0-assembly.zip-unzip/</url>
<layout>p2</layout>
<releases>
<enabled>false</enabled>
Expand Down
7 changes: 5 additions & 2 deletions icedust.example.webdsl/icedustWebDSL2.ice
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ config
backend : WebDSL
ui : Model Explorer

functions

countTrue(bs : Boolean *) : Int 1 = bs.filter(b=>b).count()

model

entity Student {
name : String

passedCourses : Int = sum(enrollments.pass2)
passedCourses : Int = countTrue(enrollments.pass)
}

entity Course (eventual) {
Expand All @@ -39,7 +43,6 @@ model

grade : Float? = submission.grade
pass : Boolean = submission.pass <+ false
pass2 : Int = pass ? 1 : 0
}

relation Course.enrollments * <-> 1 Enrollment.course
Expand Down
Loading

0 comments on commit e2e3c9b

Please sign in to comment.