Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Tycho/Release Notes/0.13"

(add link to list of fixed bugs; document new publisher behaviour of p2 Juno M1(cf. 352883); minor additions)
(added hint about implicit dependencies; remove link to single bug fix - people should watch bugs if they are interested in the resolution)
Line 13: Line 13:
 
*** The "Include required software" option (aka planner/slicer mode) is now supported.
 
*** The "Include required software" option (aka planner/slicer mode) is now supported.
 
*** Limitation: the location types "Directory", "Installation" and "Features" are still not 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 [[Tycho/Packaging Types#eclipse-test-plugin|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#BundlesAction|Equinox p2 Publisher]]).
 
** 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#BundlesAction|Equinox p2 Publisher]]).
** Relative paths in .product files now work correctly. [https://bugs.eclipse.org/bugs/show_bug.cgi?id=349421 Workarounds] previously needed in pom.xml can be removed.
 
 
** 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#Selecting JDK|Tycho Reference Card]]).
 
** 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#Selecting JDK|Tycho Reference Card]]).
  

Revision as of 09:36, 5 September 2011

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