DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38771>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38771 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2006-02-23 21:07 ------- (In reply to comment #12) > (In reply to comment #11) > > (In reply to comment #8) > > > (In reply to comment #7) > > > > Hmm. Now how does that make sense? Hmm... the only way is that the > problem is > > > > in the Windows APIs (that I am guessing are) shared by CMD.EXE and the > > > > JVM's > > > > process execution component. > > > > > > My point being that perhaps a direct call to CMD goes through one less level of > > > processing... ? > > > > > > > > That's interesting, but irritating. Btw, I modified my test case, and > > verified > > that the quote disappears even when it's in the middle of an argument. > > Someone > > did something bad somewhere. > > (In reply to comment #10) > > > another interesting note is that while quotes are preserved on e.g. cmd /c echo > > > ..., they are stripped when you call e.g. cygwin "echo" directly... also cmd /c > > > cmd /c echo ... preserves quotes. Still the only workable conclusion I can see > > > is that cmd is treated differently from other executables... which is > > > dissatisfyingly cryptic. > > > > That's interesting, but irritating. Btw, I modified my test case, and > > verified > > that the quote disappears even when it's in the middle of an argument. > > Someone > > did something bad somewhere. > > > > So is the only solution to call cmd.exe /c then? > > If so, how would I then make that call to cl.exe or whatever compiler, given > that it'll have those quote characters in them? I just tried cmd.exe from the command line, and it still stripped the quote characters, so I can now blame Microsoft. My solution was to do something like this "-DFIXLVL=\"Test\"", and that seems to work, at least for Windows. While this is not an Ant bug, this kind of information would still be useful in the Ant docs somewhere. Thanks for your help, I've remarked the bug as invalid. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
