Re: modificationWriter like ccnet

Steve Murphy <[email protected]> Fri, 31 Aug 2012 14:22:46 +0100
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Yep your right date will do it (not played with it before).  ‘date +%Y-%m-%dT%X’ should work all platforms I think or if your not going to be running on HP-UX then just ‘date +%FT%X’

I wasn’t aware of the properties that are passed to the builder, certainly makes it a bit easier.  Although I think some manipulation would still have to take place as cvstimestamp has GMT on the end which svn doesn’t like and cctimestamp & cclastbuildtimestamp doesn’t have any dividers, which again doesn’t work in the svn log command. 

Regards,
Steve
-----Original Message----- 
From: Christian Baumann 
Sent: 31 August 2012 11:03 
To: [email protected] 
Subject: Re: [Cruisecontrol-user] modificationWriter like ccnet 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Not sure how you can get the time on UNIX (maybe Perl).
date

However, you could simply use the various properties passed to builders (see
http://cruisecontrol.sourceforge.net/main/configxml.html#buildproperties) to extract the
information you need. This would safe you from hacking shell scripts or other non-ant glue code.

Cheers,
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQQIv+AAoJEO2IMhqLUlJKWTIH/1XTE+WHaGHOqWCBCABdOHm2
+CktRWYjnC+fwnBWJRqdbzQJt02104BX+vAELS7+SR+0penQi+e9jtTrQVCDSSdP
f97rbiqq6Sf3GqZuGaMiGGJzNlbC+Y0T+RcG+VTkvRRjsHfShewiI2gj+LShQ+0/
3FBnAOMLdBC7upRDJUoi5It0k0+ukrgk4pbxtIEFoDMNzwaNUa5LCuA0s7I0kWph
gdr7Okmk8RwoeoPCGseClishwEXkzh3dniVmyN+TrID8xVOuMMkDQfBmQswrzul4
nW0RMmPZPc0D5dFJSBTdEN8vHLsQ5f+7q3wIHBv1+6Njg4zp3npFKXy0YV0DuQU=
=1e8o
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user