Either way, if you find a way to distill this down to
the smallest example that will still trigger the bug,
you will be more likely to get useful feedback. 
Running Ant in verbose or debug mode might be
instructive, as might posting the actual error message
received (especially with the stacktrace that should
be generated in verbose and debug modes).

hth,
Matt

--- Ben Pracht <[EMAIL PROTECTED]> wrote:

> Should I open a defect for this?  Would that get
> someone's attention?
> 
> Thanks,
> 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]

Reply via email to