ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Touch in 3.1 vs. 4.1
Date Thu, 01 Nov 2001 23:21:39 GMT
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" <christianc@enhydra.org>
To: "Ant-User" <ant-user@jakarta.apache.org>
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message