Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 56670 invoked from network); 10 Dec 1999 00:53:34 -0000 Received: from mercury.sun.com (192.9.25.1) by 63.211.145.10 with SMTP; 10 Dec 1999 00:53:34 -0000 Received: from shorter.eng.sun.com ([129.144.125.35]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA17551 for ; Thu, 9 Dec 1999 16:53:33 -0800 (PST) From: Costin.Manolache@eng.sun.com Received: from eng.sun.com (hobo115 [129.146.31.115]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id QAA10066 for ; Thu, 9 Dec 1999 16:53:31 -0800 (PST) Sender: Costin.Manolache@eng.sun.com Message-ID: <384FE04C.F6DD7ADB@eng.sun.com> Date: Thu, 09 Dec 1999 17:01:01 +0000 X-Mailer: Mozilla 4.51 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Ant References: <626E9D01B882D311B49E00A0C9EBE2E2678CB7@ES01-AUS.bmc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Twiggs, Glenn" wrote: > How are you setting tstamp & dstamp values? > A trivial Task - execute() will call Project.setProperty("tstamp", value), with value = Calendar.get(YEAR), etc. You can use ${tstamp} in build.xml to create files with the date in the name. ( as in the nightly builds - right now we use shell scripts for that ). Costin