I can see that the ecj compiler which come with eclipse 3.1 has a dummy -O option. But at the moment eclipse 3.1 packages are not in sid :(
Sanyi 2005/8/26, Sandor Bodo-Merle <[EMAIL PROTECTED]>: > On a debian sid machine trying to compile a project with ant with the > optimization set to "on" and using the default javac from > java-gcj-compat-dev i get an error. > > [javac] Compilation arguments: > ... > [javac] '-g' > [javac] '-O' > ... > [javac] directory does not exist: -O > > It seems that ant passes the -O option to the javac compiler while > ecj-boostrap does not support this option. > How this bug should be treated? Implement the -O option in > ecj-boostrap or to patch ant to handle ecj in a different way? > > Sanyi > > ii ant 1.6.5-1 Java based build tool like make > ii ecj-bootstrap 3.0.1-5 bootstrap version of the > Eclipse Java compiler > ii java-gcj-compat-dev 1.0.30-4 Java runtime environment with > GCJ >

