Questions tagged [tycho]

Tycho is a Maven extension for building Eclipse artifacts: Eclipse plug-ins/OSGI bundles, features, p2 repositories, and RCP applications/Eclipse distributions

Eclipse plugins and OSGI bundles have their own metadata for expressing dependencies, source folder locations, etc. that are normally found in a Maven POM. Tycho uses native metadata for Eclipse plugins and OSGi bundles and uses the POM to configure and drive the build. Tycho supports bundles, fragments, features, update site projects and RCP applications. Tycho also knows how to run JUnit test plugins using OSGi runtime and there is also support for sharing build results using Maven artifact repositories.

Useful links

797 questions
0
votes
1 answer

Add reference to a plugin packaged as jar

I have 3 projects: Project A: An eclipse plugin Project B: An eclipse plugin dependent on project A Project C: An eclipse plugin containing SWTBot tests only to test project B Project A is compiled via maven independently. Then Project B and…
Adel Boutros
  • 10,205
  • 7
  • 55
  • 89
0
votes
1 answer

How to configure Arch Linux to set executable bits during Tycho build for Eclipse RCP

In relation to my other question concerning cross-platform Tycho builds of an Eclipse RCP-based application, I have managed to get the build to produce the desired results (products including OS-specific executable launchers with the executable bits…
s.d
  • 4,017
  • 5
  • 35
  • 65
0
votes
2 answers

Slash in property name in pom.xml

I have a problem, what I cannot solve. I want to build my eclipse cdo server with Tycho/Maven and also I want to have the prossibility to start my cdo-server.product out of eclipse. The cdo server it set up like this:…
tralala
  • 163
  • 2
  • 16
0
votes
2 answers

JUnit test fails with java.lang.ClassNotFoundException: com.mysql.jdbc.Driver on Tycho environment

I have a very strange situation. I have a set of eclipse plugin projects which I am using tycho and maven for building them. I used JDBC driver in one of the projects and I have a test plugin to test this project. Since the com.mysql.jdbc plugin was…
rozagh
  • 73
  • 1
  • 12
0
votes
1 answer

Aggregating components from different source code locations

Is there a way to easily aggregate components from different SVN source code locations in a Jenkins build and using Tycho as a build tool? Let's say product consists of five plugins, one might be located in trunk/core/pluginA, another in…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
1 answer

managing target definition

I have a core plugin that has custom core JFace and SWT implementations. UI plugin depends on core plugin and uses core plugin using target definition via update site. Everything works fine. However, I have core an ui plugins building in Jenkins and…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
1 answer

How to make a path relative in the vmargs?

In my project I have an eclipse cdo-server which is set up as described here: http://wiki.eclipse.org/Setting_up_a_CDO_Server . My project structure is like this: -cdo-server plugin |- config folder with cdo-server.xml |-…
tralala
  • 163
  • 2
  • 16
0
votes
1 answer

Share tycho build results between computers

I've successfully built Core module with tycho and deployed it to Nexus using "maven clean deploy" command. Now I want to use this Core module artifacts to build my Live module (placed on other PC), but tycho can not see this Core module using…
vetalok
  • 173
  • 1
  • 12
0
votes
2 answers

Eclipse plugin compiled in linux work on windows?

I have developed an eclipse plugin, which is compiled linux using maven Tycho plugin. But for some reason, I am not able to see the plugin in the eclipse running on windows. I am not finding anything in the log file. As I am new to plugin…
Chetan
  • 1,507
  • 7
  • 30
  • 43
0
votes
1 answer

Build workflow to build an eclipse rcp application by feature builds

I'm searching for an build workflow to build an eclipse rcp application by feature builds with maven 3 with tycho and hudson. My Example: 3 Features Feature A Feature B Feature C 2 Products Product 1 - Based on features A and B Product 2 - Based…
Tim
  • 2,831
  • 1
  • 25
  • 37
0
votes
1 answer

P2 repository for flyway

I am working with an eclipse product where we use a combination of a maven/tycho build system and OSGI: Equinox to build our product. I was wondering if there was a dedicated p2 repository for the flyway-core jar file?
0
votes
2 answers

How do I get a plugin with platform specific code to deploy to the correct platform using an eclipse p2 repository?

I have an Eclipse Feature that I'm building that contains a few plugins. One of the plugins uses the import package statement to declare a dependency on another plugin. The other plugin has platform specific code and exists in another feature that…
twindham
  • 930
  • 9
  • 31
0
votes
1 answer

Define .eclipseproduct during build

When I build my product .eclipseproduct is generated. Is this file still relevant for Eclipse 3.6+? Is there a way to modify this file to reflect my product? I know I can alter this file myself, but was wondering if there is a plugin that can do…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
2 answers

Maven project structure

In svn repository I have a folder 'product' under which are all my Eclipse plugins and features, parallel to these there is parent POM. This setup works well when I build in Jenkins, I just check out 'product' and install pom.xml. However, I can't…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
1 answer

Compilation failure during install

During install I get the following error: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0:compile (default-compile) on project com.iwaysoftware.eclipse.common: Compilation failure: Compilation failure: [ERROR]…
positron
  • 3,643
  • 3
  • 22
  • 26