Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to add rootfiles properly?

Projects of type eclipse-repository by default only build a zipped p2 repository. If you also want to build distributions archives, you need to configure this explicitly:





From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Martin Hristov Hristov
Sent: Dienstag, 11. März 2014 10:18
To: Tycho user list
Subject: Re: [tycho-user] How to add rootfiles properly?


Hi Jan,


Thanks for your quick reply. Unfortunately, we are developing for a third-party Eclipse-based platform which does not support P2 and thus we cannot utilize the P2 Update mechanism. The way that we handle deployments is by providing distribution archives which overwrite the old versions. Do you know if there is a way to include these rootfiles the way that I described it using Tycho/Maven?




On Tue, Mar 11, 2014 at 11:09 AM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:

works as designed. feature root files are product installation root files, not p2 repo root files.


the binary/ folder is the p2 repo representation of the root files.

They will be extracted into installation root on product install.





From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Martin Hristov Hristov
Sent: Dienstag, 11. März 2014 09:39
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] How to add rootfiles properly?


Hi all,


I have a problem adding rootfiles to my distribution ZIP file and cannot seem to find a solution. I have an eclipse-feature and an eclipse-product. All rootfiles are defined in the feature's file:


    root = rootfiles/


The rootfiles/ directory in the project contains the rootfiles themselves. When I build the eclipse-feature, I see that the following artifact is created in the target/ directory:


This ZIP file contains the correct root files.


When I build the eclipse-repository project, in the generated distribution archive file, instead of having my root files at the root level, I get my rootfiles in a binary/ subdirectory, e.g.:\binary\my-feature_root-1.0.0-SNAPSHOT


This file is an archive file itself. I am really confused as I would expected to get the rootfiles at the root of the distribution ZIP file as I do when I do a manual export within Eclipse. Can you please guide me on how to resolve this issue?



tycho-user mailing list


Back to the top