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.17"

(Improvements)
m (more links)
(13 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
   #versionNav{ position:absolute; top: 0px; right: 0px; margin-right: 1em; font-size: 84%; line-height: 1.2em; color: rgb(125, 125, 125); }
 
   #versionNav{ position:absolute; top: 0px; right: 0px; margin-right: 1em; font-size: 84%; line-height: 1.2em; color: rgb(125, 125, 125); }
 
</css>
 
</css>
<div id="versionNav">[[Tycho/Release Notes/0.16|&lt; Previous Version]] | Next Version &gt;</div>
+
<div id="versionNav">[[Tycho/Release Notes/0.16|&lt; Previous Version]] | [[Tycho/Release Notes/0.18|Next Version &gt;]]</div>
  
Tycho 0.17.0 is currently in development. This page shows a preview of features which will be available in the 0.17.0 milestone.
+
== New and Noteworthy  ==
  
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&resolution=FIXED&target_milestone=0.17.0&order=bug_id&query_based_on= List of bug fixes and enhancements in 0.17.0]  
+
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&resolution=FIXED&target_milestone=0.17.0&order=bug_id&query_based_on= List of all bug fixes and enhancements in 0.17.0]  
  
== SNAPSHOT builds  ==
+
==== Compiler Plugin ====
  
To try the most recent snapshot build of 0.17.0, simply add the following snippet to your (parent) pom.xml, and set the property for the Tycho version (e.g. <tt>tycho-version</tt>) to <tt>0.17.0-SNAPSHOT</tt>.
+
* (INCOMPATIBLE CHANGE) <tt>eclipse-plugin</tt> and <tt>eclipse-test-plugin</tt> modules which neither have and explicit [http://www.eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html compiler source/target level] configuration nor have an [[Tycho/Execution Environments#Execution environment configuration|execution environment]] configuration are now compiled with a source & target level of 1.6 instead of 1.5. Modules with any explicit configuration, e.g. a <tt>Bundle-RequiredExecutionEnvironment</tt> header in the manifest, are not affected. If you are building for <tt>J2SE-1.5</tt> or even more restricted execution environments, it is recommended to set the new <tt>target-platform-configuration</tt> parameter [[Tycho/Execution Environments#Execution environment configuration|<tt>&lt;executionEnvironmentDefault&gt;</tt>]] in your parent POM.
<pre>&lt;pluginRepositories&gt;
+
* The JDT compiler bundled with Tycho has been updated to Kepler M6.
  &lt;pluginRepository&gt;
+
* The <tt>tycho-compiler-plugin</tt> has a new <tt>compilerArgs</tt> parameter that allows to specify arbitrary compiler arguments (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=400307#c3 bug 400307])
    &lt;id&gt;tycho-snapshots&lt;/id&gt;
+
* The compilation bootclasspath can now be customized in <tt>toolchains.xml</tt> when using [http://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#useJDK <tt>useJDK=BREE</tt>] ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=389856 bug 389856]).
    &lt;url&gt;https://oss.sonatype.org/content/groups/public/&lt;/url&gt;
+
* <tt>tycho-compiler-plugin</tt>:
  &lt;/pluginRepository&gt;
+
** low-level configuration errors will now fail the build ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=385613 bug 385613])
&lt;/pluginRepositories&gt;
+
** annotation processor arguments (<tt>-Akey=value</tt>) are now supported
</pre>  
+
  
== New and Noteworthy ==
+
==== Target Platform & Dependency Resolution ====
  
=== Improvements  ===
+
* It is now possible to specify [[Tycho/Target Platform#Target_files|multiple target files in <tt>target-platform-configuration</tt>]]. Note that these target files are resolved separately, i.e. they each need to resolve successfully when opened with the target editor in Eclipse. Also note that it is not possible to activate multiple target files in the Eclipse PDE (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=392652 bug 392652]).
 +
* p2 repository and proxy authentication now works with maven-encrypted passwords ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=386910 bug 386910] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=394023 bug 394023])
 +
* The Equinox and p2 versions bundled with Tycho has been updated to Kepler M6.
 +
** This includes an update to a new major version (4.1.3) of the bundled Apache httpclient library.
 +
 
 +
==== Packaging ====
 +
 
 +
* Nested jars: add support for custom MANIFESTs ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=400901 bug 400901]) and distinct source folders in source bundles ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=400956 bug 400956])
 +
