Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.12
    • Fix Version/s: 2.1.12
    • Component/s: Blocks: Batik, Blocks: FOP
    • Labels:
      None
    • Other Info:
      Patch available
    • Affects version (Component):
      Blocks: FOP - 1.0.0

      Description

      Here are instructions for updating the current FOP-0.95 serializer in Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):

      1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
      2. download (and build) FOP-1.0 from http://xmlgraphics.apache.org/fop/download.html
      3. update jars in %COCOON_HOME%\lib\*:
          -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with %FOP_HOME%\lib\batik-all-1.7.jar
          -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with %FOP_HOME%\build\fop.jar
          -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
          -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
          -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
      4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see attached file)
      5. build Cocoon
      1. COCOON-2295-FOP_1_1.patch
        25 kB
        Francesco Chicchiriccò
      2. COCOON-2295.patch
        20 kB
        Francesco Chicchiriccò
      3. jars.xml
        44 kB
        ron van den branden
      4. jars.patch
        2 kB
        ron van den branden

        Issue Links

          Activity

          David Crossley made changes -
          Link This issue relates to FOR-1193 [ FOR-1193 ]
          Francesco Chicchiriccò made changes -
          Link This issue relates to FOP-2218 [ FOP-2218 ]
          Francesco Chicchiriccò made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Francesco Chicchiriccò made changes -
          Summary Integrate FOP 1.1 Integrate FOP 1.0
          Francesco Chicchiriccò made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Francesco Chicchiriccò made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Francesco Chicchiriccò made changes -
          Summary Integrate FOP 1.0 Integrate FOP 1.1
          Francesco Chicchiriccò made changes -
          Attachment COCOON-2295-FOP_1_1.patch [ 12569168 ]
          Francesco Chicchiriccò made changes -
          Attachment COCOON-2295.patch [ 12568972 ]
          Francesco Chicchiriccò made changes -
          Summary Integrate FOP-1.0 Integrate FOP 1.0
          Francesco Chicchiriccò made changes -
          Summary integrating FOP-1.0 into Cocoon-2.1.12-dev Integrate FOP-1.0
          Francesco Chicchiriccò made changes -
          Component/s Blocks: Batik [ 12310454 ]
          Francesco Chicchiriccò made changes -
          Assignee Francesco Chicchiriccò [ ilgrosso ]
          Francesco Chicchiriccò made changes -
          Link This issue is part of COCOON-2333 [ COCOON-2333 ]
          Francesco Chicchiriccò made changes -
          Fix Version/s 2.1.12 [ 12312903 ]
          Jasha Joachimsthal made changes -
          Assignee Jasha Joachimsthal [ jashajoachimsthal ]
          David Crossley made changes -
          Link This issue is related to COCOON-2289 [ COCOON-2289 ]
          ron van den branden made changes -
          Description Here are instructions for updating the current FOP-0.95 serializer in Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):

          1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
          2. download (and build) FOP-1.0 from http://xmlgraphics.apache.org/fop/download.html
          3. update jars in %COCOON_HOME%\lib\*:
              -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with %FOP_HOME%\lib\batik-all-1.7.jar
              -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with %FOP_HOME%\build\fop.jar
              -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
              -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
              -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
              -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
          4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see attached file)
          5. build Cocoon
          Here are instructions for updating the current FOP-0.95 serializer in Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):

          1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
          2. download (and build) FOP-1.0 from http://xmlgraphics.apache.org/fop/download.html
          3. update jars in %COCOON_HOME%\lib\*:
              -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with %FOP_HOME%\lib\batik-all-1.7.jar
              -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with %FOP_HOME%\build\fop.jar
              -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
              -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
              -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
          4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see attached file)
          5. build Cocoon
          Jasha Joachimsthal made changes -
          Comment [ Strange, at http://cocoon.zones.apache.org/demos/21branch/samples/blocks/batik/welcome they do work. I'll have a look at it, but not immediately. ]
          ron van den branden made changes -
          Comment [ Actually, the SVGSerializer NPE also occurs with the current FOP-0.95 block in Cocoon-2.1.12-dev (as fixed in issue https://issues.apache.org/jira/browse/COCOON-2289). All of the JPEG and PNG examples of the Batik block fail with the current Cocoon-2.1.12-dev trunk code. ]
          Jasha Joachimsthal made changes -
          Assignee Jasha Joachimsthal [ jashajoachimsthal ]
          ron van den branden made changes -
          Field Original Value New Value
          Attachment jars.patch [ 12450490 ]
          Attachment jars.xml [ 12450491 ]
          ron van den branden created issue -

            People

            • Assignee:
              Francesco Chicchiriccò
              Reporter:
              ron van den branden
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development