Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building product with feature and feature individually

Martin,

The feature depends on other features in the product, so they need to be resolved during the build. The feature is developed by someone else and I want to avoid that they have to build the whole product locally. I was able to set up a build that does this by referencing the product repo.

Maybe I need three builds, (1) product without feature, (2) feature, and (3) product with feature? I hope the solution will be simpler than that.

I'd appreciate if you could provide access to the example you mentioned.

Thanks,
Lutz.



On Mon, Mar 9, 2015 at 11:06 AM, SCHREIBER.Martin <M.SCHREIBER@xxxxxxxxxxxxx> wrote:

Hi Lutz,

 

why do you need to reference the product repo in the feature?

Do you know the Tycho Demo Project [1]? Maybe that helps. I can also provide a working example if you like which builds a feature (and its plugins) and a product where both could be executed individually.

 

-martin

 

 

[1] https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application

 

 

Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Lutz Wrage
Gesendet: Montag, 09. März 2015 15:11
An: Tycho user list
Betreff: [tycho-user] Building product with feature and feature individually

 

Dear all,

I am trying to understand the best way to set up the tycho build for the following scenario:

I have a product P containing a couple of features F1, F2, ... To build the product I currently have a pom that lists all features (and plugins) as modules. This works fine, and I also generate an update site that has all features in it.

Our new requirement is to also be able to build feature F1 individually and create a separate repository so users can update this feature more often than the product. Is it possible to do this by just adding to the existing pom files, or do I always have to build F1 separately and use the resulting repository in the product build?

When splitting the build in two steps it looks like I have a cyclic dependency problem. To build the feature individually, I need to reference the product repo, and to build the product I need to reference the feature repo.


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top