IDEA 2.6? I guess so, since the latest EAP versions require JDK 1.4.
I have the opposite environment, I'm running IDEA on JDK 1.4 and
building on and for JDK 1.3.1_04. I'm using build 638, and have my
project properties to use the 1.3.1_04 JDK target and also set my Ant
builds (Ant properties) to execute under that custom JDK version. All
has been well.
Not sure if that helps or not.
Erik
Dominique Devienne wrote:
> Since I know many Ant committers are using IDEA, I'll give it a shot here...
>
> We're trying to use the Ant integration in IntelliJ. Are required by
> IntelliJ, we start it under JDK 1.3.1. Our project requires JDK 1.4+ (uses
> assert keyword and new 1.4 APIs), and the build.xml assumes it's running
> under 1.4 (not setup for cross-JDK compilation).
>
> Apparently, IntelliJ runs the Ant build in the JDK it was started on (I'm
> not sure if it's the same VM it running itself with), thus 1.3.1, when the
> build will only work with a JDK 1.4+!!!
>
> Does anyone know a fix/turn around for this situation? Thanks, --DD
>
> --
> To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|