Re: Select JDK compiler

2007-07-16 Thread Roman Ivashin
Hello! You can always use JDK 1.5. If you will need to compile project with java 1.4 you can specify Of course, you can use properties here to avoid manual editing of build.xml: Built-in props "ant.build.javac.source" and "ant.build.javac.source" hold default value for JDK that i

Re: Select JDK compiler

2007-07-16 Thread Sunil Prabhakaran
hi Hezjing, Try the executable attribute in . By default it will be 1.5 for you. however try setting this executable attribute to the filepath for 1.4 javac.exe, whereever you require the sources to be compiled with 1.4 JDK hope this helps regards Sunil Prabhakaran On 7/17/07, hezjing <[EMAIL P

Select JDK compiler

2007-07-16 Thread hezjing
Hi! I have projects to be compiled with Java 1.4, or Java 1.5 and how can I explicitly select the compiler in build.xml? When I set fork="yes" when calling , how do I know which JDK compiler the is executing? There are Java 1.4 and 1.5 installed in my environment, with JAVA_HOME pointing to Ja