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/07/25 02:00:42 UTC

DO NOT REPLY [Bug 21868] New: - javac task fails if there are space in the Absolute Path of the srcdir

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=21868>.
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=21868

javac task fails if there are space in the Absolute Path of the srcdir

           Summary: javac task fails if there are space in the Absolute Path
                    of the srcdir
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mike_mcangus@wendys.com


javac fails because the java compiler provided with the SDK does not handle 
spaces in path provided up to the Source File.

While it is true that spaces are not valid for package names, the directory 
structure beneath the package directories can have spaces without consequences.

If absolute paths are going to be fed to the java compiler by the javac task, 
then spaces should be escaped in a manner appropriate to the OS.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org