Batik does not compile with JDK 1.5. This patch resolves this with an upgrade to Ant 1.6.2 and patches to the build files.
Created attachment 15047 [details] Path for the build files
Created attachment 15048 [details] ant-1.6.2.jar for lib/ directory
Created attachment 15049 [details] ant-launcher-1.6.2.jar for lib/ directory
Batik 'trunk' should now build under JDK 1.5 (aka Java 5.0).