* Root files: [http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm root.permissions] now supports ant-style file wildcards ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=361204 bug 361204])
 +
 
 +
==== Test Execution ====
  
*Source feature generation usability has been improved, [http://wiki.eclipse.org/Tycho/Reference_Card#Source_Features docs] updated accordingly:
 
**(BEHAVIORAL CHANGE) no longer rely on existence of magic folder <tt>sourceTemplateFeature/</tt> when determining whether to generate a source feature
 
**Label, description, branding plugin and other attributes are now taken over from the original feature by default. See bugs [https://bugs.eclipse.org/bugs/show_bug.cgi?id=374349#c44 374349], [https://bugs.eclipse.org/bugs/show_bug.cgi?id=375165 375165] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=378424 378424] for details. It's recommended to rely on <tt>feature.properties</tt> to set name and other text values in the original feature; then you can easily customize/override the generated source feature values by creating a <tt>sourceTemplateFeature/feature.properties</tt> file if required
 
* JDT compiler as well as Equinox and p2 versions bundled with tycho have been updated to Kepler M6.<br/> Note that the new p2 version also brings a new major version 4.1.3 of the underlying from apache httpclient library
 
* Documentation for the maven plugins from [http://eclipse.org/tycho/sitedocs-extras/index.html <tt>tycho-extras</tt>] published
 
*(INCOMPATIBLE CHANGE) default execution environment has been fixed to <tt>J2SE-1.5</tt>, see [[Tycho/Execution Environments]].<br>If after migrating to 0.17.0, you see p2 resolution errors for packages added to the JDK with version 1.6 or later, you need to explicitly configure the default execution environment.
 
*(INCOMPATIBLE CHANGE) Runtime of <tt>tycho-eclipserun-plugin</tt> is now resolved from explicitly configured p2 repositorie(s) only (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 bug 395281] for details and migration guide)
 
*The <tt>mirror</tt> goal of <tt>tycho-p2-extras-plugin</tt> now allows to skip downloading pack200 artifacts and supports p2 query language. See [[Tycho/Additional Tools]]
 
*The <tt>tycho-compiler-plugin</tt> has a new <tt>compilerArgs</tt> parameter that allows to specify arbitrary compiler arguments (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=400307#c3 bug 400307])
 
*It is now possible to specify [[Tycho/Target Platform#Target_files|multiple target files in <tt>target-platform-configuration</tt>]]. Note that these target files are resolved separately, i.e. they each need to resolve successfully when opened with the target editor in Eclipse. Also note that it is not possible to activate multiple target files in the Eclipse PDE (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=392652 bug 392652]).
 
*The compilation bootclasspath can now be customized in <tt>toolchains.xml</tt> when using [http://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#useJDK <tt>useJDK=BREE</tt>] ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=389856 bug 389856]).
 
* Add support for custom MANIFESTs in nested jars ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=400901 bug 400901])
 
 
* Unit tests can now run on pre-filled workspace data ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=401288 bug 401288])
 
* Unit tests can now run on pre-filled workspace data ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=401288 bug 401288])
  
=== Fixes ===
+
==== Source Features ====
  
* p2 repository and proxy authentication now works with maven-encrypted passwords ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=386910 bug 386910] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=394023 bug 394023])
+
* Source feature generation has been improved, [http://wiki.eclipse.org/Tycho/Reference_Card#Source_Features docs] updated accordingly:
* Root files: [http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm root.permissions] now supports ant-style file wildcards ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=361204 bug 361204])
+
** (INCOMPATIBLE CHANGE) No longer rely on existence of magic folder <tt>sourceTemplateFeature/</tt> when determining whether to generate a source feature
* <tt>tycho-compiler-plugin</tt>:
+
** Label, description, branding plugin and other attributes are now taken over from the original feature by default. See bugs [https://bugs.eclipse.org/bugs/show_bug.cgi?id=374349#c44 374349], [https://bugs.eclipse.org/bugs/show_bug.cgi?id=375165 375165] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=378424 378424] for details. It's recommended to rely on <tt>feature.properties</tt> to set name and other text values in the original feature; then you can easily customize/override the generated source feature values by creating a <tt>sourceTemplateFeature/feature.properties</tt> file if required
** low-level configuration errors will now fail the build ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=385613 bug 385613])
+
 
