Skip to main content
Jump to: navigation, search

Tycho/Release Notes/1.5

Staging build

Tycho 1.5.0-SNAPSHOT is currently staged for release. To try out the release candidate, simply add the following snippet to your (parent) pom.xml or settings.xml, and set the property for the Tycho version (e.g. tycho-version) to 1.5.0.


SNAPSHOT site docs

Refer to the latest SNAPSHOT site docs for Tycho and Tycho Extras.

New and Noteworthy

Complete list of bug fixes and enhancements in 1.5.0-SNAPSHOT

Pomless Build

The pomless build has been improved to support some new features and improve existing ones:

bug 490886 - support for pomless update site builds

bug 482487 - support for pomless product builds

bug 550285 - support for pomless target-definition builds

bug 507700 - support .test as a suffix for plugins and make it configurable, you can now alternatively specify a property tycho.pomless.testbundle=true/false in file to override the default behavior.

bug 478704 - support for alternative parent-pom file locations: - It is possible to define a system-property tycho.pomless.parent (defaults to "..") that configures the global default for searching parent poms (similar to tycho.localArtifacts this can't be configured in pom directly because of the early phase this is required) - It is also possible to define tycho.pomless.parent inside of individual bundle/fragment that overrides the global default for only this module

bug 492819 - support for structured builds: It is now possible to use pomless for so called "structured-builds" that means the folders are not just a flat representation of all projects but are structured by their type (e.g. bundles, test, feature), you can find an example here so it is possible to have just one pom.xml in the root of you project structure. You can find a pull-request here that shows what changes could be made to leverage this feature compared to a project using Tycho 1.4 pomless extension to reduce the required poms.

FreeBSD support

bug 549689 adds support for FreeBSD platform in RCP product definitions.

Thread stack traces dump before forkedProcessTimeoutInSeconds timeout occurs

The parameter forkedProcessTimeoutInSeconds can be specified to kill the process which runs tests (also prior to Tycho 1.5.0). With the change for bug 542876, a few minutes before the process is killed due to this timeout, thread stack traces are dumped in the test log. I.e. when a timeout occurs (e.g. due to a deadlock) the logs would now contain some indication of which code causes the timeout.

A Mojo to list dependencies

bug 547269 introduces a new org.eclipse.tycho.extras:tycho-dependency-tools-plugin:list-dependencies mojo that can list the bundles resulting of dependency resolution for Tycho projects.

This differs from dependency:list in that the later one lists the classpath which may include nested jars instead of required bundle.

The default output file is target/dependenct-list.txt, lists of absolute paths to required bundles and is suitable to use with the application.

ECJ update

ECJ has been updated to version 3.19.0. This version adds support for Java 12 bytecode and features.

JGit update

JGit has been updated to version 5.5.0. Full release notes here.

Equinox update

Equinox and p2 has been updated to their 2019-09 versions.

Support for maven.compiler.failOnWarning

bug 547470 introduces support for maven.compiler.failOnWarning user property to tycho-compiler-plugin with same behavior as maven-compiler-plugin.

Support for surefire enableAssertions

bug 526008 introduces support for enableAssertions user property to tycho-surefire. Default value for it is false while maven-surefire has it as true.

Update plexus container used

bug 551292 updated Maven to use org.eclipse.sisu.plexus as it's plexus container instead of plexus-container-default. NOTE: TYCHO MIN MAVEN REQUIREMENT HAS BEEN BUMPED TO VERSION 3.1.0.

Support for Eclipse-PlatformFilter

bug 487341 multi-environment build fails using platform filters is now fixed and allows the filtering of a bundle for a particular environment

Back to the top