This doesn't change the java version to 1.7, it just changes it to whatever you have installed on the build machine.  With the stated dependency on 1.7, this could cause problems moving forward.  This is present in all the other build.xml files too.