[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Building patched feature from updatesite
|
I never had the chance to investigate this, but it is not possible to
include both a patch feature and the feature being patch in the same
repository [1]. Building patch feature itself should "just work". If
this does not work for you, we'll need a small standalone example
project to help you troubleshoot the problem.
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=376925
--
Regards,
Igor
On 12-07-03 3:53 PM, Antonio Rella wrote:
Hello
I like to create an updatesite containing a feature patch with
tycho/maven. I have an own updatesite containing the feature to patch.
However, it tells me the feature I’d like to patch could not be found
when building a new updatesite:
[INFO] Building core.delta.repository 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
core.delta.repository ---
[INFO] Deleting
X:\plattform\coredelta\myplatform.core.delta.updatesite\target
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
(default-build-qualifier) @ core.delta.repository ---
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @
core.delta.repository ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products
(default-publish-products) @ core.delta.repository ---
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86,
org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: core.delta.repository
raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR] Missing requirement:
myplatform.core.delta.feature.feature.group 1.0.0.201207021008
<tel:1.0.0.201207021008>requires 'myplatform.core.feature.feature.group
0.0.0' but it could not be found
[ERROR] Cannot satisfy dependency: core.delta.repository
raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT depends
on: myplatform.core.delta.feature.feature.group [1.0.0,1.0.1)
[ERROR]
My patch feature requires the feature to patch in version 2.1.0. How
can I download the feature to patch from my updatesite automatically
(without installation) so it can be found?
I’ve added the updatesite to my repositories in parent pom.xml:
---snip---
<repositories>
<repository>
<id>indigo</id>
<url><http://download.eclipse.org/releases/indigo%3C/url%3E><http://download.eclipse.org/releases/indigo>http://download.eclipse.org/releases/indigo</
<http://download.eclipse.org/releases/indigo%3C/url%3E>url
<http://download.eclipse.org/releases/indigo%3C/url%3E>>
<http://download.eclipse.org/releases/indigo%3C/url%3E>
<layout>p2</layout>
</repository>
<repository>
<id>mycore</id>
<layout>p2</layout>
<url>${core.url}</url>
</repository>
</repositories>
<properties>
<tycho-version>0.15.0</tycho-version>
<core.url><http://localhost/core/release/R2_1_0/><http://localhost/core/release/R2_1_0/>http://localhost/core/release/R2_1_0/</ core.url>
</properties>
---snap---
Best regards,
Toni
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user