Jump to: navigation, search

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

(grouped news by area; merged "fixes" into "improvements" because all of them were rather improvements than addressing major bugs)
(Complier Plugin)
(7 intermediate revisions by 2 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  ==
+
 
+
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>.
+
<pre>&lt;pluginRepositories&gt;
+
  &lt;pluginRepository&gt;
+
    &lt;id&gt;tycho-snapshots&lt;/id&gt;
+
    &lt;url&gt;https://oss.sonatype.org/content/groups/public/&lt;/url&gt;
+
  &lt;/pluginRepository&gt;
+
&lt;/pluginRepositories&gt;
+
</pre>
+
 
+
== New and Noteworthy  ==
+
  
==== Complier plugin ====
+
==== Compiler Plugin ====
  
* 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 apache httpclient library
+
* (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 [http://wiki.eclipse.org/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 <tt>&lt;executionEnvironmentDefault&gt;</tt> in your parent POM.
 +
* The JDT compiler bundled with Tycho has been updated to Kepler M6.
 
* 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])  
 
* 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])  
 
* 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]).
 
* 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]).
Line 31: Line 19:
 
** annotation processor arguments (<tt>-Akey=value</tt>) are now supported
 
** annotation processor arguments (<tt>-Akey=value</tt>) are now supported
  
==== Target Platform ====
+
==== Target Platform & Dependency Resolution  ====
  
* (INCOMPATIBLE CHANGE) Default execution environment is now consistently <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.
 
 
* 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]).  
 
* 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])
 
* 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 ====
 
==== Packaging ====
Line 49: Line 38:
  
 
* Source feature generation has been improved, [http://wiki.eclipse.org/Tycho/Reference_Card#Source_Features docs] updated accordingly:  
 
* Source feature generation 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  
+
** (INCOMPATIBLE 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  
 
** 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  
  
Line 59: Line 48:
 
* <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 07:42, 22 March 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)