Cocoon
  1. Cocoon
  2. COCOON-2305

Remove lib/core/servlet_2_2.jar (because 2.3 is needed)

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.12
    • Fix Version/s: 2.1.12
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Urgency:
      Low
    • Affects version (Component):
      Cocoon Core

      Description

      Hello,

      this version of the Servlet API is needed _and already there_ : tools/jetty/lib/servlet-2.3.jar

      so you see the problem:
      ----
      cd $COCOON_HOME
      ./build eclipse-plugin
      Start Eclipse
      Import the project
      Version 2.2 is in the classpath but should not be

      => So the Lenya build with Eclipse is not possible
      ----


      Cheers!
      Daniel Bruessler
      1. COCOON-2305-2.patch
        7 kB
        Francesco Chicchiriccò

        Issue Links

          Activity

          Hide
          Hudson added a comment -
          Integrated in Cocoon 2.1.X #83 (See [https://builds.apache.org/job/Cocoon%202.1.X/83/])
              [COCOON-2305] #resolve (Revision 1450770)

               Result = SUCCESS
          ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1450770
          Files :
          * /cocoon/branches/BRANCH_2_1_X
          * /cocoon/branches/BRANCH_2_1_X/cocoon.bat
          * /cocoon/branches/BRANCH_2_1_X/cocoon.sh
          * /cocoon/branches/BRANCH_2_1_X/lib/core/servlet-2.3.jar
          * /cocoon/branches/BRANCH_2_1_X/lib/core/servlet_2_2.jar
          * /cocoon/branches/BRANCH_2_1_X/lib/jars.xml
          * /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
          * /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletRequestWrapper.java
          * /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletResponseWrapper.java
          * /cocoon/branches/BRANCH_2_1_X/tools/jetty/lib/servlet-2.3.jar
          Show
          Hudson added a comment - Integrated in Cocoon 2.1.X #83 (See [ https://builds.apache.org/job/Cocoon%202.1.X/83/ ])     [ COCOON-2305 ] #resolve (Revision 1450770)      Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1450770 Files : * /cocoon/branches/BRANCH_2_1_X * /cocoon/branches/BRANCH_2_1_X/cocoon.bat * /cocoon/branches/BRANCH_2_1_X/cocoon.sh * /cocoon/branches/BRANCH_2_1_X/lib/core/servlet-2.3.jar * /cocoon/branches/BRANCH_2_1_X/lib/core/servlet_2_2.jar * /cocoon/branches/BRANCH_2_1_X/lib/jars.xml * /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt * /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletRequestWrapper.java * /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/mocks/javax/servlet/http/HttpServletResponseWrapper.java * /cocoon/branches/BRANCH_2_1_X/tools/jetty/lib/servlet-2.3.jar
          Francesco Chicchiriccò made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Hide
          Francesco Chicchiriccò added a comment -
          Not receiving any feedback in the last days, committing provided patch and closing issue.
          http://svn.apache.org/r1450770
          Show
          Francesco Chicchiriccò added a comment - Not receiving any feedback in the last days, committing provided patch and closing issue. http://svn.apache.org/r1450770
          Francesco Chicchiriccò made changes -
          Attachment COCOON-2305.patch [ 12568939 ]
          Francesco Chicchiriccò made changes -
          Attachment COCOON-2305-2.patch [ 12569936 ]
          Hide
          Francesco Chicchiriccò added a comment - - edited
          Reworking the first patch in order to cope with more usage scenarios.

          Please check if it is working for you as well.

          In addition to the patch, you need to:
           * svn remove lib/core/servlet_2_2.jar
           * svn move tools/jetty/lib/servlet-2.3.jar lib/core/
          Show
          Francesco Chicchiriccò added a comment - - edited Reworking the first patch in order to cope with more usage scenarios. Please check if it is working for you as well. In addition to the patch, you need to:  * svn remove lib/core/servlet_2_2.jar  * svn move tools/jetty/lib/servlet-2.3.jar lib/core/
          Francesco Chicchiriccò made changes -
          Attachment COCOON-2305.patch [ 12568939 ]
          Hide
          Francesco Chicchiriccò added a comment -
          This patch makes ubiquitous usage of tools/jetty/lib/servlet-2.3.jar instead of lib/core/servlet_2_2.jar
          In addition to the patch, lib/core/servlet_2_2.jar must be removed.

          I've made some tests (including building dist) and everything seems to look fine.

          Please confirm.
          Show
          Francesco Chicchiriccò added a comment - This patch makes ubiquitous usage of tools/jetty/lib/servlet-2.3.jar instead of lib/core/servlet_2_2.jar In addition to the patch, lib/core/servlet_2_2.jar must be removed. I've made some tests (including building dist) and everything seems to look fine. Please confirm.
          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 -
          Field Original Value New Value
          Fix Version/s 2.1.12 [ 12312903 ]
          Daniel Bruessler created issue -

            People

            • Assignee:
              Francesco Chicchiriccò
              Reporter:
              Daniel Bruessler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development