You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/03/04 18:37:34 UTC
DO NOT REPLY [Bug 17640] New: -
building ant: chmod returned -1
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.