ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: "Unclosed comment" error with jdk1.4.1 while compiling
Date Wed, 04 Sep 2002 23:27:12 GMT
Thats extremely bizarre, to say the least.  All Ant does is hand the 
Java files (that are out of date) to javac.

Try running with fork="true" and with -verbose (or -debug) to see more 
details, where you can see the command-line its invoking for compilation.


Zabel, Ian wrote:
> When I compile our code with the javac task in Ant 1.5 or 1.5.1beta, while
> running with jdk1.4.1 RC, I get compile errors saying that we have unclosed
> comments at the end of our classes.
> Our classes end like this:
> class OurClass
> {
> } // end OurClass
> // end
> This is just a legacy coding convention that is in about 300 classes. When
> compiling these classes with jdk1.4.1 RC from the command line, they all
> compile fine. It's only a problem when compiling through ant, while running
> on jdk1.4.1 RC. If we run ant with jdk1.4.0, it works fine too.
> Are there compatibility problems with jdk1.4.1 RC and ant 1.5+?
> Ian Zabel

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message