Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » setting the time zone for buckminster?
setting the time zone for buckminster? [message #653483] Wed, 09 February 2011 22:08 Go to next message
Tamar Cohen is currently offline Tamar CohenFriend
Messages: 103
Registered: July 2009
Senior Member
so ... Buckminster thinks I'm in GMT and so my hours are wrong.

I've got this set in my properties file:
# How .qualifier in versions should be replaced
qualifier.replacement.*=generator:buildTimestamp

# How the qualifier (last revision) should be formatted
generator.buildTimestamp.format='v'yyyyMMdd-HHmm

and when it runs, the HH are off because it's in GMT. How do I tell Buckminster my time zone? or Java?

thanks

Tamar
Re: setting the time zone for buckminster? [message #653496 is a reply to message #653483] Thu, 10 February 2011 00:02 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I have not checked how it works, but are you sure it is not your local
time but expressed as GMT/UTC? This would be a reasonable approach to
make sure that files produced in any timezone have timestamps in "global
order".

- henrik

On 2/9/11 11:08 PM, Tamar Cohen wrote:
> so ... Buckminster thinks I'm in GMT and so my hours are wrong.
>
> I've got this set in my properties file:
> # How .qualifier in versions should be replaced
> qualifier.replacement.*=generator:buildTimestamp
>
> # How the qualifier (last revision) should be formatted
> generator.buildTimestamp.format='v'yyyyMMdd-HHmm
>
> and when it runs, the HH are off because it's in GMT. How do I tell
> Buckminster my time zone? or Java?
>
> thanks
>
> Tamar
Re: setting the time zone for buckminster? [message #653532 is a reply to message #653483] Thu, 10 February 2011 07:34 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
There's a very good reason why the qualifiers use UTC. That makes the build completely insensitive to timestamps.

- thomas

On 2011-02-09 23:08, Tamar Cohen wrote:
> so ... Buckminster thinks I'm in GMT and so my hours are wrong.
>
> I've got this set in my properties file:
> # How .qualifier in versions should be replaced
> qualifier.replacement.*=generator:buildTimestamp
>
> # How the qualifier (last revision) should be formatted
> generator.buildTimestamp.format='v'yyyyMMdd-HHmm
>
> and when it runs, the HH are off because it's in GMT. How do I tell Buckminster my time zone? or Java?
>
> thanks
>
> Tamar
Previous Topic:Updating installed product headlessly
Next Topic:Dependency resolution - too broad?
Goto Forum:
  


Current Time: Wed Apr 24 13:32:28 GMT 2024

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

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

Back to the top