|
Re: .qualifier "ignored" in plugins [message #533918 is a reply to message #533897] |
Mon, 17 May 2010 13:24 |
|
What qualifier generator are you using? What type of SCM?
- thomas
On 05/17/2010 02:39 PM, Maciej Oledzki wrote:
> Hi,
>
> I have added .qualifier suffix to all my plugins and features versions,
> in order to automatic bundle version update (for update site).
> But unfortunately it doesn't work as I expected; during every build
> process only features version are updated. Plugins versions during every
> build are exactly the same as in build when .qualifier was used for
> first time.
>
> What am I doing wrong?
> Or maybe it's a clever/better solution for automatic bundle version update?
>
|
|
|
|
Re: .qualifier "ignored" in plugins [message #534005 is a reply to message #533950] |
Mon, 17 May 2010 17:03 |
|
On 05/17/2010 04:34 PM, Maciej Oledzki wrote:
> Thomas Hallgren wrote on Mon, 17 May 2010 09:24
>> What qualifier generator are you using? What type of SCM?>
>
>
> I didn't specify any generator, and all projects are fetched from SVN by
> Hudson, not Buckminster.
>
What kind of qualifier replacement do you want?
- thomas
|
|
|
Re: .qualifier "ignored" in plugins [message #534007 is a reply to message #534005] |
Mon, 17 May 2010 17:22 |
Maciej Oledzki Messages: 23 Registered: July 2009 |
Junior Member |
|
|
The perfect solution:
plugin: qualifier is only changed when there is a change in plugin
feature: qualifier is only change when there is a change in one of it's plugins
Sufficient solutions:
plugins, features: qualifier is changed during each build
BTW: I add -D qualifier.replacement.*=generator:buildTimestamp -D generator.buildTimestamp.format=yyyyMMdd-HHmm
to my perform command, but it doesn't have influence on qualifier values, they still looks like: 201005171539, or
[Updated on: Mon, 17 May 2010 17:27] Report message to a moderator
|
|
|
|
|
Re: .qualifier "ignored" in plugins [message #534210 is a reply to message #534206] |
Tue, 18 May 2010 11:39 |
|
Hi Maciej,
Did you clean out the previous build?
- thomas
On 05/18/2010 01:24 PM, Maciej Oledzki wrote:
> I've read chapter about qualifier replacements once again, and
> unfortunately it didn't help.
>
> 1. I set qualifier replacement to buildTimestamp:
> -Dqualifier.replacement.*=generator:buildTimestamp 2. Custom format was
> also set:
> -Dgenerator.buildTimestamp.format=yyyyMMdd-HHmm
> 3. Build process was performed, everything end successfully, booth
> plugin and features have correct qualifier replacement.
> 4. Some changes are made to one plugin, and another build was performed.
> But in this case, only features versions contain current build time
> stamp. All plugins have exactly the same timestamp as in previous build.
>
> What should I do, for automatically update plugin versions during all
> builds?
>
>
|
|
|
|
Re: .qualifier "ignored" in plugins [message #534234 is a reply to message #534211] |
Tue, 18 May 2010 12:17 |
|
On 05/18/2010 01:44 PM, Maciej Oledzki wrote:
> No, I have noticed during my tests that removing buckminster.output and
> buckminster.temp solved my problem, but I think that its not clean
> solution.
>
> So cleaning is a only solution to my problem?
>
There are two philosophies that collide here.
1. Don't bump the version unless somethings changed.
2. Create a new version for every build.
Buckminster is very much in favor of the former since the latter will force your users to update each an every bundle
every time you post a new build. So yes, if you want to enforce that, then you do need to clean out the builds.
HTH,
- thomas
|
|
|
|
Powered by
FUDForum. Page generated in 0.04267 seconds