[jira] [Updated] (BATIK-1233) Maven based build doesn't generate proper policy files for standalone tools
"simon steiner (JIRA)" <[email protected]> Tue, 4 Sep 2018 13:55:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.batik.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/BATIK-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
simon steiner updated BATIK-1233:
---------------------------------
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
was: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.
> Maven based build doesn't generate proper policy files for standalone tools
> ---------------------------------------------------------------------------
>
> Key: BATIK-1233
> URL: https://issues.apache.org/jira/browse/BATIK-1233
> Project: Batik
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Jan Tošovský
> Assignee: simon steiner
> Priority: Major
> Attachments: BATIK-1233.patch, batik-svgbrowser.zip
>
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)