forked from eclipse-jdtls/eclipse.jdt.ls
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add initial debug plugin (eclipse-jdtls#1)
* add initial debug plugin * add debug project in language server product * add copyright, remove startup class.
- Loading branch information
Showing
8 changed files
with
139 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
**/node_modules/ | ||
.DS_Store | ||
.idea | ||
target/ | ||
bin/ | ||
**/lib/ |
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,13 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Java | ||
Bundle-SymbolicName: org.eclipse.jdt.ls.debug;singleton:=true | ||
Bundle-Version: 0.1.0.qualifier | ||
Bundle-Activator: org.eclipse.jdt.ls.debug.internal.JavaDebuggerServerPlugin | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Import-Package: org.osgi.framework;version="1.3.0" | ||
Bundle-ActivationPolicy: lazy | ||
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.12.0", | ||
org.eclipse.debug.core;bundle-version="3.11.0", | ||
org.eclipse.ui;bundle-version="3.109.0" | ||
Export-Package: org.eclipse.jdt.ls.debug.internal;x-friends:="org.eclipse.jdt.ls.tests" |
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,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<lifecycleMappingMetadata> | ||
<pluginExecutions> | ||
<pluginExecution> | ||
<!-- build-helper-maven-plugin mapping mostly copied from | ||
https://github.com/mojohaus/build-helper-maven-plugin/blob/33355c039d3fc4aa4ca43a895834d5b4085baf5b/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml | ||
--> | ||
<pluginExecutionFilter> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<versionRange>[1.0, 3.0.0)</versionRange> | ||
<goals> | ||
<goal>add-resource</goal> | ||
<goal>add-source</goal> | ||
<goal>add-test-resource</goal> | ||
<goal>add-test-source</goal> | ||
<goal>bsh-property</goal> | ||
<goal>cpu-count</goal> | ||
<goal>local-ip</goal> | ||
<goal>maven-version</goal> | ||
<goal>parse-version</goal> | ||
<goal>regex-properties</goal> | ||
<goal>regex-property</goal> | ||
<goal>released-version</goal> | ||
<goal>reserve-network-port</goal> | ||
<goal>timestamp-property</goal> | ||
<goal>uptodate-properties</goal> | ||
<goal>uptodate-property</goal> | ||
</goals> | ||
</pluginExecutionFilter> | ||
<action> | ||
<execute> | ||
<runOnIncremental>true</runOnIncremental> | ||
<runOnConfiguration>true</runOnConfiguration> | ||
</execute> | ||
</action> | ||
</pluginExecution> | ||
<pluginExecution> | ||
<pluginExecutionFilter> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<versionRange>[1.0, 3.0.0)</versionRange> | ||
<goals> | ||
<goal>attach-artifact</goal> | ||
<goal>remove-project-artifact</goal> | ||
</goals> | ||
</pluginExecutionFilter> | ||
<action> | ||
<execute> | ||
<runOnIncremental>false</runOnIncremental> | ||
<runOnConfiguration>false</runOnConfiguration> | ||
</execute> | ||
</action> | ||
</pluginExecution> | ||
</pluginExecutions> | ||
</lifecycleMappingMetadata> |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse version="3.4"?> | ||
<plugin> | ||
<extension | ||
point="org.eclipse.m2e.core.lifecycleMappingMetadataSource"> | ||
</extension> | ||
</plugin> |
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,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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.jdt.ls</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>org.eclipse.jdt.ls.debug</artifactId> | ||
<packaging>eclipse-plugin</packaging> | ||
<name>${base.name} :: Debug</name> | ||
<properties> | ||
<lsp4j.version>0.2.0-SNAPSHOT</lsp4j.version> | ||
</properties> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<configuration> | ||
<artifactItems> | ||
</artifactItems> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
28 changes: 28 additions & 0 deletions
28
org.eclipse.jdt.ls.debug/src/org/eclipse/jdt/ls/debug/internal/JavaDebuggerServerPlugin.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,28 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2017 Microsoft Corporation and others. | ||
* 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: | ||
* Microsoft Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
|
||
package org.eclipse.jdt.ls.debug.internal; | ||
|
||
import org.osgi.framework.BundleActivator; | ||
import org.osgi.framework.BundleContext; | ||
|
||
public class JavaDebuggerServerPlugin implements BundleActivator { | ||
|
||
@Override | ||
public void start(BundleContext context) throws Exception { | ||
|
||
} | ||
|
||
@Override | ||
public void stop(BundleContext context) throws Exception { | ||
|
||
} | ||
} |
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