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 <[EMAIL PROTECTED]> 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 " <file> "due to > null" message. I'm > > using ant 1.6.2, and the task is: > > > > <copy todir="${filtered_source}" > > overwrite="false" > > verbose="true" > > flatten="false" > > includeEmptyDirs="true" > > > <fileset dir="." > casesensitive="false"> > > <include name="source/**/*"/> > > <exclude name="source/**/*.bmp"/> > > <exclude name="source/**/*.def"/> > > <exclude name="source/**/*.dll"/> > > <exclude name="source/**/*.gif"/> > > <exclude name="source/**/*.INX"/> > > <exclude name="source/**/*.jpg"/> > > <exclude name="source/**/*.LIB"/> > > <exclude name="source/**/*.MAP"/> > > <exclude name="source/**/*.MDA"/> > > <exclude name="source/**/*.ncb"/> > > <exclude name="source/**/*.obj"/> > > <exclude name="source/**/*.OBS"/> > > <exclude name="source/**/*.opt"/> > > <exclude name="source/**/*.plg"/> > > </fileset> > > <mapper type="glob" from="source*" > to="*"/> > > > > > > <!-- E2589 --> > > <filterset> > > <filter > token="__IBM_SCD_SCR_SERVICE_LEVEL__" > > value="${SCD_SCR_SERVICE_LEVEL}"/> > > <filter > token="__IBM_SCD_SCR_DRIVER_LEVEL__" > > value="${SCD_SCR_DRIVER_LEVEL}"/> > > <filter > token="__IBM_SCD_SCR_VERSION__" > > value="${SCD_SCR_VERSION}"/> > > <filter > token="__IBM_SCD_SCR_VERSION_TYPE__" > > value="${SCD_SCR_VERSION_TYPE}"/> > > <filter > token="__IBM_SCD_SCR_COPYRIGHT_STATEMENT__" > > value="${SCD_SCR_COPYRIGHT_STATEMENT}"/> > > <filter > token="__IBM_SCD_SCR_BASE_DIRECTORY__" > > value="${basedir}"/> > > <filter > > token="__IBM_SCD_SCR_FILTERED_SOURCE_DIRECTORY__" > > value="${filtered_source}"/> > > <filter > token="__IBM_SCD_SCR_BUILD_DATE__" > > value="${buildTimestamp}"/> > > <filter > token="__IBM_SCD_SCR_BUILD_NUMBER__" > > value="${buildNumber}"/> > > <filter > token="__IBM_SCD_SCR_USERS_GUIDE_NAME__" > > value="${SCD_SCR_USERS_GUIDE_NAME}"/> > > <filter > token="__IBM_SCD_SCR_OS_NAME__" > > value="${OSNameTrimmed}"/> > > <filter > token="__IBM_SCD_SCR_OS_VERSION__" > > value="${os.version}"/> > > <filter > token="__IBM_SCD_SCR_OS_ARCHITECTURE__" > > value="${os.arch}"/> > > </filterset> > > </copy> > > > > > > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]