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" <[EMAIL PROTECTED]>
To: "Ant-User" <[EMAIL PROTECTED]>
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 [[EMAIL PROTECTED]]
> Barracuda - MVC Component Framework for Webapps
> http://barracuda.enhydra.org
> ------------------------------------------------
>         "What a great time to be a Geek"
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to