Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 39099 invoked from network); 5 Feb 2002 21:32:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Feb 2002 21:32:28 -0000 Received: (qmail 17789 invoked by uid 97); 5 Feb 2002 21:32:29 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 17773 invoked by uid 97); 5 Feb 2002 21:32:29 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 17762 invoked from network); 5 Feb 2002 21:32:28 -0000 Message-ID: <020601c1ae8c$9c8e9910$270610ac@manu.com> From: "Magesh Umasankar" To: "Ant Developers List" References: <20020205211428.10834.qmail@icarus.apache.org> Subject: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs CopyTest.java Date: Tue, 5 Feb 2002 16:32:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > 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: For additional commands, e-mail: