You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Luis Bernardo (JIRA)" <ji...@apache.org> on 2013/04/25 23:56:16 UTC

[jira] [Commented] (FOP-2243) Typo in "/usr/bin/fop" breaks fop

    [ https://issues.apache.org/jira/browse/FOP-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642268#comment-13642268 ] 

Luis Bernardo commented on FOP-2243:
------------------------------------

this needs to be brought up with the OpenSuSE packagers. the fop script provided by FOP is not the one used by OpenSuSE.
                
> Typo in "/usr/bin/fop" breaks fop
> ---------------------------------
>
>                 Key: FOP-2243
>                 URL: https://issues.apache.org/jira/browse/FOP-2243
>             Project: Fop
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.1
>         Environment: OpenSuSE 12.3
>            Reporter: Johan Persson
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In the "/usr/bin/fop" start script there is a list of needed jars. Among them it is listed so:
> xml-commons-jaxp-1.3.apis
> There is s typo in this since the installed jar is actually named
> xml-commons-jaxp-1.3-apis
> The error is that there should be a hyphen (-) instead of a period after the version number.
> Reproducible: Always
> The fix is obvious correct the name of the JAR. Patch below. fop.OLD is the existing fop with error
> --- /usr/bin/fop.OLD    2013-04-25 13:31:30.614395317 +0200
> +++ /usr/bin/fop        2013-04-25 13:31:56.952600172 +0200
> @@ -33,7 +33,7 @@
>  # Rest of the configuration
>  MAIN_CLASS=org.apache.fop.cli.Main
> -BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-logging commons-io
> avalon-framework batik-all xml-commons-jaxp-1.3.apis
> xml-commons-jaxp-1.3-apis-ext"
> +BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-logging commons-io
> avalon-framework batik-all xml-commons-jaxp-1.3-apis
> xml-commons-jaxp-1.3-apis-ext"
>  # Set parameters
>  set_jvm

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira