Bug 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
Status: RESOLVED DUPLICATE of bug 10499
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.5.3
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.6
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-25 00:00 UTC by Michael A. McAngus
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael A. McAngus 2003-07-25 00:00:41 UTC
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.
Comment 1 Antoine Levy-Lambert 2003-07-25 07:00:39 UTC
This bug is already known and fixed in CVS head. You can download a nightly 
build from http://cvs.apache.org/builds/ant/nightly

*** This bug has been marked as a duplicate of 10499 ***