Re: [jdee-users] Jdee installation on Windows
Brought to you by:
paullandes
From: Shyamal P. <sh...@me...> - 2013-03-01 23:46:10
|
>>>>> "PQsr" == Pascal Quesseveur <pqu...@gm...> writes: PQsr> I have one remark. I have had problems because I use several PQsr> JDK versions (mainly 1.6 and 1.7). The jde class files were PQsr> compiled with JDK 1.7 by ant target. When I select an older PQsr> JDK from a jdee project bsh fails to load the jdee classes PQsr> because the classes are not compatible with the JVM used by PQsr> bsh. PQsr> I have modified the ant compile target to add target and PQsr> source attributes to force javac to produce classes compatible PQsr> with old JVM versions. I have selected 1.5 and it is working PQsr> fine. It would be great to update the build.xml file. Hey Pascal, Thanks for the report. Regarding the JVM target, are you suggesting something like the change below? diff --git a/jdee/build.xml b/jdee/build.xml index 7e1a200..ba9da57 100644 --- a/jdee/build.xml +++ b/jdee/build.xml @@ -167,6 +167,7 @@ description="compile the JDEE Java source code"> <mkdir dir="${build.java.dir}"/> <javac srcdir="${src.java.dir}" destdir="${build.java.dir}" + target="1.5" debug="true" classpathref="compile.classpath"/> </target> If so, it sounds like a very good idea. If you can confirm I will go ahead and commit it! Thanks, Shyamal |