Handle dynamic jdk.home in ant build.