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

<javac> task using Jikes compiler breaks if path has spaces

           Summary: <javac> task using Jikes compiler breaks if path has
                    spaces
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Jikes gets confused if there are spaces in the directory path to the Java source
files.

Say my root development path is "c:\my src", and my Java files are in "c:\my
src\com\foo\package", then I get two sets of messages.  First I get, for each
Java file, messages like:

    [javac] *** Caution: The input file "c:\my" does not have the ".java" 
extension.

Then I get another set of messages for each Java file:

    [javac] *** Caution: The input file "src/com/foo/package/SomeClass.java" was
not found.

The build fails, and does not generate any class files.

If I remove from my build file the line "<property name="build.compiler"
value="jikes"/>" then it compiles fine, so it appears to be only a problem for
Jikes.

I realize that having spaces in directories is a bad idea in general, but it
probably shouldn't break the Jikes task.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to