Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 99147 invoked from network); 4 Jun 2003 15:24:56 -0000 Received: from mail2.atl.registeredsite.com (64.224.219.76) by daedalus.apache.org with SMTP; 4 Jun 2003 15:24:56 -0000 Received: from imta02a2.registeredsite.com (imta02a2.registeredsite.com [64.225.255.11]) by mail2.atl.registeredsite.com (8.12.8/8.12.9) with ESMTP id h54FOpw2025957 for ; Wed, 4 Jun 2003 11:24:57 -0400 Received: from sean ([66.185.161.90]) by imta02a2.registeredsite.com with SMTP id <20030604152449.FIYD16584.imta02a2.registeredsite.com@sean> for ; Wed, 4 Jun 2003 11:24:49 -0400 From: "W. Sean Hennessy" To: "Ant Users List" Subject: RE: Problem with deleting a file inside javascript Date: Wed, 4 Jun 2003 08:24:31 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <548DBE8D8628D611B2370004762FCCCA041EB23E@MA-ATL80> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N try using the constructor with your language="javascript". tFile = new File("test.txt"); and see if your mileage varies. -----Original Message----- From: Manoj Sadangi [mailto:msadangi@manh.com] Sent: Wednesday, June 04, 2003 7:40 AM To: 'Ant Users List' Subject: RE: Problem with deleting a file inside javascript I will use one of these thanks, manoj -----Original Message----- From: peter reilly [mailto:peter.reilly@corvil.com] Sent: Wednesday, June 04, 2003 10:39 AM To: Ant Users List Subject: Re: Problem with deleting a file inside javascript looks like "delete" is a keyword in javascript (or rhino) use jython/jpython or beanshell Peter On Wednesday 04 June 2003 15:02, Manoj Sadangi wrote: > How can I delete a file inside javascript? > This is throwing error in the line f.delete() "missing name after . > operator" > > > thanks, > manoj > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org