IDEA 5.1: generated ant build problem

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.

2 comments
Comment actions Permalink

Hello Thibaut,

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

Could you please file a JIRA issue for this?

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.