Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.13
-
None
-
None
-
None
Description
When using maven build in favor of ant scripts as recommended in https://issues.apache.org/jira/browse/BATIK-1232 I cannot run SNAPSHOT versions of standalone tools (Squiggle, Rasterizer) because of java.security.AccessControlException. It is caused by using default 'policy' file with hardcoded library names, while those do not match the SNAPSHOT names. In the ant script there is replacement procedure which ensures proper names regardless the version.
No error should occur:
mvn clean install -DskipTests
ant dist-zip
cd batik-1.11.0-SNAPSHOT
java -jar batik-rasterizer-1.11.0-SNAPSHOT.jar