Re: modificationWriter like ccnet
Christian Baumann <[email protected]> Fri, 31 Aug 2012 15:37:24 +0200
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can't test it right now, but I think when I wrote a similar function, I didn't have to convert the date. But I'm not sure. Indeed, SVN can handle quite an amount of different date formats - http://svnbook.red-bean.com/en/1.0/ch03s03.html#svn-ch-3-sect-3.3 - and you may have luck that it is supported out of the box. Cheers, Christian Am 31.08.2012 15:22, schrieb Steve Murphy: > 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 > >> 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 > > ------------------------------------------------------------------------------ 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQQL4UAAoJEO2IMhqLUlJKWVoH/1M8GybQrHb2sQ/GhhZHY6ru fz0ZYlz+YlKIdxUXFifUl98EPKTdAIcqUv/i3O+YPTnbx/ijIw/GKaFwPd0+7MHY ibIQy9rRxI5jQXL8LdLcBSFfyIAfIoG0uZjjtf17Q4hPUW8MnBWUPq4OQQtEfevI hSDCwqyedPjvPA00cTTL2FphVXjePOrJAfxwxg+Ef4Mgf9RJMwECRva0EjF1daFy +kneZIo4ysqeE5kaiBfDpu6wvyoJjnDA9S5rMSFqp8f0vp9292EVYatg4CAralU7 f/pvDx5mB21glwBWGI6OMHvW0qf6DiLc+99VJmkBuaM7vhWqLTvTRsdyfijo6QQ= =MMNk -----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/