ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47607] New: copy task is inconsistent across platforms w.r.t creating missing target directories
Date Thu, 30 Jul 2009 08:46:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47607

           Summary: copy task is inconsistent across platforms w.r.t
                    creating missing target directories
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jon.seymour@gmail.com


Scenario:

1. build.xml developed on Windows uses copy tasks which do not assume that
target directories exist.

2. when build.xml executes on Windows, target directories are created if they
do not already exist

3. however, when executed on Linux (SUSE 10), the copy task fails instead of
creating the target directories.

As a result, the build.xml is unnecessarily non-portable since the build fails
when executed on Linux.

Ideal resolution would be to add an option to the copy task that allowed target
the Windows auto-create behaviour to be forced on other platforms if the option
is specified.

This would be backward compatible with existing behaviour and provide an easy
thing to fix for ant users who encounter such issues.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message