Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » setting the time zone for buckminster?
setting the time zone for buckminster? [message #653483] Wed, 09 February 2011 17:08 Go to next message
Tamar Cohen is currently offline Tamar Cohen
Messages: 89
Registered: July 2009
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] Wed, 09 February 2011 19:02 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2498
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 02:34 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3214
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: Fri Jul 25 09:45:25 EDT 2014

Powered by FUDForum. Page generated in 0.15738 seconds