Matt,

That's a good suggestion.  I've upgraded to 1.6.5, but it didn't help.

Any other ideas?

Thanks,
Ben Pracht

Matt Benson wrote:
You should probably start by making sure that
upgrading to Ant 1.6.5 (the current version) doesn't
fix the problem.

-Matt

--- Ben Pracht <[EMAIL PROTECTED]> 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