Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Archiving products, archive naming

Thanx Jan.
This is what I need " I think". Can you please confirm which property can be used for the current version of
my product? Is it 

Rgds Christophe

On Tue, Apr 1, 2014 at 3:12 PM, Sievers, Jan <jan.sievers@xxxxxxx> wrote:
you can configure the "archiveFileName" prefix of the product e.g. using a maven property defined in the respective parent pom



From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Christophe Bouhier
Sent: Dienstag, 1. April 2014 14:38
To: Tycho user list
Subject: [tycho-user] Archiving products, archive naming

Is there a way to name the archives with a version number or other parameters I can use in the archive name?
I need to differentiate builds using different targets.

- Build 1) will use Kepler (.target has entry for Kepler).
- Build 2) will use Luna (.target has entry for Luna).
Both build the same .product file, but will have a different parent pom.xml  with varying Target Platform). 

Any options on how to deal with this?
(BTW: I didn't see a way to manipulate the file name with the goal tycho-p2-director:archive-products, but even if it did, would I somehow be able to differentiate which target was used to resolve dependencies and deduct a file name from this?).
One option, I have is to execute  bash script in the Hudson job running these builds, but I would really like to explore tycho's/Maven's possibilities prior to falling back to bash.
Thank You,
Christophe Bouhier
tycho-user mailing list

Back to the top