** annotation processor arguments (<tt>-Akey=value</tt>) are now supported
+
==== Other ====
 +
 
 +
* Documentation for the Maven plugins from [http://eclipse.org/tycho/sitedocs-extras/index.html <tt>tycho-extras</tt>] published
 +
* (INCOMPATIBLE CHANGE) Runtime of <tt>tycho-eclipserun-plugin</tt> is now resolved from explicitly configured p2 repositorie(s) only (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 bug 395281] for details and migration guide)  
 +
* The <tt>mirror</tt> goal of <tt>tycho-p2-extras-plugin</tt> now allows to skip downloading pack200 artifacts and supports p2 query language. See [[Tycho/Additional Tools]]
 
* <tt>tycho-versions-plugin</tt> will now also update versions of <tt>.product</tt> files in <tt>eclipse-repository</tt> projects
 
* <tt>tycho-versions-plugin</tt> will now also update versions of <tt>.product</tt> files in <tt>eclipse-repository</tt> projects
 
* (INCOMPATIBLE CHANGE) remove duplicated compiler invocation for <tt>eclipse-test-plugin</tt> ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=383866 bug 383866])
 
* (INCOMPATIBLE CHANGE) remove duplicated compiler invocation for <tt>eclipse-test-plugin</tt> ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=383866 bug 383866])
 +
 +
[[Category:Tycho|Release Notes/0.17]]

Revision as of 08:12, 10 April 2013

New and Noteworthy

List of all bug fixes and enhancements in 0.17.0

Compiler Plugin

  • (INCOMPATIBLE CHANGE) eclipse-plugin and eclipse-test-plugin modules which neither have and explicit compiler source/target level configuration nor have an execution environment configuration are now compiled with a source & target level of 1.6 instead of 1.5. Modules with any explicit configuration, e.g. a Bundle-RequiredExecutionEnvironment header in the manifest, are not affected. If you are building for J2SE-1.5 or even more restricted execution environments, it is recommended to set the new target-platform-configuration parameter <executionEnvironmentDefault> in your parent POM.
  • The JDT compiler bundled with Tycho has been updated to Kepler M6.
  • The tycho-compiler-plugin has a new compilerArgs parameter that allows to specify arbitrary compiler arguments (see bug 400307)
  • The compilation bootclasspath can now be customized in toolchains.xml when using useJDK=BREE (bug 389856).
  • tycho-compiler-plugin:
    • low-level configuration errors will now fail the build (bug 385613)
    • annotation processor arguments (-Akey=value) are now supported

Target Platform & Dependency Resolution

  • It is now possible to specify multiple target files in target-platform-configuration. Note that these target files are resolved separately, i.e. they each need to resolve successfully when opened with the target editor in Eclipse. Also note that it is not possible to activate multiple target files in the Eclipse PDE (see bug 392652).
  • p2 repository and proxy authentication now works with maven-encrypted passwords (bug 386910 and bug 394023)
  • The Equinox and p2 versions bundled with Tycho has been updated to Kepler M6.
    • This includes an update to a new major version (4.1.3) of the bundled Apache httpclient library.

Packaging

Test Execution

  • Unit tests can now run on pre-filled workspace data (bug 401288)

Source Features

  • Source feature generation has been improved, docs updated accordingly:
    • (INCOMPATIBLE CHANGE) No longer rely on existence of magic folder sourceTemplateFeature/ when determining whether to generate a source feature
    • Label, description, branding plugin and other attributes are now taken over from the original feature by default. See bugs 374349, 375165 and 378424 for details. It's recommended to rely on feature.properties to set name and other text values in the original feature; then you can easily customize/override the generated source feature values by creating a sourceTemplateFeature/feature.properties file if required

Other

  • Documentation for the Maven plugins from tycho-extras published
  • (INCOMPATIBLE CHANGE) Runtime of tycho-eclipserun-plugin is now resolved from explicitly configured p2 repositorie(s) only (see bug 395281 for details and migration guide)
  • The mirror goal of tycho-p2-extras-plugin now allows to skip downloading pack200 artifacts and supports p2 query language. See Tycho/Additional Tools
  • tycho-versions-plugin will now also update versions of .product files in eclipse-repository projects
  • (INCOMPATIBLE CHANGE) remove duplicated compiler invocation for eclipse-test-plugin (bug 383866)

Back to the top