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 49430] New: Bootstrap failure using JDK 1.4
Date Fri, 11 Jun 2010 18:19:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49430

           Summary: Bootstrap failure using JDK 1.4
           Product: Ant
           Version: nightly
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jglick@netbeans.org


Using either 1.8.1 or bootstrap.sh, I am unable to build Ant dev sources using
JDK 1.4.2_17 on Ubuntu x86:

...
Copying 5 files to .../build/classes
Copying .../src/main/org/apache/tools/ant/antlib.xml to
.../build/classes/org/apache/tools/ant/antlib.xml
.../build.xml:962: The following error occurred while executing this line:
.../build.xml:569: Failed to copy .../src/main/org/apache/tools/ant/antlib.xml
to .../build/classes/org/apache/tools/ant/antlib.xml due to Invalid argument
    at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:877)
    at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:544)
        ...
Caused by: java.io.IOException: Invalid argument
    at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
    at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:392)
    at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:487)
    at
org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:532)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:560)
    at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:862)
    ... 31 more

Alternately, copying defaults.properties may fail. There is no such problem
using JDK 5 (or 6).

Immediately before the failure, position is 0 and chunk is the file size;
destFile does exist.

-- 
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