--- "Mount, Dave" <[EMAIL PROTECTED]> wrote:
> When I get compiler errors, Ant tells me "Compile failed, messages
> should have been provided."  Should I have provided messages somewhere
> and what is their purpose?  I don't see any attributes for that in the
> javac task.

It's referring to the error messages that the compiler should have
produced. Eg:
    [javac] Compiling 1 source file to D:\dianeh\src\main\classes
    [javac] D:\dianeh\src\main\src\foo\Foo.java(1): Type expected
    [javac] 1 error(s), 0 warning(s)
The last 2 lines are the messages the 'sj' compiler produces. Jikes, on
the other hand, produces:
    [javac] Compiling 1 source file to D:\dianeh\src\main\classes
    [javac] Found 1 syntax error in "D:/dianeh/src/main/src/foo/Foo.java":
    [javac]      1. public class FOO { break compiler }
    [javac]                            <------------>
    [javac] *** Syntax: Unexpected symbols ignored

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Reply via email to