Reduced the warnings for both eclipse and ant compile