Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 25455 invoked from network); 16 Mar 2010 00:17:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 00:17:57 -0000 Received: (qmail 50899 invoked by uid 500); 16 Mar 2010 00:17:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50830 invoked by uid 500); 16 Mar 2010 00:17:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 50822 invoked by uid 99); 16 Mar 2010 00:17:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 00:17:56 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 00:17:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NrKTR-0004cx-Ss for user@ant.apache.org; Mon, 15 Mar 2010 17:17:29 -0700 Message-ID: <27912120.post@talk.nabble.com> Date: Mon, 15 Mar 2010 17:17:29 -0700 (PDT) From: dr_jym To: user@ant.apache.org Subject: empty the file MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mikepiter@yahoo.com I am using Ant 1.7.0 not Ant 1.7.1 that has "truncate" task. I have to empty the file using Ant 1.7.0. on Linux - file name is /var/log/testmesg, and it has read/write permissions for everybody. I tried the following: and this does not empty the file. What am I doing wrong, or maybe there is another was to clean up the file? Thanks. -- View this message in context: http://old.nabble.com/empty-the-file-tp27912120p27912120.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org