You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by gl...@ca.ibm.com on 2000/06/29 15:23:11 UTC
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant
/taskdefs Touch.java Expand.java Untar.java defaults.properties
Hi Stefan.
You indicated that you needed to make Task.setProject public to ease resue.
When I scan the patch to Expand and Untar, I see you create a Touch object,
then call setProject and setTarget. Why didn't you use the existing
Project.createTask method to create the task and associate the project with
it? The setTarget method call would stay of course.
Glenn McAllister
TID - Software Developer - VisualAge for Java
IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant /taskdefs Touch.java Expand.java Untar.java defaults.properties
Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "GM" == glennm <gl...@ca.ibm.com> writes:
GM> Why didn't you use the existing Project.createTask method to
GM> create the task and associate the project with it?
Didn't look close enough, thanks a lot.
Stefan