ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs CopyTest.java
Date Tue, 05 Feb 2002 23:20:27 GMT
Nope, no reason.... I was just following along with the standard pattern
I've seen in other places for that particular patch.


----- Original Message -----
From: "Magesh Umasankar" <umagesh@apache.org>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Tuesday, February 05, 2002 4:32 PM
Subject: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs
CopyTest.java


> > ehatcher    02/02/04 16:56:00
> >
> >   Modified:    src/main/org/apache/tools/ant/taskdefs Copy.java
> >                src/etc/testcases/taskdefs copy.xml
> >                src/testcases/org/apache/tools/ant/taskdefs CopyTest.java
>
>
> >                    if (srcFiles.length > 0) {
> >                        if (file == null) {
> >   -                        file = new File(srcFiles[0]);
> >   +                        file = new File(ds.getBasedir(),
srcFiles[0]);
> >                            filesets.removeElementAt(0);
> >                        } else {
> >                            throw new BuildException(
>
> Any specific reason why FileUtils.resolveFile is not
> being used instead of new File(...)?
>
> Cheers,
> Magesh
>
> ****************************************************
> *  Atom Bomb: An invention to end all inventions.  *
> ****************************************************
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message