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=13524>. 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=13524 paths in build.xml not usable with cygwin Summary: paths in build.xml not usable with cygwin Product: Ant Version: 1.5.1 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] > 1) path not executed properly under cygwin: > when I run > <exec executable="/bin/sh"> > <arg line='-c "ls -lart *.??.html"'/> > </exec> > > it is converted to \bin\sh which is misunderstood under cygwin and > returns DOS error=3 (path not found) Here's the culprit (from types/Commandline.java): /** * Sets the executable to run. */ public void setExecutable(String executable) { if (executable == null || executable.length() == 0) { return; } this.executable = executable.replace('/', File.separatorChar) .replace('\\', File.separatorChar); } Not very Cygwin-friendly. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
