To attempt to get inside this problem...
I had a look inside the gump code that converts @DATE@ to a date string, and
it is in the Java code, which I beleive is called from gen.sh to create the
merge.xml and then build.sh/update.sh. It seems to take the "last modied
time (GMT)" of a file called .timestamp -- and if that doesn't exist then it
takes "now". [I think I've found the problem with this that part.]
Hmm, I did a search for .timestamp (trying to find out who created it, and I
could) and look what I find in gump.sh. I was not sure why it was there in
the scsript I copied, I assumed it was some facet of CVS - -and it might be.
Now it seems clear that by deleting that file we have change gump to run
from the date of the file to run from "now" != GMT.
#
# Do a CVS update
#
echo $SEPARATOR >> $GUMP_LOG
cd $GUMP
cvs -q update -dP >> $GUMP_LOG 2>&1
rm -f .timestamp <----------------------------------- This was in
the script I copied, I never understood it
The build.xml files used by krysalis-version-core and krysalis-ruper use
current date (although I did set TZ to GMT) so they are generated at run
time. As such, I think we could have a mismatch. I've not figured out how it
fails, but it does (emperically) seem to be. Maybe we ought remove that
"rm -f". [That said, this is only the case on servers that use gump.sh, or
similar, right? Still confused...]
I'd love other folks thoughts on the intentions around this area, if they
could...
BTW: I think the problem is that gump is not communicating with the build
scripts, but relying upon implicit behaviours. I'd love gump to pass
parameters to the ant script, that a build script can rely upon. For
example, for this, to pass:
-Dgump.date=XXXXXXXX
regards,
Adam
----- Original Message -----
From: "Nick Chalko" <[EMAIL PROTECTED]>
To: "Gump code and data" <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 9:23 AM
Subject: Date mismatch
> I run a local gump at
> http://gump.chalko.com/index.html
> but I sometimes get date mismatches on generated jars for example
>
>
> Build krysalis-ruper - ruper Wed Jul 30 04:04:33 PDT 2003
> Module: definition <http://gump.chalko.com/module_krysalis-ruper.html>
> home <http://www.krysalis.org/index.shtml> cvs
> <http://gump.chalko.com/cvs_krysalis-ruper.html>
> Dependencies: ant <http://gump.chalko.com/module_ant.html>
> krysalis-version-core
> <http://gump.chalko.com/krysalis-version-core.html> xml-xerces
> <http://gump.chalko.com/module_.html> commons-vfs
> <http://gump.chalko.com/module_commons-vfs.html> commons-logging
> <http://gump.chalko.com/module_jakarta-commons.html> commons-httpclient
> <http://gump.chalko.com/module_jakarta-commons.html> jakarta-regexp
> <http://gump.chalko.com/module_jakarta-regexp.html>
>
> Missing prereq
>
|/home/share/gump/gump-work/krysalis-version/build/ant-bootstrap/krysalis-ve
rsion-core/krysalis-version-core-20030729.jar|
> from krysalis-version-core
> <http://gump.chalko.com/krysalis-version-core.html>
>
>
> ------------------------------------------------------------------------
> Note this ran on the 30th, but was looking for the 29th.
>
> I imagine this is a TZ thing.
>
> Any ideas on where to fix this at.
>
> R,
> Nick
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]