WCM-1 fix issue with ant and jdk7