Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 66258 invoked from network); 1 Nov 2001 23:21:49 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 1 Nov 2001 23:21:49 -0000 Received: (qmail 13781 invoked from network); 1 Nov 2001 23:24:07 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 1 Nov 2001 23:24:07 -0000 Received: (qmail 29492 invoked by uid 97); 1 Nov 2001 23:21:47 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 29450 invoked by uid 97); 1 Nov 2001 23:21:45 -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 29439 invoked from network); 1 Nov 2001 23:21:45 -0000 Message-ID: <013e01c1632b$f6d87910$7691070f@cv.hp.com> From: "Steve Loughran" To: "Ant Users List" References: Subject: Re: Touch in 3.1 vs. 4.1 Date: Thu, 1 Nov 2001 15:21:39 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-ECS-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N you are confusing us greatly with your little-endian version numbers; I assume you mean 1.3 and 1.4 Why not have a look at how touch actually touches files; I think you will find it delegates the work to Project ----- Original Message ----- From: "Christian Cryder" To: "Ant-User" Sent: Thursday, November 01, 2001 10:42 Subject: Touch in 3.1 vs. 4.1 > Hi folks, > > I've been sucessfully using Touch from within a custom taskdef that runs in > Ant 4.1; my code looks something like this: > > Touch touch = new Touch(); > touch.setProject(project); > touch.setFile(fileName); > touch.execute(); > > I now need to use this taskdef in Ant 3.1, and I've discovered that that > version of Touch does not have a setProject() method like 4.1 does. Is it ok > just to comment this line out in 3.1? Or do I need to do something else > instead? > > Thanks, > Christian > ------------------------------------------------ > Christian Cryder [christianc@enhydra.org] > Barracuda - MVC Component Framework for Webapps > http://barracuda.enhydra.org > ------------------------------------------------ > "What a great time to be a Geek" > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: