Difference between revisions of "Tycho Messages Explained"

From Eclipsepedia

Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
  
 
<div id="Mirror_tool"></div>
 
<div id="Mirror_tool"></div>
=== <tt>[WARNING] Mirror tool: "Problems resolving provisioning plan."</tt>... ===
+
=== <tt>[WARNING] Mirror tool: "Problems resolving provisioning plan."</tt> ===
  
 
This message may be shown by the tycho-p2-repository-plugin (in version 0.13 or later) when an eclipse-repository module includes a [http://aniefer.blogspot.com/2009/06/patching-features-with-p2.html feature patch]. Feature patches allow to replace plug-ins contained in a feature with different versions of the plug-ins, so a target platform containing a feature and a corresponding feature patch has ''only'' the new versions of the plug-ins. The p2 mirror tool, which is used by the tycho-p2-repository-plugin, mirrors from the resolved target platform, but it is not aware of the semantics of feature patches. Therefore it also tries to mirror the original versions of the plug-ins, and issues a warning when it fails to do so.
 
This message may be shown by the tycho-p2-repository-plugin (in version 0.13 or later) when an eclipse-repository module includes a [http://aniefer.blogspot.com/2009/06/patching-features-with-p2.html feature patch]. Feature patches allow to replace plug-ins contained in a feature with different versions of the plug-ins, so a target platform containing a feature and a corresponding feature patch has ''only'' the new versions of the plug-ins. The p2 mirror tool, which is used by the tycho-p2-repository-plugin, mirrors from the resolved target platform, but it is not aware of the semantics of feature patches. Therefore it also tries to mirror the original versions of the plug-ins, and issues a warning when it fails to do so.
Line 14: Line 14:
 
In case the warning only reports unsatisfied dependencies to the original versions of plug-ins replaced through a feature patch, it can be safely ignored. All other cases probably indicate an internal error in Tycho and should be [https://bugs.eclipse.org/bugs/query.cgi?product=Tycho reported].
 
In case the warning only reports unsatisfied dependencies to the original versions of plug-ins replaced through a feature patch, it can be safely ignored. All other cases probably indicate an internal error in Tycho and should be [https://bugs.eclipse.org/bugs/query.cgi?product=Tycho reported].
  
<div id="eclipse_application"></div>
+
<div id="Eclipse_Application"></div>
=== <tt>[WARNING] packaging type eclipse-application is deprecated, use eclipse-repository instead.</tt>... ===
+
=== <tt>[WARNING] The packaging type 'eclipse-application' is deprecated; use 'eclipse-repository' instead.</tt> ===
  
 
This message is shown by the tycho-packaging-plugin (in version 0.15.0 or later) when packaging type <tt>eclipse-application</tt> is used.
 
This message is shown by the tycho-packaging-plugin (in version 0.15.0 or later) when packaging type <tt>eclipse-application</tt> is used.
 
<tt>eclipse-application</tt> does not produce p2-enabled products and is no longer maintained. Use [[Tycho/Packaging Types#Creating Product Zip Files|eclipse-repository]] instead.
 
<tt>eclipse-application</tt> does not produce p2-enabled products and is no longer maintained. Use [[Tycho/Packaging Types#Creating Product Zip Files|eclipse-repository]] instead.
 +
 +
<div id="Target_File_Include_Bundles"></div>
 +
=== <tt>[WARNING] De-selecting bundles in a target definition file is not supported</tt> ===
 +
 +
The Eclipse Target Editor has the possibiltiy to remove individual bundles from the resolved target definition content. (This is done via the selection on the Content tab of the editor, and results in a <tt>&lt;includeBundles&gt;</tt> tag in the target definition file.) This configuration is currently ignored Tycho (cf. [https://bugs.eclipse.org/bugs/show_bug.cgi?id=373776 bug 373776]).
 +
 +
As an alternative, you can use [[Tycho/Target Platform#Filtering|target platform filters]] to remove bundles from the target platform.
  
 
[[Category:Tycho|Messages Explained]]
 
[[Category:Tycho|Messages Explained]]

Latest revision as of 08:59, 23 May 2012

This page explains errors and warnings reported by Tycho. It shall help Tycho users to diagnose and resolve build problems, or to report bugs in Tycho.

Contents

[edit] Error Messages

(Please help writing this page!)

[edit] Warning Messages

[edit] [WARNING] Mirror tool: "Problems resolving provisioning plan."

This message may be shown by the tycho-p2-repository-plugin (in version 0.13 or later) when an eclipse-repository module includes a feature patch. Feature patches allow to replace plug-ins contained in a feature with different versions of the plug-ins, so a target platform containing a feature and a corresponding feature patch has only the new versions of the plug-ins. The p2 mirror tool, which is used by the tycho-p2-repository-plugin, mirrors from the resolved target platform, but it is not aware of the semantics of feature patches. Therefore it also tries to mirror the original versions of the plug-ins, and issues a warning when it fails to do so.

In case the warning only reports unsatisfied dependencies to the original versions of plug-ins replaced through a feature patch, it can be safely ignored. All other cases probably indicate an internal error in Tycho and should be reported.

[edit] [WARNING] The packaging type 'eclipse-application' is deprecated; use 'eclipse-repository' instead.

This message is shown by the tycho-packaging-plugin (in version 0.15.0 or later) when packaging type eclipse-application is used. eclipse-application does not produce p2-enabled products and is no longer maintained. Use eclipse-repository instead.

[edit] [WARNING] De-selecting bundles in a target definition file is not supported

The Eclipse Target Editor has the possibiltiy to remove individual bundles from the resolved target definition content. (This is done via the selection on the Content tab of the editor, and results in a <includeBundles> tag in the target definition file.) This configuration is currently ignored Tycho (cf. bug 373776).

As an alternative, you can use target platform filters to remove bundles from the target platform.