Another way of disabling the enhancement on compile time is removing the enhancer jar from the compiler classpath.
On Tue, Jun 30, 2009 at 4:28 PM, Michael Bouschen <[email protected]> wrote: > Hi Andy, > > you recently added the following line to projects.properties in tck2 in > order to turn OFF any post-compile enhancement with JDK1.6: > maven.compile.compilerargs= -proc:none > > This leads to a javac error when using JDK 1.5 (I'm using build > 1.5.0_15-b04): > java:compile: > [echo] Compiling to > d:\projects\jdo\workspace\jdo\trunk\tck2/target/classes > [javac] Compiling 1 source file to > D:\projects\jdo\workspace\jdo\trunk\tck2\target\classes > [javac] javac: invalid flag: -proc:none > [javac] Usage: javac <options> <source files> > > Do you have an idea how we can set the property in project.properties such > that it is only used when running JDK 1.6? > > Regards Michael > > -- > *Michael Bouschen* > *Prokurist* > > akquinet t...@spree GmbH > Bülowstr. 66, D-10783 Berlin > > Fon: +49 30 235 520-33 > Fax: +49 30 217 520-12 > Email: [email protected] > Url: www.akquinet.de <http://www.akquinet.de> > > akquinet t...@spree GmbH, Berlin > Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth > Amtsgericht Berlin-Charlottenburg HRB 86780 B > USt.-Id. Nr.: DE 225 964 680 >
