ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17640] New: - building ant: chmod returned -1
Date Tue, 04 Mar 2003 17:37:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17640>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17640

building ant: chmod returned -1

           Summary: building ant: chmod returned -1
           Product: Ant
           Version: 1.5.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: bsmith@ignitelearning.com


When building ant via the command line "build.sh ant dist" will fail on linux
with the error
"file:/work/bsmith/export/buildtools/imports/ant1.5/build.xml:788: chmod
returned: -1"

Apparently ant is passing too many arguments to chmod. If you look at lines 788
and 862 of build.xml, you will see that these should both specify "dir" instead
of "file" for the type attribute. Making this change corrects the problem.

Mime
View raw message