Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » .qualifier "ignored" in plugins
.qualifier "ignored" in plugins [message #533897] Mon, 17 May 2010 12:39 Go to next message
Maciej Oledzki is currently offline Maciej OledzkiFriend
Messages: 23
Registered: July 2009
Junior Member
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 #533918 is a reply to message #533897] Mon, 17 May 2010 13:24 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 #533950 is a reply to message #533918] Mon, 17 May 2010 14:34 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej OledzkiFriend
Messages: 23
Registered: July 2009
Junior Member
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.
Re: .qualifier "ignored" in plugins [message #534005 is a reply to message #533950] Mon, 17 May 2010 17:03 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej OledzkiFriend
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 #534015 is a reply to message #534007] Mon, 17 May 2010 17:45 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
With SVN it is possible to use a qualifier generator that uses the
repository revision number (this is what is used for buckminster itself
btw).

The various generators, and how they are used are explained in the
documentation. There are lots of different ways to use them, formats
etc. Take a look, and please ask again if something is unclear.

- henrik

Maciej Oledzki <maciej.oledzki@gmail.com> wrote:
> 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
>


--
- henrik
Re: .qualifier "ignored" in plugins [message #534206 is a reply to message #534015] Tue, 18 May 2010 11:24 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej OledzkiFriend
Messages: 23
Registered: July 2009
Junior Member
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 #534210 is a reply to message #534206] Tue, 18 May 2010 11:39 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 #534211 is a reply to message #534210] Tue, 18 May 2010 11:44 Go to previous messageGo to next message
Maciej Oledzki is currently offline Maciej OledzkiFriend
Messages: 23
Registered: July 2009
Junior Member
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?


Re: .qualifier "ignored" in plugins [message #534234 is a reply to message #534211] Tue, 18 May 2010 12:17 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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
Re: .qualifier "ignored" in plugins [message #534461 is a reply to message #534234] Wed, 19 May 2010 09:38 Go to previous message
Maciej Oledzki is currently offline Maciej OledzkiFriend
Messages: 23
Registered: July 2009
Junior Member
OK, thanks for explanations.
Previous Topic:com.ibm.icu not resolved in buckminster headless
Next Topic:merge new build into p2 repository?
Goto Forum:
  


Current Time: Thu Mar 28 23:34:16 GMT 2024

Powered by FUDForum. Page generated in 0.04250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top