FAQ Database Discussion Community


Tycho: How to bring all the eclipse test-plugins in target?

eclipse,maven,eclipse-plugin,tycho,surefire
We have the following setup for our product. main feature - which will build and deploy to nexus. test feature - which will build and installed locally. We have test extension points in our test plugins. We use those extension points in our testing. The problem is tycho only brings...

Tycho build error: “… requires bundle … but it could not be found”

eclipse,plugins,eclipse-rcp,tycho
We have an eclipse Luna plugin application which we're trying to build with Tycho. When we try to do a mvn clean verify, we're getting this type of message: [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: our.app 1.0.0.qualifier [ERROR] Missing requirement: our.app 1.0.0.qualifier requires 'bundle org.eclipse.core.runtime 3.7.0' but...

Tycho compiler does not find classes from plugin dependecies

eclipse,maven,build,eclipse-plugin,tycho
I am trying to build a plugin with Tycho. There are no errors in the Eclipse workspace, but when I try to compile it with Maven I got the following errors (more than 57 errors): [INFO] Resolving dependencies of MavenProject: uk.xman.tool:xman.xtend.conditiondsl:2.0.0 @ C:\Users\Simone\OneDrive\Eclipse\xman.xtend.conditiondsl\pom.xml [INFO] Resolving class path of MavenProject: uk.xman.tool:xman.xtend.conditiondsl:2.0.0...

Maven Tycho: use multiple environments (win32, linux) during test, but only build win32 artifact

maven,jenkins,eclipse-rcp,tycho
I have a Maven Tycho project, where unit tests are run with tycho-surefire-plugin. These unit tests use the SWT library, and because I want to be able to build the project locally (win32) and on the Jenkins continous integration server (linux), I specified multiple enviroments, so that the libraries were...

Is it possible to configure tycho-surefire to run in the test phase?

maven,tycho,tycho-surefire-plugin
I haven't done a lot with Maven, but I understand the basics. We're using Tycho to build RCP plugins and I'm wondering why Tycho uses the integration-test phase to execute the tests in a bundle. Is it possible to bind some types of tests to the test phase of Maven...

When automating Eclipse's “Export as Feature”, Maven/Tycho doesn't see my plugin

eclipse,maven,eclipse-plugin,tycho
I have a plugin and a feature project in my workspace. When I export the feature manually via File > Export As > Feature everything works well. I'm trying to write an automatic plugin building and exporting script to get rid of this chore. I converted feature project to Maven...

How to build two different versions of an e4 RCP application with Maven/Tycho?

maven,rcp,tycho,e4
I have got an e4 RCP application A. I extend this application with a plugin B which adds GUI functionality via fragments. My project structure looks like this: Application A Plugin B Target-Platform project deployment project (with the .product file) So far so good. Now, I would like to deploy...