Java6 can compile bytecode Java5 compatible, so I see no point in discriminating Java6.
There should be an option to force that - I do that in Ant with
| <property name="target" value="1.6"/>
| <property name="source" value="1.6"/>
| ...
| <javac classpathref="build.classpath" destdir="${jar.dir}"
debug="${javac.debug}" deprecation="${javac.deprecation}"
source="${source}" target="${target}" nowarn="on"
encoding="UTF-8">
| ...
|
Anyway with tests skipped your project has been built ok
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116711#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...