I am editing the build file of an old project. When I add some jar files to a project using Java 1.6, it will not be created. It says:
[javac] javac: invalid target release: 1.6
Therefore, I have to say that the ant build file is for using javac 1.6.
How can I do it? I have JDK1.6 installed on my system, but by default javac is 1.5. I do not want to change javac by default ... I just want to set the javac location in this JDK1.6 / bin / javac prospectus. How to do this in XML ant build file?
Thanks,
KTM
ktm5124
source share