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/2.1"

(Created page with "<css> #main-page-content{ position:relative; } #versionNav{ position:absolute; top: 0px; right: 0px; border-color: transparent; background: transparent; } </css> <div id="...")
 
Line 3: Line 3:
 
   #versionNav{ position:absolute; top: 0px; right: 0px; border-color: transparent; background: transparent; }
 
   #versionNav{ position:absolute; top: 0px; right: 0px; border-color: transparent; background: transparent; }
 
</css>
 
</css>
<div id="versionNav" class="alert alert-small alert-warning">[[Tycho/Release Notes/2.0|&lt; Previous Version]] | [[Tycho/Release Notes/2.2|Next Version &gt;]]</div>
+
<div id="versionNav" class="alert alert-small alert-warning">[[Tycho/Release Notes/2.0|&lt; Previous Version]] | [[Tycho/Release Notes/2.1|Next Version &gt;]]</div>
  
 
== SNAPSHOT builds ==
 
== SNAPSHOT builds ==
Line 21: Line 21:
 
   
 
   
 
Refer to the [https://ci.eclipse.org/tycho/job/tycho-sitedocs/ws/target/staging/index.html latest SNAPSHOT site docs for Tycho] and [https://ci.eclipse.org/tycho/job/tycho.extras-sitedocs/ws/target/staging/index.html Tycho Extras].
 
Refer to the [https://ci.eclipse.org/tycho/job/tycho-sitedocs/ws/target/staging/index.html latest SNAPSHOT site docs for Tycho] and [https://ci.eclipse.org/tycho/job/tycho.extras-sitedocs/ws/target/staging/index.html Tycho Extras].
 
[[Category:Tycho|Release Notes/2.1]]
 
  
 
<!--
 
<!--
Line 38: Line 36:
 
</source>
 
</source>
 
-->
 
-->
 +
 +
[[Category:Tycho|Release Notes/2.1]]
 +
 
== New and Noteworthy ==
 
== New and Noteworthy ==
  
 
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&target_milestone=2.1.0&order=bug_id&query_based_on= Complete list of bug fixes and enhancements in 2.1.0-SNAPSHOT]
 
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&target_milestone=2.1.0&order=bug_id&query_based_on= Complete list of bug fixes and enhancements in 2.1.0-SNAPSHOT]
  
=== Noteworthy item 1 ===
+
=== Automatic determination of --release compiler argument based on BREE ===
  
Blah blah
+
{{bug|561363}} '''tycho-compiler-plugin''' now determines the '''maven.compiler.release''' property (<tt>--release</tt> compiler argument) automatically based on the BREE.
  
=== Noteworthy item 2 ===
+
This ensures ABI compatibility when targeting older Java versions by setting a correct bootclasspath ([http://openjdk.java.net/jeps/247 JEP 247]).
  
Blah blah
+
Note: This automatism might not be desired in some situations. For example when referencing internal JDK packages (e.g. using an OSGI framework extension bundle) <tt>--release</tt> can not be used, because the bootclasspath set by it does not include those internal packages. For these scenarios, an new configuration option <tt>&lt;deriveReleaseCompilerArgumentFromTargetLevel&gt;false&lt;/deriveReleaseCompilerArgumentFromTargetLevel&gt;</tt> was introduced to disable this automatic determination.

Revision as of 09:01, 8 September 2020

< Previous Version | Next Version >

SNAPSHOT builds

Tycho 2.1.0-SNAPSHOT is currently in development. To try out the most recent snapshot build, 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 2.1.0-SNAPSHOT.

<pluginRepositories>
    <pluginRepository>
      <id>tycho-snapshots</id>
      <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
    </pluginRepository>
</pluginRepositories>

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 2.1.0-SNAPSHOT

Automatic determination of --release compiler argument based on BREE

bug 561363 tycho-compiler-plugin now determines the maven.compiler.release property (--release compiler argument) automatically based on the BREE.

This ensures ABI compatibility when targeting older Java versions by setting a correct bootclasspath (JEP 247).

Note: This automatism might not be desired in some situations. For example when referencing internal JDK packages (e.g. using an OSGI framework extension bundle) --release can not be used, because the bootclasspath set by it does not include those internal packages. For these scenarios, an new configuration option <deriveReleaseCompilerArgumentFromTargetLevel>false</deriveReleaseCompilerArgumentFromTargetLevel> was introduced to disable this automatic determination.

Back to the top