Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Tycho/Release Notes/0.13

< Tycho‎ | Release Notes
Revision as of 09:36, 5 September 2011 by Unnamed Poltroon (Talk) (added hint about implicit dependencies; remove link to single bug fix - people should watch bugs if they are interested in the resolution)

Tycho 0.13.0 is currently under development. The current development version 0.13.0-SNAPSHOT (except the Tycho extras [1]) is available from [2].

List of bug fixes and enhancements in 0.13.0

New and Noteworthy

  • Tycho:
    • Tycho projects are now required to match the artifactId defined in the pom.xml with the ID specified in the MANIFEST.MF or feature.xml.
      • This restriction is in place for projects with packaging type "eclipse-plugin", "eclipse-test-plugin" or "eclipse-feature". It solves several problems which may occur otherwise (see [3]).
      • In case your project provides a bundle and a feature with the same ID, and you need to keep these IDs for compatibility reasons, you can use different groupIds in order to make the Maven coordinates (groupId, artifactId, version) unique.
    • Configuring a target definition file in Tycho specifies the target platform in the same way as in Eclipse:
      • Only the content from the target definition can be referenced. This allows excluding optional depencencies from product builds [4].
      • The "Include required software" option (aka planner/slicer mode) is now supported.
      • Limitation: the location types "Directory", "Installation" and "Features" are still not supported.
    • The OSGi runtimes for tests no longer contains the full target platform but only the (transitive) dependencies of the test bundle. This may lead to test failures due to missing implicit dependencies. Recommendation: Make the dependencies explicit in the component feature and add it to the test runtime.
    • Optional dependencies declared by your bundles are no longer installed automatically when a user installs your bundle with p2. Consider creating additional features for including optional dependencies (see Equinox p2 Publisher).
    • tycho-surefire-plugin can use Maven Toolchains to run tests with a specific version of JDK independent from the one Maven is running with (see Tycho Reference Card).
  • Tycho extras:
    • The new goal mirror has been added to the tycho-p2-extras-plugin. It offers the same functionality as the p2.mirror Ant task – see Tycho/Additional Tools for the full documentation.

Back to the top