Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-786

Unnecessary jar dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      There are a few jar dependencies that consist of only a small number of
      classes, and which make sense to remove:

      ▪ org.apache.batik.gvt.svg12.MultiResGraphicsNode depends on GVTBuilder
      and BridgeContext from org.apache.batik.bridge. The GVT package should
      be usable without the bridge package.

      ▪ org.apache.batik.script.InterpreterPool uses
      org.apache.batik.dom.svg.SVGOMDocument just to determine if the interpreter
      should support SVG 1.2. This should be changed to use a parameter to
      createInterpreter(), or perhaps just disappear when some SVG version
      consolidation happens.

      ▪ org.apache.batik.script.rhino.EventTargetWrapper and
      org.apache.batik.script.rhino.svg12.GlobalWrapper depend on
      o.a.b.dom and o.a.b.dom.svg, respectively. Wrapper classes should
      probably be provided by the bridge class that creates the interpreter.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              cam Cameron McCormack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: