tycho

How to integrate cucumber-jvm with maven build

怎甘沉沦 提交于 2019-12-10 12:20:07
问题 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 do i setup my pom to run my integration tests? 回答1: I use below configuration and run mvn clean verify . If you don't want to run tests in parallel, remove parallel , perCoreThreadCount and threadCountClasses tags. Make sure to update the regular

Installing an additional feature during product build for some Eclipse versions only

被刻印的时光 ゝ 提交于 2019-12-10 11:45:02
问题 When building a product based on Eclipse 3.7+, I want to include a marketplace feature (org.eclipse.epp.mpc). I don't want to explicitly add this feature to one of the product features because I am also building for Eclipse 3.5. Is there a way to add this feature during the build? 回答1: It is currently not possible to create a product distribution which contains additional features, i.e. features which are not directly or indirectly referenced from the product. This enhancement was requested

How do I build an Eclipse RCP app so that its features can be updated automatically?

为君一笑 提交于 2019-12-09 04:35:49
问题 I am building an RCP application that will be made up of several Features. My RCP application is configured to check for updates each time it starts. My current problem is that I need one of my Features to be 'Installed' at build time so that it will get updated during this automatic check for updates without forcing the user to manually install it. I need this feature to update independently from the other features in the system. So, to recap, I'm just looking for a nice automated way to

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

痞子三分冷 提交于 2019-12-08 17:28:39
问题 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 for Tycho instead of the integration-test phase? If so, how? 回答1: Tycho executes tests in an OSGi container, and this requires that the compiled classes are already packed as OSGi bundles. Packing only happens in the package phase,

How do I make Jenkins, Sonar and the JaCoCo plugin work together for Eclipse Tycho Plugin Projects (or maybe Cobertura)?

让人想犯罪 __ 提交于 2019-12-08 17:08:40
问题 my setup is: Jenkins 1.448 Sonar 2.13 Jenkins Sonar Plugin 1.72 a MySql database for Sonar I have the following project: Eclipse Plugin Project using Maven multiple modules (parent maven project, source plugin project, test fragment project) a simple JUnit test testing a class of the source plugin project What the process is at the moment: Jenkins checks out the parent project from SVN Jenkins builds the project and its modules using Maven and Tycho Jenkins uses Surefire to execute the tests

“An unexpected error occured (return code -1)” when trying to launch SWTBot test suite with Tycho

走远了吗. 提交于 2019-12-08 11:52:30
问题 We are writing SWTBot tests for our Eclipse RCP application. Our RCP application includes NatTable components and has authorization mechanism to enable/disable perspectives. The test suite is working fine when launching it from Eclipse. Now we are trying to integrate it with Tycho. This is the pom.xml created for running the SWTBot test suite: <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"

Convert java plugin into maven project with eclipse-plugin packaging

我的未来我决定 提交于 2019-12-08 07:09:05
问题 I am quite experienced with java but i'm using maven for the first time. i have installed Eclipse Kepler (Eclipse for RCP and RAP Developers), I have installed Tychus as well with the "add new software" button. There is an Internet of things project that I cloned and built called OM2M. I followed the install wiki step by step and everything work until then. cloning wiki here I want to develop my own OSGI module so I went to the 'developer' section of the wiki and once again and created a new

Tycho: Categorize p2 metadata

房东的猫 提交于 2019-12-08 02:31:16
问题 Iam trying to generate a categorized p2 repository with Tycho. There are basically three steps to make (compare Eclipse documentation): Download Bundles Trigger org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher Trigger org.eclipse.equinox.p2.publisher.CategoryPublisher which i configured in a maven pom-file. Steps 1 and 2 are doing well whereas step 3 fails with: Status ERROR: this code=0 publishing result null children=[Status ERROR: org.eclipse.equinox.p2.updatesite code=0 Error

How to analize/visualize OSGi, maven dependencies

微笑、不失礼 提交于 2019-12-07 21:18:31
问题 I am trying to build Aptana studio using Maven/Tycho. It has a lot of Eclipse plugins and I would like to exclude some of them from the build. However the excluded plugins may be required by other plugins. How to see what plugins are dependent on the current plugin? Is the some tools to visualize dependencies in a directed graph? 回答1: The Plugin Dependencies View which comes with PDE has a button (two-to-one graph) to show plugins depending on the focused plugin. If you want to see the full

Error in Tycho while replacing the product ico files

安稳与你 提交于 2019-12-07 13:53:06
问题 We are using tycho v0.13 and maven 3.0 for building our product. We get the following error/warning when building Error - 7 icon not replaced in C:\Users\AppData\Local\Temp\p2.brandingIron7115583353836584113\launcher.exe using D:\Builds\workspace\plugins\icons\app-icon.ico the ico files are all proper. as a result window icons are being replaced by the standard eclipse icons. 回答1: I'm not overly familiar with Tycho itself, but here I believe it is using the branding code that ships with p2