|
|
|
|
|
|
Re: Does buckminster support jgit based Version Qualifiers? [message #1165776 is a reply to message #1161191] |
Fri, 01 November 2013 10:33  |
Eclipse User |
|
|
|
On 29/10/2013 17:41, Matthew Webber wrote:
> That works for us. Specifically, we use
> qualifier.replacement.*=generator:lastModified
> generator.lastModified.format='v'yyyyMMdd-HHmm
>
> The main thing to remember is that you need the .qualifier on the end of
> the version number in all bundles, features and products - we got caught
> once by that, when the version did not change because one component had
> a fixed version number.
The other thing to remember, if you run the build locally on your
machine, is that the changes to the bundles and features must be
committed, since the timestamp corresponds to the last git commit (If I
remember correctly).
I also experienced another problem when building on Jenkins triggered by
Gerrit: remember to set the refspec to $GERRIT_REFSPEC, otherwise the
timestamp will not correspond to the last patchset...
hope this helps :)
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Powered by
FUDForum. Page generated in 0.03739 seconds