Skip to main content
Jump to: navigation, search

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

(New and Noteworthy)
Line 26: Line 26:
  
 
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&target_milestone=1.3.0&order=bug_id&query_based_on= Complete list of bug fixes and enhancements in 1.3.0-SNAPSHOT]
 
[https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&target_milestone=1.3.0&order=bug_id&query_based_on= Complete list of bug fixes and enhancements in 1.3.0-SNAPSHOT]
 +
 +
* {{bug|538729}} Tycho 1.3.0 surefire plugin supports starting applications that use org.apache.felix.scr bundle in place of org.eclipse.equinox.ds (like Eclipse Platform 4.10 based target-platforms)
 +
* {{bug|539552}} Support for <tt>download.stats</tt> property on artifacts metadata. In order to (partially) enable p2 download stats as documented in [[Equinox_p2_download_stats]], you can now configure you <tt>tycho-p2-plugin:p2-metadata</tt> execution to add the necessary property on the artifacts:
 +
<source lang="xml">
 +
  <plugin>
 +
    <groupId>org.eclipse.tycho</groupId>
 +
    <artifactId>tycho-p2-plugin</groupId>
 +
    <configuration>
 +
        <generateDownloadStatsProperty>true</generateDownloadStatsProperty>
 +
    </configuration>
 +
  </plugin>
 +
</source>
 +
or alternatively, you can override the <tt>tycho.generateDownloadStatsProperty</tt> property either by CLI with <tt>mvn -Dtycho.generateDownloadStatsProperty=true ...</tt> or by adding <tt><tycho.generateDownloadStatsProperty>true</tycho.generateDownloadStatsProperty></tt> in the <tt><properties></tt> element of your pom.xml.
 +
 +
This results in this in artifacts.xml (and derived artifacts.jar and artifacts.xml.xz):
 +
<source lang="xml">
 +
  <artifacts size='4'>
 +
    <artifact classifier='osgi.bundle' id='bundle' version='1.0.0.123abc'>
 +
      <properties size='9'>
 +
        <!-- ... -->
 +
        <property name='download.stats' value='bundle/1.0.0.123abc'/>
 +
        <!-- ... -->
 +
      </properties>
 +
    </artifact>
 +
    <artifact classifier='osgi.bundle' id='bundle' version='1.0.0.123abc'>
 +
      <processing size='1'>
 +
        <step id='org.eclipse.equinox.p2.processing.Pack200Unpacker' required='true'/>
 +
      </processing>
 +
      <properties size='12'>
 +
        <!-- ... -->
 +
        <property name='download.stats' value='bundle/1.0.0.123abc'/>
 +
        <!-- ... -->
 +
      </properties>
 +
    </artifact>
 +
</source>
  
 
[[Category:Tycho|Release Notes/1.3]]
 
[[Category:Tycho|Release Notes/1.3]]

Revision as of 04:17, 2 October 2018

< Previous Version | Next Version >

SNAPSHOT builds

Tycho 1.3.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 1.3.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 1.3.0-SNAPSHOT

  • bug 538729 Tycho 1.3.0 surefire plugin supports starting applications that use org.apache.felix.scr bundle in place of org.eclipse.equinox.ds (like Eclipse Platform 4.10 based target-platforms)
  • bug 539552 Support for download.stats property on artifacts metadata. In order to (partially) enable p2 download stats as documented in Equinox_p2_download_stats, you can now configure you tycho-p2-plugin:p2-metadata execution to add the necessary property on the artifacts:
   <plugin>
     <groupId>org.eclipse.tycho</groupId>
     <artifactId>tycho-p2-plugin</groupId>
     <configuration>
        <generateDownloadStatsProperty>true</generateDownloadStatsProperty>
     </configuration>
   </plugin>

or alternatively, you can override the tycho.generateDownloadStatsProperty property either by CLI with mvn -Dtycho.generateDownloadStatsProperty=true ... or by adding <tycho.generateDownloadStatsProperty>true</tycho.generateDownloadStatsProperty> in the <properties> element of your pom.xml.

This results in this in artifacts.xml (and derived artifacts.jar and artifacts.xml.xz):

  <artifacts size='4'>
    <artifact classifier='osgi.bundle' id='bundle' version='1.0.0.123abc'>
      <properties size='9'>
        <!-- ... -->
        <property name='download.stats' value='bundle/1.0.0.123abc'/>
        <!-- ... -->
      </properties>
    </artifact>
    <artifact classifier='osgi.bundle' id='bundle' version='1.0.0.123abc'>
      <processing size='1'>
        <step id='org.eclipse.equinox.p2.processing.Pack200Unpacker' required='true'/>
      </processing>
      <properties size='12'>
        <!-- ... -->
        <property name='download.stats' value='bundle/1.0.0.123abc'/>
        <!-- ... -->
      </properties>
    </artifact>

Back to the top