ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs CopyTest.java
Date Tue, 05 Feb 2002 21:32:22 GMT
> 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>


Mime
View raw message