ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Cryder" <christi...@enhydra.org>
Subject Touch in 3.1 vs. 4.1
Date Thu, 01 Nov 2001 18:42:28 GMT
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>


Mime
View raw message