DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2003-09-25 09:37 --- *** Bug 23401 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2003-07-25 07:00 --- *** Bug 21868 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly --- Additional Comments From [EMAIL PROTECTED] 2003-06-03 14:42 --- I believe this bug is leading to problems in Tomcat, seen in bug 18595 and bug 19725.
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Additional Comments From [EMAIL PROTECTED] 2003-06-03 14:47 --- I am re-opening this bug. Based on the fix I have seen for it in a recent 1.6 alpha nightly build it is not the correct fix. I was hoping it would make 1.5, but it seems to have missed the last 1.5 build (1.5.3). Here is the 'fix' in the 1.6 nightly build: for (int i = firstFileName; i args.length; i ) { if (quoteFiles args[i].indexOf( ) -1) { out.println(\ args[i] \); } else { out.println(args[i]); } } This is not a complete fix. There are three problems with this fix: 1. It needs to escape backslashes, see bug 17683. Without doing this it will not work, especially on Windows which always uses backslashes. 2. The method decides whether to quote the names using the quoteFiles boolean parameter. However, there is no way of setting quoteFiles to True. There is no way of configuring Ant to do this. When used in Tomcat this will not be set. It would be great to always set this to True if running on Windows. At the moment, swapping ant.jar from the latest Ant 1.6 nightly-build into Tomcat 4.1.24 (which uses Ant 1.5.1), and restarting Tomcat does not fix the problem. The fix needs to work automatically. 3. The fix checks whether there is space before quoting the file. If someone wants to quote the file, why not always quote them. There might be other characters in the filename that need quoting (other white space). If it is going to check for spaces, then why do we need quoteFiles? Why not always quote files with spaces in their names? I would be grateful if the fix could be re-done. At the moment the default install of Tomcat on Windows doesn't work for small to medium sized applications.
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Status|REOPENED|NEW --- Additional Comments From [EMAIL PROTECTED] 2003-06-03 15:03 --- Stefan Bodewig being on vacations, I am going to work on this bug. Cheers.
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-04-29 13:18 --- Should be fixed for JDK 1.4 with nightly build 2003-04-30. We'll need some more field testing to determine which other external compilers need similar treatment - I'd bet it depends on the OS as well.
DO NOT REPLY [Bug 10499] - Compiler task doesn't handle spaces in filenames correctly
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=10499. 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=10499 Compiler task doesn't handle spaces in filenames correctly [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2003-03-10 09:31 --- *** Bug 17683 has been marked as a duplicate of this bug. ***