commands = new ArrayList<>();
+ commands.add(NodeJSManager.getNodeJsLocation().getAbsolutePath());
+ try
+ {
+ final var url = FileLocator
+ .toFileURL(getClass().getResource("/node_modules/xsmp-modeler/out/language/main.js"));
+ commands.add(new java.io.File(url.getPath()).getAbsolutePath());
+ commands.add("--stdio");
+ setCommands(commands);
+ setWorkingDirectory(System.getProperty("user.dir"));
+ }
+ catch (final IOException e)
+ {
+ Activator.getDefault().getLog().log(new Status(IStatus.ERROR,
+ Activator.getDefault().getBundle().getSymbolicName(), e.getMessage(), e));
+ }
+ }
+
+ @Override
+ public Object getInitializationOptions(URI rootUri)
+ {
+ return Collections.singletonMap("provideFormatter", true);
+ }
+
+}
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..a4a75ad
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,229 @@
+
+ 4.0.0
+ pom
+
+ org.eclipse.xsmp
+ org.eclipse.xsmp.parent
+ 1.0.1-SNAPSHOT
+
+
+ 4.0.8
+ UTF-8
+ 17
+ 17
+
+
+ org.eclipse.xsmp
+ releng/target-platform
+ releng/feature
+ releng/repository
+
+
+
+
+ org.eclipse.tycho
+ tycho-maven-plugin
+ ${tycho-version}
+ true
+
+
+ org.eclipse.tycho
+ tycho-source-plugin
+ ${tycho-version}
+
+
+ plugin-source
+
+ plugin-source
+
+
+
+
+
+ org.eclipse.tycho
+ tycho-p2-plugin
+ ${tycho-version}
+
+
+ attach-p2-metadata
+ package
+
+ p2-metadata
+
+
+
+
+
+ org.eclipse.tycho
+ target-platform-configuration
+ ${tycho-version}
+
+ JavaSE-17
+
+
+ org.eclipse.xsmp
+ org.eclipse.xsmp.target
+ ${project.version}
+
+
+
+
+ macosx
+ cocoa
+ x86_64
+
+
+ macosx
+ cocoa
+ aarch64
+
+
+ win32
+ win32
+ x86_64
+
+
+ linux
+ gtk
+ x86_64
+
+
+
+
+
+ maven-deploy-plugin
+
+
+
+
+
+ org.eclipse.tycho
+ tycho-compiler-plugin
+ ${tycho-version}
+
+ -err:-forbidden
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+
+ org.apache.maven.plugins
+ maven-clean-plugin
+ 3.2.0
+
+
+
+ ${project.basedir}/target
+
+
+
+
+
+ org.eclipse.tycho
+ tycho-p2-plugin
+ ${tycho-version}
+
+ true
+
+
+
+ https://download.eclipse.org/wildwebdeveloper/snapshots/
+
+
+
+ META-INF/ECLIPSE_.RSA
+ META-INF/ECLIPSE_.SF
+
+
+
+
+ com.googlecode.maven-download-plugin
+ download-maven-plugin
+ 1.6.8
+
+
+
+
+
+
+ release
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9.1
+
+ true
+ true
+ UTF-8
+ UTF-8
+ UTF-8
+ -Xdoclint:none
+ false
+
+
+
+ package
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.6
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
+
+
+
+
+
+
+
+ Xsmp Eclipse Plugin
+ Provides Xsmp language server for LSP4E.
+ https://github.com/ydaveluy/xsmp-modeler-eclipse
+
+
+ MIT License
+ https://www.opensource.org/licenses/mit-license.php
+
+
+
+ scm:git:git://github.com/ydaveluy/xsmp-modeler-eclipse.git
+
+ scm:git:ssh://github.com/ydaveluy/xsmp-modeler-eclipse.git
+ https://github.com/ydaveluy/xsmp-modeler-eclipse
+
+
+
+ OSSRH
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ OSSRH
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
\ No newline at end of file
diff --git a/releng/feature/build.properties b/releng/feature/build.properties
new file mode 100644
index 0000000..b045d39
--- /dev/null
+++ b/releng/feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml
\ No newline at end of file
diff --git a/releng/feature/feature.xml b/releng/feature/feature.xml
new file mode 100644
index 0000000..a724005
--- /dev/null
+++ b/releng/feature/feature.xml
@@ -0,0 +1,16 @@
+
+
+
+
+ Editor for the Xsmp Language.
+
+
+
+
+
diff --git a/releng/feature/pom.xml b/releng/feature/pom.xml
new file mode 100644
index 0000000..ef2ec63
--- /dev/null
+++ b/releng/feature/pom.xml
@@ -0,0 +1,35 @@
+
+
+ 4.0.0
+
+ org.eclipse.xsmp
+ org.eclipse.xsmp.parent
+ 1.0.1-SNAPSHOT
+ ../../pom.xml
+
+
+ org.eclipse.xsmp.feature
+ eclipse-feature
+
+
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 2.5.2
+
+
+ default-install
+ none
+
+
+
+
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/releng/repository/.project b/releng/repository/.project
new file mode 100644
index 0000000..4bcf987
--- /dev/null
+++ b/releng/repository/.project
@@ -0,0 +1,11 @@
+
+
+ repository
+
+
+
+
+
+
+
+
diff --git a/releng/repository/category.xml b/releng/repository/category.xml
new file mode 100644
index 0000000..c4ba5fa
--- /dev/null
+++ b/releng/repository/category.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/releng/repository/pom.xml b/releng/repository/pom.xml
new file mode 100644
index 0000000..8104902
--- /dev/null
+++ b/releng/repository/pom.xml
@@ -0,0 +1,44 @@
+
+
+ 4.0.0
+
+ org.eclipse.xsmp
+ org.eclipse.xsmp.parent
+ 1.0.1-SNAPSHOT
+ ../../pom.xml
+
+
+ org.eclipse.xsmp.repository
+ eclipse-repository
+
+
+
+
+ org.eclipse.tycho
+ tycho-p2-repository-plugin
+ ${tycho-version}
+
+ false
+
+
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 2.5.2
+
+
+ default-install
+ none
+
+
+
+
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/releng/repository/repo-index.html b/releng/repository/repo-index.html
new file mode 100644
index 0000000..8bd2a17
--- /dev/null
+++ b/releng/repository/repo-index.html
@@ -0,0 +1,11 @@
+
+
+
+Xsmp Repository
+
+
+
+This is a p2 repository for the Xsmp Eclipse Plug-In.
+Point your p2 repository manager to this location.
+
+
\ No newline at end of file
diff --git a/releng/target-platform/.project b/releng/target-platform/.project
new file mode 100644
index 0000000..cedbacf
--- /dev/null
+++ b/releng/target-platform/.project
@@ -0,0 +1,11 @@
+
+
+ target-platform
+
+
+
+
+
+
+
+
diff --git a/releng/target-platform/org.eclipse.xsmp.target b/releng/target-platform/org.eclipse.xsmp.target
new file mode 100644
index 0000000..28f6e7b
--- /dev/null
+++ b/releng/target-platform/org.eclipse.xsmp.target
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/releng/target-platform/pom.xml b/releng/target-platform/pom.xml
new file mode 100644
index 0000000..7ba80a4
--- /dev/null
+++ b/releng/target-platform/pom.xml
@@ -0,0 +1,26 @@
+
+ 4.0.0
+
+
+ org.eclipse.xsmp
+ org.eclipse.xsmp.parent
+ 1.0.1-SNAPSHOT
+ ../../pom.xml
+
+
+ org.eclipse.xsmp.target
+
+
+ eclipse-target-definition
+
+
+
+
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
\ No newline at end of file