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

m
Line 42: Line 42:
 
=== p2 ===
 
=== p2 ===
  
* <font color="red">(INCOMPATIBLE CHANGE)</font> Due to a change in p2 publishers, MacOS products can no longer be built using p2 repositories older than eclipse Mars. Make sure you use Mars and configure a root folder ending with ".app" (see [http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/eclipse-repository/pom.xml Tycho demo project]  We intend to add a compatibility workaround in the next release of Tycho ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=463670 bug 463670])
+
* <font color="red">(INCOMPATIBLE CHANGE)</font> Due to a change in p2 publishers, MacOS products can no longer be built using p2 repositories older than eclipse Mars. Make sure you use Mars and configure a product installation root folder ending with ".app" (see [http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/eclipse-repository/pom.xml Tycho demo project]  We intend to add a compatibility workaround in the next release of Tycho ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=463670 bug 463670])
 
* Tycho will no set a specific HTTP User-Agent header including the Tycho version used when accessing p2 repositories ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=467418 bug 467418]). This can be used to analyze HTTP access logs of the servers delivering the p2 artifacts.
 
* Tycho will no set a specific HTTP User-Agent header including the Tycho version used when accessing p2 repositories ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=467418 bug 467418]). This can be used to analyze HTTP access logs of the servers delivering the p2 artifacts.
  

Revision as of 10:06, 28 May 2015

< Previous Version | Next Version >

SNAPSHOT builds

To try out the most recent snapshot build of 0.23.0, 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 0.23.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 0.23.0

Compiler

  • The JDT compiler shipped with Tycho has been updated to Mars RC2a (bug 461101).
  • The default source/target level (i.e. no BREE in MANIFEST.MF nor source/target configured in pom.xml) has been updated to 1.7 (bug 464304)

Packaging Type

Packaging

  • You can now use <iu> elements in an eclipse-repository's category.xml to include and/or categorize arbitrary artifacts in a p2 repository (bug 371983). See Tycho/category.xml for details.
  • By default, Tycho will no longer add META-INF/maven/ descriptors in feature jars. With feature jars always being unpacked during installation, these can lead to path length problems on Windows (bug 451279)

p2

  • (INCOMPATIBLE CHANGE) Due to a change in p2 publishers, MacOS products can no longer be built using p2 repositories older than eclipse Mars. Make sure you use Mars and configure a product installation root folder ending with ".app" (see Tycho demo project We intend to add a compatibility workaround in the next release of Tycho (bug 463670)
  • Tycho will no set a specific HTTP User-Agent header including the Tycho version used when accessing p2 repositories (bug 467418). This can be used to analyze HTTP access logs of the servers delivering the p2 artifacts.

Test Execution

  • (INCOMPATIBLE CHANGE) The tycho-surefire property testSuite had been removed. If you are building a multi-bundle project and had set the testSuite and testClass property on the CLI or in a parent pom, you have to set the property failIfNoTests to false. If you had specified testSuite and testClass in the pom file of the plugin the testsClass belongs to, you just have to remove the testSuite property (bug 453526).

Other

  • Tycho now requires Java 7 (bug 463433). Note that this does not affect the compiler source/target level configured in your build and you can still compile against any JDK using maven toolchains.
  • The embedded OSGi runtime used by Tycho during build has been updated to use Equinox and p2 from Mars RC2a (bug 466320).

Additional Tools

  • The tycho-document-bundle-plugin now allows to specify includes and excludes for the packages to be documented (bug 459214)
  • It is now possible to use a custom doclet in the tycho-document-bundle-plugin (bug 453602). The doclet parameter will be passed to javadoc as -doclet. The docletArtifacts are resolved (including the transitive depenencies) and passed to javadoc as -docletpath. Example configuration:
     <configuration>
        <javadocOptions>
           <ignoreError>false</ignoreError>
           <doclet>foo.bar.MyDoclet</doclet>
           <docletArtifacts>
              <docletArtifact>
                 <groupId>foo.bar</groupId>
                 <artifactId>foo.bar.mydocletartifact</artifactId>
                 <version>1.0</version>
              </docletArtifact>
           </docletArtifacts>
        </javadocOptions>
     </configuration>
    

Back to the top