I have a project with a target language level : 1.4, and is using a JDK 1.4 (Websphere 5.1 bundled jdk).
This project uses some IDEA GUI forms
It compiles and runs fine using the IDE run configurations.
I then wanted deliver it, and generated an ant build using "BuildMenu>generate ant build".
when i ran that script, the javac2 task didn't include the "source=1.4" attribute, which caused the script to fail as my project classes use some assertions.