-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
104 changed files
with
2,733 additions
and
1,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/.launch/ | ||
/.gradle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
connection.project.dir= | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
dependencies { | ||
classpath 'org.xtext:xtext-gradle-plugin:3.0.1' | ||
} | ||
} | ||
|
||
subprojects { | ||
ext.xtextVersion = '2.26.0' | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
apply plugin: 'java-library' | ||
dependencies { | ||
api platform("org.eclipse.xtext:xtext-dev-bom:${xtextVersion}") | ||
} | ||
|
||
apply plugin: 'org.xtext.xtend' | ||
apply from: "${rootDir}/gradle/source-layout.gradle" | ||
apply plugin: 'eclipse' | ||
|
||
group = 'com.minres.coredsl' | ||
version = '2.0.2-SNAPSHOT' | ||
|
||
sourceCompatibility = '11' | ||
targetCompatibility = '11' | ||
|
||
configurations.all { | ||
exclude group: 'asm' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="src-gen"/> | ||
<classpathentry kind="src" path="xtend-gen"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
<classpathentry kind="src" output="bin/main" path="src"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="bin/main" path="src-gen"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="bin/main" path="xtend-gen"> | ||
<attributes> | ||
<attribute name="gradle_scope" value="main"/> | ||
<attribute name="gradle_used_by_scope" value="main,test"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/> | ||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | ||
<classpathentry kind="output" path="bin/default"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
*.xtendbin | ||
/src-gen/ | ||
/xtend-gen/ | ||
/bin/ | ||
/build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/org.eclipse.xtend.core.Xtend.prefs | ||
/org.eclipse.xtext.java.Java.prefs |
8 changes: 8 additions & 0 deletions
8
com.minres.coredsl.ide/.settings/org.eclipse.buildship.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
connection.arguments= | ||
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) | ||
connection.gradle.user.home=null | ||
connection.java.home=null | ||
connection.jvm.arguments= | ||
connection.project.dir=.. | ||
eclipse.preferences.version=1 | ||
project.path=\:com.minres.coredsl.ide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
plugins { | ||
id 'com.github.johnrengelman.shadow' version '7.1.2' | ||
} | ||
|
||
dependencies { | ||
api project(':com.minres.coredsl') | ||
api "org.eclipse.xtext:org.eclipse.xtext.ide:${xtextVersion}" | ||
api "org.eclipse.xtext:org.eclipse.xtext.xbase.ide:${xtextVersion}" | ||
} | ||
|
||
apply plugin: 'application' | ||
apply plugin: 'com.github.johnrengelman.shadow' | ||
mainClassName = "org.eclipse.xtext.ide.server.ServerLauncher" | ||
|
||
shadowJar { | ||
from(project.convention.getPlugin(JavaPluginConvention).sourceSets.main.output) | ||
configurations = [project.configurations.runtimeClasspath] | ||
exclude('META-INF/INDEX.LIST', 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA','schema/*', | ||
'.options', '.api_description', '*.profile', '*.html', 'about.*', 'about_files/*', | ||
'plugin.xml', 'systembundle.properties', 'profile.list') | ||
classifier = 'ls' | ||
append('plugin.properties') | ||
mergeServiceFiles() | ||
} | ||
//this is an eclipse plugin project | ||
eclipseClasspath.enabled=false | ||
cleanEclipseClasspath.enabled=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
com.minres.coredsl.ide/src/com/minres/coredsl/ide/CoreDslIdeModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* generated by Xtext 2.26.0 | ||
*/ | ||
package com.minres.coredsl.ide; | ||
|
||
|
||
/** | ||
* Use this class to register ide components. | ||
*/ | ||
public class CoreDslIdeModule extends AbstractCoreDslIdeModule { | ||
} |
11 changes: 0 additions & 11 deletions
11
com.minres.coredsl.ide/src/com/minres/coredsl/ide/CoreDslIdeModule.xtend
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
com.minres.coredsl.ide/src/com/minres/coredsl/ide/CoreDslIdeSetup.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* generated by Xtext 2.26.0 | ||
*/ | ||
package com.minres.coredsl.ide; | ||
|
||
import com.google.inject.Guice; | ||
import com.google.inject.Injector; | ||
import com.minres.coredsl.CoreDslRuntimeModule; | ||
import com.minres.coredsl.CoreDslStandaloneSetup; | ||
import org.eclipse.xtext.util.Modules2; | ||
|
||
/** | ||
* Initialization support for running Xtext languages as language servers. | ||
*/ | ||
public class CoreDslIdeSetup extends CoreDslStandaloneSetup { | ||
|
||
@Override | ||
public Injector createInjector() { | ||
return Guice.createInjector(Modules2.mixin(new CoreDslRuntimeModule(), new CoreDslIdeModule())); | ||
} | ||
|
||
} |
20 changes: 0 additions & 20 deletions
20
com.minres.coredsl.ide/src/com/minres/coredsl/ide/CoreDslIdeSetup.xtend
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.