Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 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: 21
- name: Build
run: scripts/greetings-gradle-J21-2.43.sh
run: scripts/greetings-gradle-J21-2.44.sh
build_Maven_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
distribution: 'temurin'
java-version: 21
- name: Build
run: scripts/greetings-maven-J21-2.43.sh
run: scripts/greetings-maven-J21-2.44.sh
build_tycho_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +44,7 @@ jobs:
with:
maven-version: 3.9.13
- name: Build
run: xvfb-run scripts/greetings-tycho-J21-2.43.sh
run: xvfb-run scripts/greetings-tycho-J21-2.44.sh
build_tycho_J21_tycho_50x:
runs-on: ubuntu-latest
steps:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Build
env:
EXTRA_ARGS : "-Dtycho-version=5.0.3-SNAPSHOT -Ptycho_snapshots"
run: xvfb-run scripts/greetings-tycho-J21-2.43.sh
run: xvfb-run scripts/greetings-tycho-J21-2.44.sh
build_Gradle_J25:
runs-on: ubuntu-latest
steps:
Expand All @@ -72,7 +72,7 @@ jobs:
distribution: 'temurin'
java-version: 25
- name: Build
run: scripts/greetings-gradle-J25-2.43.sh
run: scripts/greetings-gradle-J25-2.44.sh
build_Maven_J25:
runs-on: ubuntu-latest
steps:
Expand All @@ -83,7 +83,7 @@ jobs:
distribution: 'temurin'
java-version: 25
- name: Build
run: scripts/greetings-maven-J25-2.43.sh
run: scripts/greetings-maven-J25-2.44.sh
build_tycho_J25:
runs-on: ubuntu-latest
steps:
Expand All @@ -98,7 +98,7 @@ jobs:
with:
maven-version: 3.9.13
- name: Build
run: xvfb-run scripts/greetings-tycho-J25-2.43.sh
run: xvfb-run scripts/greetings-tycho-J25-2.44.sh
build_domain_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -113,7 +113,7 @@ jobs:
with:
maven-version: 3.9.13
- name: Build
run: xvfb-run scripts/domainmodel-2.43.sh
run: xvfb-run scripts/domainmodel-2.44.sh
build_domain_J25:
runs-on: ubuntu-latest
steps:
Expand All @@ -128,7 +128,7 @@ jobs:
with:
maven-version: 3.9.13
- name: Build
run: xvfb-run scripts/domainmodel-2.43.sh
run: xvfb-run scripts/domainmodel-2.44.sh
build_domain_tycho_50x_J21:
runs-on: ubuntu-latest
steps:
Expand All @@ -145,4 +145,4 @@ jobs:
- name: Build
env:
EXTRA_ARGS : "-Dtycho-version=5.0.3-SNAPSHOT -Ptycho_snapshots"
run: xvfb-run scripts/domainmodel-2.43.sh
run: xvfb-run scripts/domainmodel-2.44.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-21"/>
<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=21
org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=21
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.44.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-21
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.44.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.44.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.xtext</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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Copyright (c) 2011, 2019 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.xtext.example.domainmodel.ide;


/**
* Use this class to register ide components.
*/
public class DomainmodelIdeModule extends AbstractDomainmodelIdeModule {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2011, 2019 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.xtext.example.domainmodel.ide;

import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.xtext.example.domainmodel.DomainmodelRuntimeModule;
import org.eclipse.xtext.example.domainmodel.DomainmodelStandaloneSetup;
import org.eclipse.xtext.util.Modules2;

/**
* Initialization support for running Xtext languages as language servers.
*/
public class DomainmodelIdeSetup extends DomainmodelStandaloneSetup {

@Override
public Injector createInjector() {
return Guice.createInjector(Modules2.mixin(new DomainmodelRuntimeModule(), new DomainmodelIdeModule()));
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.xtext.example.domainmodel.releng</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
</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,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
<stringAttribute key="M2_GOALS" value="clean package"/>
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
<booleanAttribute key="M2_OFFLINE" value="false"/>
<stringAttribute key="M2_PROFILES" value=""/>
<listAttribute key="M2_PROPERTIES"/>
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
<intAttribute key="M2_THREADS" value="1"/>
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
<stringAttribute key="M2_USER_SETTINGS" value=""/>
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/org.eclipse.xtext.example.domainmodel.releng}"/>
</launchConfiguration>
Loading