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

m2e cannot run nested instances of Eclipse

I'm using the Tycho eclipserun plugin to generate Java source code for an EMF model during build (as opposed to having the sources checked in). Configuring the plugin to run as part of the maven build works fine, but I would also like to configure…
JesperE
  • 63,317
  • 21
  • 138
  • 197
0
votes
1 answer

Pom packaged parent module containing Maven Tycho eclipse plugin project as a sub-module

Rough Project structure is as follows: Parent module groupId Module-Parent pom 0.0.1-SNAPSHOT Parent Project
Vignesh
  • 9
  • 3
0
votes
1 answer

How to get latest version number of an artifact and replace it in target file?

I'm using Tycho extras to mirror repositories using a target file. The thing is in my .target file I have some installable units with version 0.0.0 meaning I want to get the latest version, but what if I want to run a script to freeze the version,…
martinc
  • 11
  • 4
0
votes
1 answer

Eclipse target-definition: plug-ins go missing in p2 repositories

I faced this issue now a couple of times (using maven/tycho): Defined plug-ins from the target-definition file change version and go missing in the p2 repository. This is kind of annoying because a previously building project does not build anymore.…
user3726374
  • 583
  • 1
  • 4
  • 24
0
votes
1 answer

Tycho raises error that Eclipse IDE does not: Cannot refer to a non-final variable

Eclipse Tycho, a Maven plugin for building Eclipse plugins, raises a compile error that Eclipse IDE does not: Cannot refer to a non-final variable urlString inside an inner class defined in a different method [ERROR] Failed to execute goal…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
0
votes
1 answer

Redeploy plugin into eclipse installation

I have a eclipse plugin that contains JUnit Tests developed using SWTBot. I'm trying to run the test against a eclipse installation using tycho-surefire-plugin on a hadless mode. Here is my maven conviguration:
L4zy
  • 327
  • 2
  • 13
0
votes
1 answer

can't build update site using tycho when use root.folder

I'm trying to build an update site using tycho. This update site includes one feature. When I tried to build the update site it was built successfully. But in the feature I want a certain file to be exist inside the eclipse root after installation…
0
votes
3 answers

How can automate generating update site?

In our project many eclipse plugins are prepared. I want use tycho to build eclipse plugins automatically. But while executing "mvn install" in an update site project tycho can not find required features. Is there anything wrong?? My Update site …
ibrahimyilmaz
  • 18,331
  • 13
  • 61
  • 80
0
votes
1 answer

SWTBot Restart rcp application in test

I'm having issues creating a SWTBot test that restarts rcp application. When I run a suite of tests from eclipse, when rcp app restarts it also restarts the suite. So the tests that already ran before the restart, will run again. I read that you can…
0
votes
1 answer

JAR built by Tycho contains Groovy source files

I am converting projects to OSGi compatible components and using Maven/Tycho to do this. I am using below plugin to compile the Groovy source files, but afterwards the compiled JAR contains source file along with class files. I don't want source…
Mohan
  • 3
  • 1
  • 4
0
votes
0 answers

What controls value of "Identifier" in update site properties?

When viewing details of a feature update site I want to install I see what looks like a custom name for "Identifier" property, as seen below. For my feature update site I see what seems to be a generated identifier, something like…
positron
  • 3,643
  • 3
  • 22
  • 26
0
votes
0 answers

NPE when building OSGi bundles with Maven Tycho

I have several OSGi-bundles that I want to build using Maven Tycho. While the dependencies of the first 4 bundles can be resolved without problem, Tycho quits with the following cryptic exception at the 5th: [INFO] Resolving dependencies of…
sina
  • 1,817
  • 1
  • 18
  • 42
0
votes
0 answers

Execution issue with Maven/Tycho

I have an eclipse RCP application based on the 3.x API. My application consists of several perspectives where each contains several views and editors. The first perspective starts on the start up of the application and the navigation view is defined…
tzwickl
  • 1,341
  • 2
  • 15
  • 31
0
votes
1 answer

Why is the branch not listed in Eclipse-SourceReference for git

I am using Tycho for my Eclipse OSGi projects, and noticed that for project in Git the Eclipse-SourceReferences header doesn't include the branch. I assume it's because I'm not understanding something about Git as to why the branch isn't necessary.…
0
votes
1 answer

How to integrate cucumber-jvm with maven build

i'm trying to put some bdd into my eclipse plugin project, but can't figure out how to run my integration tests during maven build fase. To write my tests i'm using SWTBot framework. I already did the feature generation fase, and setup my tests. How…
keysuke
  • 97
  • 1
  • 1
  • 9