Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 56097 invoked from network); 22 Aug 2006 20:31:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 20:31:35 -0000 Received: (qmail 65307 invoked by uid 500); 22 Aug 2006 20:31:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65272 invoked by uid 500); 22 Aug 2006 20:31:30 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 65260 invoked by uid 99); 22 Aug 2006 20:31:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 13:31:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-ant-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 13:31:29 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GFctf-0005fD-5K for user@ant.apache.org; Tue, 22 Aug 2006 22:30:51 +0200 Received: from bi01p1.nc.us.ibm.com ([129.33.49.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Aug 2006 22:30:51 +0200 Received: from bpracht by bi01p1.nc.us.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Aug 2006 22:30:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@ant.apache.org From: Ben Pracht Subject: Re: Failed to copy due to null Date: Tue, 22 Aug 2006 16:30:41 -0400 Lines: 175 Message-ID: References: <20060816211848.66419.qmail@web55101.mail.re4.yahoo.com> Reply-To: bpracht@nc.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bi01p1.nc.us.ibm.com User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en In-Reply-To: <20060816211848.66419.qmail@web55101.mail.re4.yahoo.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Matt, I've put together a small test case in defect 40300 in the ant.apache.org Bugzilla database. I believe I've fixed the problem for my purposes by either eliminating the bad/unexpected bytes in the file, if I can figure out what they are, or changing my LANG environment variable from en_US.UTF-8 to en_US. Still, I've opened a bug report because I think this error message should be documented better. Also, somewhere there should be a mention about the LANG environment variable in the Ant documentation, since Ant uses Java, and Java seems to care about that in some way. Regards, Ben Pracht Matt Benson wrote: > If you've found the basic cause, does that mean it'd > be fairly easy for you to put together a working > example? If we can see exactly what's taking place, > maybe we can do something. > > -Matt > > --- Ben Pracht wrote: > > >>I feel like keeping this a secret since only one >>person responded. >>Nevertheless, the message really means the contents >>of the file being >>filtered contain characters which cannot be >>translated into UTF-8, I >>believe. It would have been more helpful to just >>issue a complete stack >>trace rather than this message. >> >>I know other people have had this message before, so >>I hope it helps them. >> >>Ben >> >>Ben Pracht wrote: >> >>>I'm receiving a "Failed to copy " "due to >> >>null" message. I'm >> >>>using ant 1.6.2, and the task is: >>> >>> >> overwrite="false" >>> verbose="true" >>> flatten="false" >>> includeEmptyDirs="true" > >>> > >>casesensitive="false"> >> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> > >>to="*"/> >> >>> >>> >>> >>> > >>token="__IBM_SCD_SCR_SERVICE_LEVEL__" >> >>>value="${SCD_SCR_SERVICE_LEVEL}"/> >>> > >>token="__IBM_SCD_SCR_DRIVER_LEVEL__" >> >>>value="${SCD_SCR_DRIVER_LEVEL}"/> >>> > >>token="__IBM_SCD_SCR_VERSION__" >> >>>value="${SCD_SCR_VERSION}"/> >>> > >>token="__IBM_SCD_SCR_VERSION_TYPE__" >> >>>value="${SCD_SCR_VERSION_TYPE}"/> >>> > >>token="__IBM_SCD_SCR_COPYRIGHT_STATEMENT__" >> >>>value="${SCD_SCR_COPYRIGHT_STATEMENT}"/> >>> > >>token="__IBM_SCD_SCR_BASE_DIRECTORY__" >> >>>value="${basedir}"/> >>> >>token="__IBM_SCD_SCR_FILTERED_SOURCE_DIRECTORY__" >>>value="${filtered_source}"/> >>> > >>token="__IBM_SCD_SCR_BUILD_DATE__" >> >>>value="${buildTimestamp}"/> >>> > >>token="__IBM_SCD_SCR_BUILD_NUMBER__" >> >>>value="${buildNumber}"/> >>> > >>token="__IBM_SCD_SCR_USERS_GUIDE_NAME__" >> >>>value="${SCD_SCR_USERS_GUIDE_NAME}"/> >>> > >>token="__IBM_SCD_SCR_OS_NAME__" >> >>>value="${OSNameTrimmed}"/> >>> > >>token="__IBM_SCD_SCR_OS_VERSION__" >> >>>value="${os.version}"/> >>> > >>token="__IBM_SCD_SCR_OS_ARCHITECTURE__" >> >>>value="${os.arch}"/> >>> >>> >>> >>> >>>Any guesses on this? The source file exists and >> >>has a non-zero length >> >>>and the target directory exists as well. >>> >>>Thanks, >>>Ben >> >> >> > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: >>user-unsubscribe@ant.apache.org >>For additional commands, e-mail: >>user-help@ant.apache.org >> >> > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org