I have written an extensive SDK of Eclipse plugins using various extension points, including editors, views, and most importantly builders (APT - Java 5 mirror api) and Eclipse IncrementalProjectBuilders. Third party developers download and install my SDK into their Eclipse to gain this functionality. The APT annotation processor generates additional Java source files using org.eclipse.jdt.core.dom to the .apt_generated folder. The IncrementalProjectBuilders generate web resources (e.g. json files) to the bin/ directory. All of this works great when you are running Eclipse. I've been using Buckminster for headless builds via Jenkins. I install the headless version of the SDK into Buckminster's Eclipse instance and it runs my builders just like it does when I'm running Eclipse, using PDE build. Since Buckminster has been replaced, I'm trying to upgrade to Tycho. I've followed some tutorials and I can build a simple update site with basic features and plugins. However .. I'm wondering if (and how) it is possible to install my SDK plugins into the embedded Eclipse instance that Tycho uses for building, and have it invoke the APT and IncrementalProjectBuilders when it builds projects. If I could either modify the embedded Eclipse that Tycho uses, or point Tycho to an existing (pre-configured) Eclipse installation, this seems like it should be possible. Any ideas? Thanks! Phil |
[tycho-user] Tycho and Custom Eclipse Builders
Re: [tycho-user] Tycho and Custom Eclipse Builders
The eclipse-run should be able to help you
https://www.eclipse.org/tycho/sitedocs-extras/tycho-eclipserun-plugin/eclipse-run-mojo.html.
You may need to create your own application to invoke your
builders and pass additional parameters but it should help. Alternatively if you only need to execute APT processors, you may want to look at https://code.google.com/archive/p/maven-annotation-plugin/ or https://github.com/querydsl/apt-maven-plugin HTH Pascal On 8/9/2018 6:39 PM, Phil Denis wrote:
I have written an extensive SDK of Eclipse plugins using various extension points, including editors, views, and most importantly builders (APT - Java 5 mirror api) and Eclipse IncrementalProjectBuilders. Third party developers download and install my SDK into their Eclipse to gain this functionality. The APT annotation processor generates additional Java source files using org.eclipse.jdt.core.dom to the .apt_generated folder. The IncrementalProjectBuilders generate web resources (e.g. json files) to the bin/ directory. |
[tycho-user] Missing launchbar icon on Ubuntu
Hi all, I followed the Lars tutorial in order to build a RCP product using Tycho, everything works like charm but I stay stuck with a trouble on the launcher
icon on Ubuntu… Reading
http://andrius.velykis.lt/2012/10/creating-icons-for-eclipse-rcp-launcher/
I well noticed that icons defined in .product have to be relative to the project: <launcher name="…"> <linux icon="/icons/icon.xpm"/> <macosx icon="/icons/icon.icns"/>
<win useIco="true"> <ico path="/icons/icon.ico"/> <bmp/> </win> </launcher> Unfortunately, and even if the rendering of the launcher icon is correct on Windows and OSX taskbars, it remains empty on Ubuntu 16.04 (screenshot
attached). Nothing related is printed into build log, and icon.xpm is available into the root directory next to the launcher itself. I know that this can be fixed using a .desktop file placed into ~/.local/share/xxxx but I consider this as a workaround, because I never defined any
custom file for Eclipse SDK and the icon is well displayed into Unity. Does somebody have any solution to get it working? Best regards, Julien |
Attachment:
Missing-launchbar-icon.png
Description: Missing-launchbar-icon.png
[tycho-user] i guess this deprecation will also remove pack200 files from an eclipse update site?
Re: [tycho-user] i guess this deprecation will also remove pack200 files from an eclipse update site?
http://openjdk.java.net/jeps/336_______________________________________________i find it personally quite weird what oracle now doesThey seem to throw everything on the browser plugin/applets (those are not used so ...)But webstart or eclipse update repositories have nothing todo with that..they seem to kill of any java client tech..--Johan CompagnerServoy
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
[tycho-user] Error resolving touchpoint action
the touchpoint p2.inf looks like this:
## Ensuring p2 touchpoint plugin installed before this plugin
metaRequirements.0.namespace=org.eclipse.equinox.p2.iu
metaRequirements.0.name=p2.touchpoint
metaRequirements.0.range=[0.0.0,5.0.0)
# During install phase,
# 1--> Set the p2 home dir during install phase of this plugin.
instructions.configure = \
p2.touchpoint.setp2home();
# Unset the p2 home dir during uninstall phase of this plugin.
instructions.uninstall = \
p2.touchpoint.unsetp2home();
This touchpoint action its called by a plugin.xml by an extension point:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.equinox.p2.engine.actions">
<action
class="p2.touchpoint.ProvisioningSetP2Home"
name="setp2home"
touchpointType="org.eclipse.equinox.p2.osgi"
version="1.0.0">
</action>
</extension>
<extension
point="org.eclipse.equinox.p2.engine.actions">
<action
class="p2.touchpoint.ProvisioningUnSetP2Home"
name="unsetp2home"
touchpointType="org.eclipse.equinox.p2.osgi"
version="1.0.0">
</action>
</extension>
</plugin>
The error says :
An error occurred while configuring the installed items
session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]common.p2.manager 4.2.0.v20161115_2041, action="">
We are already using the p2 director plugin from tycho to build our P2
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
<configuration>
<products>
<product>
<id>project</id>
<rootFolder>${rootFolder}</rootFolder>
</product>
</products>
</configuration>
</execution>
<execution>
<phase>pre-integration-test</phase>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
<configuration>
<formats>
<linux>tar.gz</linux>
</formats>
</configuration>
</execution>
</executions>
</plugin>
Are we missing something in here? The thing is that we are not consuming/building our own touchpoint on our code, we are having issues with tycho to resolve this plugin.touchpoint that we are consuming as a supplier dependency.
Re: [tycho-user] Error resolving touchpoint action
Re: [tycho-user] Error resolving touchpoint action
Thanks again!
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
[tycho-user] How to generated launcher.ini with Tycho
[tycho-user] Tycho 1.2.0: Materialize-product generates invalid ini file
Hi, we have a strange effect in our build. We have two product files configured for the materialize-product goal of the tycho-p2-director plugin and support 3 OS targets. The generated ini files for one product are correct for all target OSes, but the ini files for the other product are "invalid" for all OSes, e.g. Windows: ============ %< =================== -startup plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar --launcher.library plugins/ org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 -nl de --launcher.library /data/head/temp/products/target/products/com.bpminspire.designer/win32/ win32/x86_64/plugins/ org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 -startup /data/head/temp/products/target/products/com.bpminspire.designer/win32/ win32/x86_64/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar -vmargs -Xms512m -Xmx1024m --add-modules=ALL-SYSTEM ============ %< =================== The entries for startup and launcher.library are contained twice and the second entries with the absolute paths from the build server clobber the first (correct) ones, when the application tries to start. Obviously the start fails. We compared the two product files and cannot find any relevant difference. Any idea, what causes those entries with absolute paths in the generated ini files? Regards, JÃrg
Re: [tycho-user] Tycho 1.2.0: Materialize-product generates invalid ini file
Hi, Did you try the Tycho examples? Do they have the same issue? If yes, please open a bug to bugs.eclipse.org so it has more chances to be fixed in the future. Cheers, On 8/23/18, JÃrg Schaible <joerg.schaible@xxxxxxxxxxxxxxx> wrote: > Hi, > > we have a strange effect in our build. We have two product files > configured for the materialize-product goal of the tycho-p2-director > plugin and support 3 OS targets. > > The generated ini files for one product are correct for all target OSes, > but the ini files for the other product are "invalid" for all OSes, e.g. > Windows: > > ============ %< =================== > -startup > plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar > --launcher.library > plugins/ > org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 > -nl > de > --launcher.library > /data/head/temp/products/target/products/com.bpminspire.designer/win32/ > win32/x86_64/plugins/ > org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 > -startup > /data/head/temp/products/target/products/com.bpminspire.designer/win32/ > win32/x86_64/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar > -vmargs > -Xms512m > -Xmx1024m > --add-modules=ALL-SYSTEM > ============ %< =================== > > The entries for startup and launcher.library are contained twice and the > second entries with the absolute paths from the build server clobber the > first (correct) ones, when the application tries to start. Obviously the > start fails. > > We compared the two product files and cannot find any relevant difference. > > Any idea, what causes those entries with absolute paths in the generated > ini files? > > Regards, > JÃrg > > _______________________________________________ > tycho-user mailing list > tycho-user@xxxxxxxxxxx > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/tycho-user -- Mickael Istria Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/> developer, for Red Hat Developers <https://developers.redhat.com/>
[tycho-user] Bundle jre with Eclipse 4.7's .app-bundle on macos
Hi,
I'm building an RCP application and recently updated from Eclipse 4.4 as base to 4.7, along with it comes shipment as a plain app bundle on macOS. I'm also integrating a JRE installation into the RCP application such that users don't need to have Java installed. This is done through root-files and worked fine with Eclipse 4.4.
With Eclipse 4.7 it appears I'm hitting an incompatibility between tycho's idea where the 'root' of an rcp app is and Eclipse' own idea. The launcher shipped with Eclipse 4.7-based applications looks for a shipped Java runtime in the folder '../../jre/Contents/Home/bin' (based on http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c?h=R4_7_maintenance#n46), where this path is relative to the 'launcher'. It appears 'launcher' here means the actual binary inside eclipse.app/Contents/MacOS, which makes sense. In turn that means the 'jre' folder needs to be placed directly inside eclipse.app, next to the Contents folder there. So the app bundle would look like this:
myrcp.app/ +- Contents/ | +- Eclipse/ | +- MacOS/ | + myrcp +- jre/ +- Contents
Unfortunately tycho, when being told to place a 'jre' folder into the 'root' using this:
root.macosx.cocoa.x86_64=absolute:/Users/andreas/dependencies/JREs/macosx64 root.macosx.cocoa.x86_64.permissions.755=jre/Contents/Home/bin/java root.macosx.cocoa.x86_64.link=../Home/lib/jli/libjli.dylib,jre/Contents/MacOS/libjli.dylib
puts the jre folder into myrcp.app/Contents/Eclipse. Thus Eclipse won't find the JRE and won't start on systems that have no java runtime installed.
I'm mostly wondering if I'm missing something here that I need to tell tycho now that I've switched the Eclipse version or bundling jre's should be done differently now?
I saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=519280 where it appears that using a relative path pointing outside the 'normal' root that tycho uses may work, but I'm not quite sure how to apply this to my example above - in particular the link and permissions line.
I'm using the latest tycho release 1.1.0 already.
Andreas
-- Andreas Pakulat squish@xxxxxxxxxxxxx froglogic GmbH - Automated UI and Web Testing
Re: [tycho-user] Bundle jre with Eclipse 4.7's .app-bundle on macos
Hi,
I'm building an RCP application and recently updated from Eclipse 4.4 as base to 4.7, along with it comes shipment as a plain app bundle on
macOS. I'm also integrating a JRE installation into the RCP application such that users don't need to have Java installed. This is done
through root-files and worked fine with Eclipse 4.4.
With Eclipse 4.7 it appears I'm hitting an incompatibility between tycho's idea where the 'root' of an rcp app is and Eclipse' own idea. The
launcher shipped with Eclipse 4.7-based applications looks for a shipped Java runtime in the folder '../../jre/Contents/Home/bin' (based on
http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c?h=R4_7_maintenance#n46),
where this path is relative to the 'launcher'. It appears 'launcher' here means the actual binary inside eclipse.app/Contents/MacOS, which
makes sense. In turn that means the 'jre' folder needs to be placed directly inside eclipse.app, next to the Contents folder there. So the app
bundle would look like this:
myrcp.app/ +- Contents/ | +- Eclipse/ | +- MacOS/ | + myrcp +- jre/ +- Contents
Unfortunately tycho, when being told to place a 'jre' folder into the 'root' using this:
root.macosx.cocoa.x86_64=absolute:/Users/andreas/dependencies/JREs/macosx64 root.macosx.cocoa.x86_64.permissions.755=jre/Contents/Home/bin/java root.macosx.cocoa.x86_64.link=../Home/lib/jli/libjli.dylib,jre/Contents/MacOS/libjli.dylib
puts the jre folder into myrcp.app/Contents/Eclipse. Thus Eclipse won't find the JRE and won't start on systems that have no java runtime installed.
I'm mostly wondering if I'm missing something here that I need to tell tycho now that I've switched the Eclipse version or bundling jre's
should be done differently now?
I saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=519280 where it appears that using a relative path pointing outside the 'normal' root that
tycho uses may work, but I'm not quite sure how to apply this to my example above - in particular the link and permissions line.
Oh well, just as I wrote and sent that I can't make out how to leverage this I finally found the right incarnation:
root.macosx.cocoa.x86_64.folder.../../=absolute:${jreBaseDir}/macosx64 root.macosx.cocoa.x86_64.permissions.755=../../jre/Contents/Home/bin/java root.macosx.cocoa.x86_64.link=../Home/lib/jli/libjli.dylib,../../jre/Contents/MacOS/libjli.dylib
Works now, the jre is placed two levels up from the Contents/Eclipse/ folder and the permissions of the various executable files are correct too.
Andreas
-- Andreas Pakulat squish@xxxxxxxxxxxxx froglogic GmbH - Automated UI and Web Testing
Re: [tycho-user] How to generated launcher.ini with Tycho
Hi,I am a new user with TychoãWhen I buid my RCP product with PDEãit worksãthe launcher name is "penv" and the configuration name is "penv.ini".But when I build with tycho(0.22.0),the launcher name is "penv" but the configuration name is "eclipse.ini"ãWhy?This is my epp.product<launcher name="penv"><solaris/><win useIco="false"><bmp/></win></launcher>
Re: [tycho-user] Bundle jre with Eclipse 4.7's .app-bundle on macos
Hi,
I am using the setJvm instructions instead of root files:
https://codeiseasy.wordpress.com/2012/07/31/including-a-jre-in-a-tycho-build/
Seems to work fine. I need to rely on the feedback of Mac users though, as I only have Linux machines.
Regards, Axel
Am 2018-08-24 22:23, schrieb Andreas Pakulat:
On 2018-08-24 21:57, Andreas Pakulat wrote:Hi,
I'm building an RCP application and recently updated from Eclipse 4.4 as base to 4.7, along with it comes shipment as a plain app bundle on
macOS. I'm also integrating a JRE installation into the RCP application such that users don't need to have Java installed. This is done
through root-files and worked fine with Eclipse 4.4.
With Eclipse 4.7 it appears I'm hitting an incompatibility between tycho's idea where the 'root' of an rcp app is and Eclipse' own idea. The
launcher shipped with Eclipse 4.7-based applications looks for a shipped Java runtime in the folder '../../jre/Contents/Home/bin' (based on
http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c?h=R4_7_maintenance#n46),
where this path is relative to the 'launcher'. It appears 'launcher' here means the actual binary inside eclipse.app/Contents/MacOS, which
makes sense. In turn that means the 'jre' folder needs to be placed directly inside eclipse.app, next to the Contents folder there. So the app
bundle would look like this:
myrcp.app/ +- Contents/ | +- Eclipse/ | +- MacOS/ | + myrcp +- jre/ +- Contents
Unfortunately tycho, when being told to place a 'jre' folder into the 'root' using this:
root.macosx.cocoa.x86_64=absolute:/Users/andreas/dependencies/JREs/macosx64 root.macosx.cocoa.x86_64.permissions.755=jre/Contents/Home/bin/java root.macosx.cocoa.x86_64.link=../Home/lib/jli/libjli.dylib,jre/Contents/MacOS/libjli.dylib
puts the jre folder into myrcp.app/Contents/Eclipse. Thus Eclipse won't find the JRE and won't start on systems that have no java runtime installed.
I'm mostly wondering if I'm missing something here that I need to tell tycho now that I've switched the Eclipse version or bundling jre's
should be done differently now?
I saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=519280 where it appears that using a relative path pointing outside the 'normal' root that
tycho uses may work, but I'm not quite sure how to apply this to my example above - in particular the link and permissions line.
Oh well, just as I wrote and sent that I can't make out how to leverage this I finally found the right incarnation:
root.macosx.cocoa.x86_64.folder.../../=absolute:${jreBaseDir}/macosx64 root.macosx.cocoa.x86_64.permissions.755=../../jre/Contents/Home/bin/java root.macosx.cocoa.x86_64.link=../Home/lib/jli/libjli.dylib,../../jre/Contents/MacOS/libjli.dylib
Works now, the jre is placed two levels up from the Contents/Eclipse/ folder and the permissions of the various executable files are correct too.
Andreas
Re: [tycho-user] Tycho 1.2.0: Materialize-product generates invalid ini file
Hi Mickael, Am Thu, 23 Aug 2018 16:25:47 +0200 schrieb Mickael Istria: > Hi, > > Did you try the Tycho examples? Do they have the same issue? If yes, > please open a bug to bugs.eclipse.org so it has more chances to be fixed > in the future. I tried to reproduce this with itp04-rcp (adding another product), but it works as expected. I still have no idea, what triggers the strange behavior for our build. :-/ Cheers, JÃrg
[tycho-user] Problem finding features
Hi, I have a problem with finding dependencies while building a product with Tycho. I defined two plugins with the application and product described in it. I added a feature to group these plugins and to be able to add that to my .product file. Now when I build my product maven can’t fin this feature with the message: [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: TechPubStudio 1.0.0.qualifier [ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group
[1.0.0,1.0.1)' but it could not be found [ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml:
See log for details -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] My feature has the ID de.kgucms.tps.client.base.feature What is maven looking for? Could you please help me finding the right direction to debug this? Thanks Stefan |
Re: [tycho-user] Problem finding features
Hi, I just followed the tutorial from Vogella (http://www.vogella.com/tutorials/EclipseTycho/article.html) and I get a similar error. [INFO] Scanning for projects... D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/ [INFO] Adding repository http://download.eclipse.org/releases/oxygen [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/ [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier [ERROR] Missing requirement: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier requires
'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422]' but it could not be found [ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT
@ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml: See log for details -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles: [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException Could somebody help me with that issue? In the attachment you can find my codings Thanks Stefan Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx>
Im Auftrag von Stefan Nöbauer Hi, I have a problem with finding dependencies while building a product with Tycho. I defined two plugins with the application and product described in it. I added a feature to group these plugins and to be able to add that to my .product file. Now when I build my product maven can’t fin this feature with the message: [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: TechPubStudio 1.0.0.qualifier [ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group
[1.0.0,1.0.1)' but it could not be found [ERROR]
[ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml:
See log for details -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] My feature has the ID de.kgucms.tps.client.base.feature What is maven looking for? Could you please help me finding the right direction to debug this? Thanks Stefan |
Attachment:
usability.7z
Description: usability.7z
Re: [tycho-user] Problem finding features
Hi Stefan, Is 'org.eclipse.equinox.p2.iu; also available? Best regards, Lars On Mon, Sep 17, 2018 at 9:33 AM, Stefan NÃbauer <stefan.noebauer@xxxxxxxxxxxxxxxxxx> wrote: > Hi, > > > > I have a problem with finding dependencies while building a product with > Tycho. > > > > I defined two plugins with the application and product described in it. > > > > I added a feature to group these plugins and to be able to add that to my > .product file. > > > > Now when I build my product maven canât fin this feature with the message: > > > > [INFO] {osgi.os=linux, osgi.ws=gtk, > org.eclipse.update.install.features=true, osgi.arch=x86} > > [ERROR] Cannot resolve project dependencies: > > [ERROR] Software being installed: TechPubStudio 1.0.0.qualifier > > [ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires > 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group > [1.0.0,1.0.1)' but it could not be found > > [ERROR] > > [ERROR] See > http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for > help. > > [ERROR] Cannot resolve dependencies of MavenProject: > tps:tps.product:1.0.0-SNAPSHOT @ > D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for > details -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > > > My feature has the ID de.kgucms.tps.client.base.feature > > What is maven looking for? > > > > Could you please help me finding the right direction to debug this? > > > > Thanks > > Stefan > > > > > _______________________________________________ > tycho-user mailing list > tycho-user@xxxxxxxxxxx > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/tycho-user -- Eclipse Platform project co-lead CEO vogella GmbH Haindaalwisch 17a, 22395 Hamburg Amtsgericht Hamburg: HRB 127058 GeschÃftsfÃhrer: Lars Vogel, Jennifer Nerlich de Vogel USt-IdNr.: DE284122352 Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
Re: [tycho-user] Problem finding features
Hi, From the version number org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422] it looks to me you are looking for e4.rcp.feature from photon repo. But the log indicates only oxygen repo is configured. Can you try using photon repo? Thanks and Regards, Sravan Sravan Kumar Lakkimsetti IBM India Pvt Ltd, Embassy Golf Links Business Park, D Block, Off Indiranagar-Kormangla Inner Ring Road, Bangalore - 560071, India Phone: 91-80-41776858 From: Stefan NÃbauer <stefan.noebauer@xxxxxxxxxxxxxxxxxx> Hi, I just followed the tutorial from Vogella (http://www.vogella.com/tutorials/EclipseTycho/article.html) and I get a similar error. [INFO] Scanning for projects... D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/ [INFO] Adding repository http://download.eclipse.org/releases/oxygen [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/ [INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/ [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client1:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client1\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.rcpe4:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\bundles\de.kgucms.tps.client.rcpe4\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Resolving class path of MavenProject: de.kgucms.tps:de.kgucms.tps.client.feature:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\features\de.kgucms.tps.client.feature\.polyglot.build.properties [INFO] Computing target platform for MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml [INFO] Resolving dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier [ERROR] Missing requirement: de.kgucms.tps.client.rcpe4.product 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group [1.6.100.v20180611-0422,1.6.100.v20180611-0422]' but it could not be found [ERROR] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: de.kgucms.tps:de.kgucms.tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\releng\de.kgucms.tps.product\pom.xml: See log for details -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException Could somebody help me with that issue? In the attachment you can find my codings Thanks Stefan Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Stefan NÃbauer Hi, I have a problem with finding dependencies while building a product with Tycho. I defined two plugins with the application and product described in it. I added a feature to group these plugins and to be able to add that to my .product file. Now when I build my product maven canât fin this feature with the message: [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: TechPubStudio 1.0.0.qualifier [ERROR] Missing requirement: TechPubStudio 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; de.kgucms.tps.client.base.feature.feature.group [1.0.0,1.0.1)' but it could not be found [ERROR] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: tps:tps.product:1.0.0-SNAPSHOT @ D:\tps-product-dev-2-8\GITRepo\usability\tps.product\pom.xml: See log for details -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] My feature has the ID de.kgucms.tps.client.base.feature What is maven looking for? Could you please help me finding the right direction to debug this? Thanks Stefan |