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?

build the example project

 

https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application

 

Jan

 

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?

 

Regards,
Martin

 

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.

 

Regards,

Jan

 

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 build.properties 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:

 

    my-feature_root-1.0.0-SNAPSHOT-root.zip

 

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.:

 

my-repository-1.0.0-SNAPSHOT.zip\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?

 

Regards,
Martin 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


Back to the top