You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Jan Tošovský (JIRA)" <ji...@apache.org> on 2018/06/18 21:27:00 UTC

[jira] [Updated] (BATIK-1234) [PATCH] Batik tools cannot be run using java -jar xxx.jar when built with Maven

     [ https://issues.apache.org/jira/browse/BATIK-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Tošovský updated BATIK-1234:
--------------------------------
    Attachment: BATIK-1234.patch

> [PATCH] Batik tools cannot be run using java -jar xxx.jar when built with Maven
> -------------------------------------------------------------------------------
>
>                 Key: BATIK-1234
>                 URL: https://issues.apache.org/jira/browse/BATIK-1234
>             Project: Batik
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Jan Tošovský
>            Priority: Major
>         Attachments: BATIK-1234.patch
>
>
> When Batik is built with Maven and then prepared for distribution via ant's dist-zip goal, all Batik tools (Squiggle, Rasterizer, ...) end up one folder up in the root folder. In this case, however, there are wrong paths to all dependencies in the manifest file.
> So instead of executing tools via e.g. 'java -jar batik-rasterizer.jar' all dependencies have to be specified using java -cp ... org.apache.batik.apps.rasterizer.Main.
> The proposed patch fixes this by specifying the 'classpathPrefix' option in the maven-jar-plugin.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org