Skip to content

Commit

Permalink
Merge pull request #3145 from eclipse/cd-eclipse-ls
Browse files Browse the repository at this point in the history
fix lsp + eclipse + tycho in wizard
  • Loading branch information
cdietrich authored Aug 11, 2024
2 parents 3952e5a + d679bf8 commit 7a17f87
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/*.java</exclude>
<exclude>META-INF/INDEX.LIST</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>
com.ibm.icu,
org.apache.ant,
org.apache.commons.lang,
org.apache.commons.logging,
icu4j,
commons-logging,
org.eclipse.core.commands,
org.eclipse.core.contenttype,
org.eclipse.core.expressions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>
com.ibm.icu,
org.apache.ant,
org.apache.commons.lang,
org.apache.commons.logging,
icu4j,
commons-logging,
org.eclipse.core.commands,
org.eclipse.core.contenttype,
org.eclipse.core.expressions,
Expand Down Expand Up @@ -127,20 +125,20 @@
<artifactSet>
<excludes><!-- avoid duplicate inclusion due to addjars plugin -->
<exclude>*:lsMavenTychoFatjar.ide-org.eclipse.lsp4j*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-org.eclipse.xtext.xbase.lib*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-org.eclipse.xtend.lib*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-com.google.guava*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-asm*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-log4j*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-reload4j*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-org.objectweb.asm*</exclude>
<exclude>*:lsMavenTychoFatjar.ide-org.apache.log4j*</exclude>
<exclude>*:*commons-logging*</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/*.java</exclude>
<exclude>META-INF/INDEX.LIST</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>
com.ibm.icu,
org.apache.ant,
org.apache.commons.lang,
org.apache.commons.logging,
icu4j,
commons-logging,
org.eclipse.core.commands,
org.eclipse.core.contenttype,
org.eclipse.core.expressions,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2015, 2023 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2015, 2024 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.
Expand Down Expand Up @@ -139,10 +139,8 @@ class IdeProjectDescriptor extends ProjectDescriptor {
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>
com.ibm.icu,
org.apache.ant,
org.apache.commons.lang,
org.apache.commons.logging,
icu4j,
commons-logging,
org.eclipse.core.commands,
org.eclipse.core.contenttype,
org.eclipse.core.expressions,
Expand Down Expand Up @@ -214,21 +212,21 @@ class IdeProjectDescriptor extends ProjectDescriptor {
<artifactSet>
<excludes><!-- avoid duplicate inclusion due to addjars plugin -->
<exclude>*:«config.ideProject.name»-org.eclipse.lsp4j*</exclude>
<exclude>*:«config.ideProject.name»-org.eclipse.xtext.xbase.lib*</exclude>
<exclude>*:«config.ideProject.name»-org.eclipse.xtend.lib*</exclude>
<exclude>*:«config.ideProject.name»-com.google.guava*</exclude>
<exclude>*:«config.ideProject.name»-asm*</exclude>
<exclude>*:«config.ideProject.name»-log4j*</exclude>
<exclude>*:«config.ideProject.name»-reload4j*</exclude>
<exclude>*:«config.ideProject.name»-org.objectweb.asm*</exclude>
<exclude>*:«config.ideProject.name»-org.apache.log4j*</exclude>
<exclude>*:*commons-logging*</exclude>
</excludes>
</artifactSet>
«ENDIF»
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/*.java</exclude>
<exclude>META-INF/INDEX.LIST</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2015, 2023 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2015, 2024 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.
Expand Down Expand Up @@ -413,19 +413,11 @@ public PomFile pom() {
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("com.ibm.icu,");
_builder.append("icu4j,");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("org.apache.ant,");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("org.apache.commons.lang,");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("org.apache.commons.logging,");
_builder.append("commons-logging,");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
Expand Down Expand Up @@ -715,64 +707,53 @@ public PomFile pom() {
_builder.append("<exclude>*:");
String _name_1 = this.getConfig().getIdeProject().getName();
_builder.append(_name_1, "\t\t\t\t\t\t");
_builder.append("-org.eclipse.xtext.xbase.lib*</exclude>");
_builder.append("-com.google.guava*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_2 = this.getConfig().getIdeProject().getName();
_builder.append(_name_2, "\t\t\t\t\t\t");
_builder.append("-org.eclipse.xtend.lib*</exclude>");
_builder.append("-asm*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_3 = this.getConfig().getIdeProject().getName();
_builder.append(_name_3, "\t\t\t\t\t\t");
_builder.append("-com.google.guava*</exclude>");
_builder.append("-log4j*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_4 = this.getConfig().getIdeProject().getName();
_builder.append(_name_4, "\t\t\t\t\t\t");
_builder.append("-asm*</exclude>");
_builder.append("-reload4j*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_5 = this.getConfig().getIdeProject().getName();
_builder.append(_name_5, "\t\t\t\t\t\t");
_builder.append("-log4j*</exclude>");
_builder.append("-org.objectweb.asm*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_6 = this.getConfig().getIdeProject().getName();
_builder.append(_name_6, "\t\t\t\t\t\t");
_builder.append("-reload4j*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_7 = this.getConfig().getIdeProject().getName();
_builder.append(_name_7, "\t\t\t\t\t\t");
_builder.append("-org.objectweb.asm*</exclude>");
_builder.append("-org.apache.log4j*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("<exclude>*:");
String _name_8 = this.getConfig().getIdeProject().getName();
_builder.append(_name_8, "\t\t\t\t\t\t");
_builder.append("-org.apache.log4j*</exclude>");
_builder.newLineIfNotEmpty();
_builder.append("<exclude>*:*commons-logging*</exclude>");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t");
_builder.append("\t");
Expand Down Expand Up @@ -802,6 +783,10 @@ public PomFile pom() {
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("<exclude>**/*.java</exclude>");
_builder.newLine();
_builder.append("\t\t");
_builder.append("\t\t\t\t\t");
_builder.append("<exclude>META-INF/INDEX.LIST</exclude>");
_builder.newLine();
_builder.append("\t\t");
Expand Down

0 comments on commit 7a17f87

Please sign in to comment.