Skip to main content
Jump to: navigation, search

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

m (added category)
Line 4: Line 4:
  
 
[[Category:Tycho|Release Notes/0.14]]
 
[[Category:Tycho|Release Notes/0.14]]
 +
 +
== New and Noteworthy ==
 +
 +
* Tycho:
 +
** Full support for bundle runtime execution environments
 +
*** List of accessible system packages of bundle runtime execution environment is now respected during project dependency resolution and java compilation. This makes sure that bundles do not accidentally reference JRE classes that may not be available in all runtime environments supported by the bundles.
 +
*** If bundle project supports multiple runtime execution environments, Tycho will use list of packages from the most restricted environment by default. Build target execution environment can be specified explicitly using new <executionEnvironment> target platform configuration parameter. For backwards compatibility with PDE, jre.compilation.profile build.properties is supported too.
 +
*** Additionally, tycho-compiler-plugin can be configured to use different JDK libraries for different bundle runtime execution environment. Additional JDKs are configured using Maven [http://maven.apache.org/guides/mini/guide-using-toolchains.html toolchains.xml], where toolchain id element is matched to execution environment profile name. For example
 +
<toolchains>
 +
  <toolchain>
 +
      <type>jdk</type>
 +
      <provides>
 +
          <id>J2SE-1.5</id>
 +
      </provides>
 +
      <configuration>
 +
        <jdkHome>/path/to/jdk/1.5</jdkHome>
 +
      </configuration>
 +
  </toolchain>
 +
</toolchains>

Revision as of 22:26, 19 November 2011

Tycho 0.14.0 is in development. In order to try out 0.14.0-SNAPSHOT, Tycho currently needs to be built locally. (The CI build results are currently not available from any Maven repository; see bug 360628.)

List of bug fixes and enhancements in 0.14.0

New and Noteworthy

  • Tycho:
    • Full support for bundle runtime execution environments
      • List of accessible system packages of bundle runtime execution environment is now respected during project dependency resolution and java compilation. This makes sure that bundles do not accidentally reference JRE classes that may not be available in all runtime environments supported by the bundles.
      • If bundle project supports multiple runtime execution environments, Tycho will use list of packages from the most restricted environment by default. Build target execution environment can be specified explicitly using new <executionEnvironment> target platform configuration parameter. For backwards compatibility with PDE, jre.compilation.profile build.properties is supported too.
      • Additionally, tycho-compiler-plugin can be configured to use different JDK libraries for different bundle runtime execution environment. Additional JDKs are configured using Maven toolchains.xml, where toolchain id element is matched to execution environment profile name. For example
<toolchains>
  <toolchain>
     <type>jdk</type>
     <provides>
         <id>J2SE-1.5</id>
     </provides>
     <configuration>
        <jdkHome>/path/to/jdk/1.5</jdkHome>
     </configuration>
  </toolchain>
</toolchains>

Back to the top