Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Custom Qualifier Format in Product Export

Hello,

as far as I understand, this does not help me... Yes, you can set the
archive filename individually now, but what I want to achieve is to
customize the format of the Build Qualifier used by the automatic file
naming.

My custom Build Qualifier needs to be in the format:
v[Build Date]-[Build Time], e.g. v20120418-1800

Additionally, I need to include a milestone identifier between the
unqualified version and the actual build qualifier. The final result
should look like this:

${product-id}_${unqualifiedVersion}.[Milestone Identifier]_[Custom
Build Qualifier]

Thanks for any further hints.

Best regards
Timo


2012/5/2 Sievers, Jan <jan.sievers@xxxxxxx>:
> see http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=066a12dc3686f14c637f901fc413d6959830f682
>
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Timo Rohrberg
> Sent: Mittwoch, 2. Mai 2012 10:00
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] Custom Qualifier Format in Product Export
>
> Hello everybody,
>
> I would like to ask one question again that I posted a couple of weeks
> ago. Just to make sure to get any hint, anyone of you might have on
> that issue.
>
> Currently, I successfully build and export my Eclipse RCP, Eclipse
> RAP, and Equinox-based applications using Tycho and appropriate
> product- and reactor-projects. Now, I wonder what is the best way to
> specify a custom format for the build qualifier used in the resulting
> product ZIP-archives. I would like the final archive's file name look
> like this:
>
> ${product-id}_${unqualifiedVersion}.[Milestone Identifier]_[Custom
> Build Qualifier]
>
> whereas [Milestone Identifier] should be specified from outside as a
> Maven Property and is for example "M2", "M3", etc. and [Custom Build
> Qualifier] should look like this:
>
> v[Build Date]-[Build Time], e.g. v20120418-1800
>
> I already tried to use this in my product-project's pom.xml, but it
> doesn't help:
>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-packaging-plugin</artifactId>
> <version>${tycho-version}</version>
> <configuration>
> <qualifier>M2_${buildQualifier}</qualifier>
> <format>yyyyMMdd-HHmm</format>
> </configuration>
> </plugin>
>
> Do you have any hints how to achieve my goal?
>
> Thank you very much for any help.
>
> Best regards
> Timo Rohrberg
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top