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. Erik 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 OurClass.java > > > 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 > Cirqit.com > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>