Skip to content

Commit

Permalink
migrate files and remove xtend nature from regex.ide
Browse files Browse the repository at this point in the history
  • Loading branch information
mmews committed Dec 14, 2023
1 parent ba80df3 commit 856c922
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 39 deletions.
1 change: 0 additions & 1 deletion plugins/org.eclipse.n4js.regex.ide/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="src" path="src-gen">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
Expand Down
3 changes: 1 addition & 2 deletions plugins/org.eclipse.n4js.regex.ide/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
source.. = src/,\
src-gen/,\
xtend-gen/
src-gen/
bin.includes = META-INF/,\
.
4 changes: 0 additions & 4 deletions plugins/org.eclipse.n4js.regex.ide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ Contributors:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
* Contributors:
* NumberFour AG - Initial API and implementation
*/
package org.eclipse.n4js.regex.ide

package org.eclipse.n4js.regex.ide;

/**
* Use this class to register ide components.
*/
class RegularExpressionIdeModule extends AbstractRegularExpressionIdeModule {
public class RegularExpressionIdeModule extends AbstractRegularExpressionIdeModule {
// empty
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright (c) 2017 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFour AG - Initial API and implementation
*/
package org.eclipse.n4js.regex.ide;

import org.eclipse.n4js.regex.RegularExpressionRuntimeModule;
import org.eclipse.n4js.regex.RegularExpressionStandaloneSetup;
import org.eclipse.xtext.util.Modules2;

import com.google.inject.Guice;
import com.google.inject.Injector;

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

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

}

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/org.eclipse.n4js.regex.ide/xtend-gen/.gitignore

This file was deleted.

0 comments on commit 856c922

Please sign in to comment.