Skip to content

Commit

Permalink
prepare 2.38 examples
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <[email protected]>
  • Loading branch information
cdietrich committed Nov 27, 2024
1 parent c39c930 commit 7870a61
Show file tree
Hide file tree
Showing 236 changed files with 11,712 additions and 135 deletions.
81 changes: 13 additions & 68 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
distribution: 'temurin'
java-version: 17
- name: Build
run: scripts/greetings-gradle-2.37.sh
run: scripts/greetings-gradle-2.38.sh
build_Gralde_J17_on_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build
run: scripts/greetings-gradle-2.37.sh
run: scripts/greetings-gradle-2.38.sh
build_Gralde_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,29 +40,7 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build
run: scripts/greetings-gradle-J21-2.37.sh
build_Gralde_J11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Build
run: scripts/greetings-gradle-J11-2.37.sh
build_Gralde_J11_on_J17:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Build
run: scripts/greetings-gradle-J11-2.37.sh
run: scripts/greetings-gradle-J21-2.38.sh
build_Maven_J17:
runs-on: ubuntu-latest
steps:
Expand All @@ -73,7 +51,7 @@ jobs:
distribution: 'temurin'
java-version: 17
- name: Build
run: scripts/greetings-maven-2.37.sh
run: scripts/greetings-maven-2.38.sh
build_Maven_J17_on_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -84,7 +62,7 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build
run: scripts/greetings-maven-2.37.sh
run: scripts/greetings-maven-2.38.sh
build_Maven_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -95,29 +73,7 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build
run: scripts/greetings-maven-J21-2.37.sh
build_Maven_J11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Build
run: scripts/greetings-maven-J11-2.37.sh
build_Maven_J11_on_J17:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Build
run: scripts/greetings-maven-J11-2.37.sh
run: scripts/greetings-maven-J21-2.38.sh
build_tycho_J17:
runs-on: ubuntu-latest
steps:
Expand All @@ -132,7 +88,7 @@ jobs:
with:
maven-version: 3.9.1
- name: Build
run: xvfb-run scripts/greetings-tycho-2.37.sh
run: xvfb-run scripts/greetings-tycho-2.38.sh
build_tycho_J17_on_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -147,7 +103,7 @@ jobs:
with:
maven-version: 3.9.1
- name: Build
run: xvfb-run scripts/greetings-tycho-2.37.sh
run: xvfb-run scripts/greetings-tycho-2.38.sh
build_tycho_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -162,18 +118,7 @@ jobs:
with:
maven-version: 3.9.1
- name: Build
run: xvfb-run scripts/greetings-tycho-J21-2.37.sh
build_tycho_J11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
- name: Build
run: xvfb-run scripts/greetings-tycho-J11-2.37.sh
run: xvfb-run scripts/greetings-tycho-J21-2.38.sh
build_tycho_J17_tycho_50:
runs-on: ubuntu-latest
steps:
Expand All @@ -190,7 +135,7 @@ jobs:
- name: Build
env:
EXTRA_ARGS : "-Dtycho-version=5.0.0-SNAPSHOT -Ptycho_snapshots"
run: xvfb-run scripts/greetings-tycho-2.37.sh
run: xvfb-run scripts/greetings-tycho-2.38.sh
build_domain:
runs-on: ubuntu-latest
steps:
Expand All @@ -205,7 +150,7 @@ jobs:
with:
maven-version: 3.9.1
- name: Build
run: xvfb-run scripts/domainmodel-2.37.sh
run: xvfb-run scripts/domainmodel-2.38.sh
build_domain_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -220,7 +165,7 @@ jobs:
with:
maven-version: 3.9.1
- name: Build
run: xvfb-run scripts/domainmodel-2.37.sh
run: xvfb-run scripts/domainmodel-2.38.sh
build_domain_tycho_50_J17:
runs-on: ubuntu-latest
steps:
Expand All @@ -237,4 +182,4 @@ jobs:
- name: Build
env:
EXTRA_ARGS : "-Dtycho-version=5.0.0-SNAPSHOT -Ptycho_snapshots"
run: xvfb-run scripts/domainmodel-2.37.sh
run: xvfb-run scripts/domainmodel-2.38.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.xtext.example.domainmodel.ide</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=17
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Xtext Domainmodel Example - Generic IDE
Bundle-Vendor: Eclipse Xtext
Bundle-Version: 2.37.0.qualifier
Bundle-SymbolicName: org.eclipse.xtext.example.domainmodel.ide; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.antlr.runtime;bundle-version="[3.2.0,3.2.1)",
org.eclipse.xtext.example.domainmodel,
org.eclipse.xtext.ide,
org.eclipse.xtext.xbase.ide
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package: org.eclipse.xtext.example.domainmodel.ide;x-internal:=true,
org.eclipse.xtext.example.domainmodel.ide.contentassist.antlr,
org.eclipse.xtext.example.domainmodel.ide.contentassist.antlr.internal
Automatic-Module-Name: org.eclipse.xtext.example.domainmodel.ide
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source.. = src/,\
src-gen/
bin.includes = .,\
META-INF/
144 changes: 144 additions & 0 deletions domainmodel/2.38.0/org.eclipse.xtext.example.domainmodel.ide/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.xtext.example.domainmodel</groupId>
<artifactId>org.eclipse.xtext.example.domainmodel.parent</artifactId>
<version>2.37.0-SNAPSHOT</version>
<relativePath>../org.eclipse.xtext.example.domainmodel.releng</relativePath>
</parent>
<artifactId>org.eclipse.xtext.example.domainmodel.ide</artifactId>
<packaging>eclipse-plugin</packaging>

<dependencies>
<dependency>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>
icu4j,
commons-logging,
org.eclipse.core.commands,
org.eclipse.core.contenttype,
org.eclipse.core.expressions,
org.eclipse.core.filesystem,
org.eclipse.core.jobs,
org.eclipse.core.resources,
org.eclipse.core.runtime,
org.eclipse.core.variables,
org.eclipse.debug.core,
org.eclipse.emf.codegen.ecore,
org.eclipse.emf.codegen,
org.eclipse.emf.mwe.core,
org.eclipse.emf.mwe.utils,
org.eclipse.emf.mwe2.lib,
org.eclipse.emf.mwe2.runtime,
org.eclipse.equinox.app,
org.eclipse.equinox.preferences,
org.eclipse.equinox.registry,
org.eclipse.jdt.core,
org.eclipse.jdt.debug,
org.eclipse.jdt.launching,
org.eclipse.text
</excludeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.addjars-maven-plugin</groupId>
<artifactId>addjars-maven-plugin</artifactId>
<version>1.0.5</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>add-jars</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${project.build.directory}/libs</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>2.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>assemble</goal>
</goals>
<configuration>
<assembleDirectory>${project.build.directory}/languageserver</assembleDirectory>
<repositoryLayout>flat</repositoryLayout>
<useWildcardClassPath>true</useWildcardClassPath>
<!-- uncomment to enable remote debugging
<extraJvmArguments>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</extraJvmArguments>
-->
<programs>
<program>
<id>mydsl-ls</id>
<mainClass>org.eclipse.xtext.ide.server.ServerLauncher</mainClass>
<!-- uncomment to enable options
<commandLineArguments>
<commandLineArgument>-trace</commandLineArgument>
<commandLineArgument>-log</commandLineArgument>
<commandLineArgument>-noValidate</commandLineArgument>
</commandLineArguments>
-->
</program>
</programs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit 7870a61

Please sign in to comment.