我有一个Maven项目,我从Eclipse Repostories获得了一些p2依赖关系,可在我的DSL中使用它们,并使用XText和XTend生成代码(而我使用org.eclipse.uml2.uml,而实际版本仅在p2存储库中可用, Maven Central的那些已经过时了)...
我的Tycho配置没有什么特别的...
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.plugin.version}</version>
<configuration>
<compilerArgument>-warn:none</compilerArgument>
<compilerArgument>-err:none</compilerArgument>
</configuration>
</plugin>
和我需要的MANIFEST.MF
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: eclipse-dependencies
Bundle-SymbolicName: eclipse-dependencies; singleton:=true
Bundle-Version: 1.0.0.qualifier
Require-Bundle: org.eclipse.xtext;bundle-version="[2.20.0,2.30.0)";visibility:=reexport,
org.eclipse.xtext.xbase;bundle-version=".[2.2.20,2.30.0)";resolution:=optional;visibility:=reexport,
org.eclipse.xtext.generator;bundle-version="[2.20,2.30.0)";resolution:=optional,
org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
org.eclipse.emf.codegen.ecore;resolution:=optional,
org.eclipse.emf.mwe.utils;resolution:=optional,
org.eclipse.emf.mwe2.launch;resolution:=optional,
org.eclipse.uml2.common;bundle-version="2.5.0.v20200302-1312",
org.eclipse.uml2.uml;bundle-version="5.5.0.v20200302-1312",
org.eclipse.xtext.util,
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types,
org.eclipse.uml2.codegen.ecore,
org.eclipse.xtend.typesystem.uml2,
org.eclipse.core.runtime
Bundle-Vendor: somecompany
我认为没有将Tycho插件移植到Gradle,您为此使用了什么?
寻求答案
这些可以帮助您: