Forrest
  1. Forrest
  2. FOR-955

upgrade our packaged Cocoon to use Cocoon-2.1 branch

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Component/s: Core operations
    • Labels:
      None

      Description

      These are the steps to get Forrest running with Cocoon-2.1 rather than the current situation which uses an old Cocoon trunk. Not everything yet works, but enough to give hope. See discussion at:
       Re: upgrade strategies for our packaged Cocoon
       http://marc.theaimsgroup.com/?l=forrest-dev&m=116969420304386

      --------------------------
      Steps:

      Revert main/java/org/apache/forrest/util/XPathTransformer.java r111200
      Revert main/java/org/apache/forrest/util/IdGeneratorTransformer.java r111200

      Edit main/webapp/WEB-INF/cocoon.xconf
      to change version attribute to ... cocoon version="2.1"

      Move content of WEB-INF/xconf/forrest-core.xconf into WEB-INF/cocoon.xconf
      Remove the <components> wrapper.

      Build cocoon-branch-2_1_X for the blocks that we use (see our etc/cocoon_upgrade) and replace the jars in lib/core
      1. 955.diff
        4 kB
        Thorsten Scherler

        Issue Links

          Activity

          David Crossley created issue -
          David Crossley made changes -
          Field Original Value New Value
          Link This issue is related to FOR-1017 [ FOR-1017 ]
          Thorsten Scherler made changes -
          Link This issue is cloned as FOR-1083 [ FOR-1083 ]
          David Crossley made changes -
          Link This issue is duplicated by FOR-1083 [ FOR-1083 ]
          Thorsten Scherler made changes -
          Attachment 955.diff [ 12388598 ]
          David Crossley made changes -
          Description These are the steps to get Forrest running with Cocoon-2.1 rather than the current situation which uses an old Cocoon trunk. Not everything yet works, but enough to give hope. See discussion at:
           Re: upgrade strategies for our packaged Cocoon
           http://marc.theaimsgroup.com/?l=forrest-dev&m=116969420304386

          --------------------------
          Steps:

          Revert main/java/org/apache/forrest/util/XPathTransformer.java r111200
          Revert main/java/org/apache/forrest/util/IdGeneratorTransformer.java r111200

          Edit main/webapp/WEB-INF/cocoon.xconf
          to change version attribute to ... cocoon version="2.1"

          Move content of WEB-INF/xconf/forrest-core.xconf into WEB-INF/cocoon.xconf
          Remove the <components> wrapper.

          Build cocoon-branch-2_1_X for the blocks that we use (see our etc/cocoon_upgrade) and replace the jars in lib/core

          --------------------------
          Some results:
          localhost:8888/samples/sample.html ... missing decoration
          localhost:8888/samples/sample.xml ... seems okay
          localhost:8888/samples/sample.pdf ... seems okay
          localhost:8888/index.html ... The requested resource "/index.html" could not be found
          localhost:8888/index.xml ... seems okay
          localhost:8888/index.pdf ... complains about linkmap-index.xml
          localhost:8888/linkmap.html ... The requested resource "/linkmap.html" could not be found
          These are the steps to get Forrest running with Cocoon-2.1 rather than the current situation which uses an old Cocoon trunk. Not everything yet works, but enough to give hope. See discussion at:
           Re: upgrade strategies for our packaged Cocoon
           http://marc.theaimsgroup.com/?l=forrest-dev&m=116969420304386

          --------------------------
          Steps:

          Revert main/java/org/apache/forrest/util/XPathTransformer.java r111200
          Revert main/java/org/apache/forrest/util/IdGeneratorTransformer.java r111200

          Edit main/webapp/WEB-INF/cocoon.xconf
          to change version attribute to ... cocoon version="2.1"

          Move content of WEB-INF/xconf/forrest-core.xconf into WEB-INF/cocoon.xconf
          Remove the <components> wrapper.

          Build cocoon-branch-2_1_X for the blocks that we use (see our etc/cocoon_upgrade) and replace the jars in lib/core
          David Crossley made changes -
          Affects Version/s 0.9-dev [ 12310041 ]
          Summary notes for experiment using Cocoon 2.1 branch in Forrest upgrade our packaged Cocoon to use Cocoon-2.1 branch
          David Crossley made changes -
          Link This issue is related to FOR-1091 [ FOR-1091 ]
          David Crossley made changes -
          Link This issue is related to FOR-1092 [ FOR-1092 ]
          David Crossley made changes -
          Link This issue is blocked by FOR-1093 [ FOR-1093 ]
          Thorsten Scherler made changes -
          Link This issue is blocked by COCOON-2241 [ COCOON-2241 ]
          David Crossley made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 0.9-dev [ 12310041 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              David Crossley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development