Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 99250 invoked from network); 1 Aug 2002 14:31:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Aug 2002 14:31:39 -0000 Received: (qmail 7873 invoked by uid 97); 1 Aug 2002 14:31:53 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 7832 invoked by uid 97); 1 Aug 2002 14:31:52 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 7820 invoked by uid 98); 1 Aug 2002 14:31:51 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Server-Uuid: 6f70d564-fb91-11d4-8d7a-0002a52cad74 From: "Dowd, Brian" To: "'ant-user@jakarta.apache.org'" Subject: Dynamic version file generation Date: Thu, 1 Aug 2002 15:31:19 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) X-WSS-ID: 115799CA918497-01-02 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <115799CA918497-01@MMS__lehman.com_> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N HI All, I want to do the following with an ant 'release' target (syntax = "ant release -Dversion=3_1": Currently it does a clean, build, cvs tag and creates a .tar.gz file upon release, I want it to also : 1. dynamically create a file in a specific location called VERSION which contains the line "3_1" 2. cvs commit that VERSION file. (already done - trivial) In this way a VERSION file specific to the release version is generated and is part of the version control and the tarball. I have done this already using an but there is I suspect a cleaner (i.e. non-fork/exec) way to generate a file dynamically - has anyone any ideas ? Any help much appreciated. Cheers, Brian. ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: For additional commands, e-mail: