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 ------- Additional Comments From [EMAIL PROTECTED] 2006-02-23 20:30 ------- (In reply to comment #4) > Created an attachment (id=17787) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17787&action=view) [edit] > Example showing that this is not Ant's fault > > extract the files into a folder and run ant. You will see two sets of output, > one from calling "java ShowArgs" with <exec> and quotes embedded in XML args; > the other calling Run with <java>, which uses the core Java APIs to run java > ShowArgs with quotes specified in arguments. The quotes still disappear; thus > I must attribute this behavior to Java. I am running Sun JDK 1.4.2_10. Thanks for your quick response. Unfortunately, your example is missing the arguments for the <java classname="Run" classpath="." />. But, if I understand what you're saying, Ant is correctly converting " to quote (") in the string, then calling making a core Java API call to run java.exe with the specified arguments, including the quoted argument. Then, the Java API, according to your example must be stripping out quotes in the middle of the argument. Am I correct? If so, which core API call is it making, and can I have an example of it? -- 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]
