Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.10
    • Fix Version/s: 2.1.12
    • Component/s: - Build System: Ant
    • Labels:
      None
    • Urgency:
      Normal
    • Other Info:
      Patch available
    • Affects version (Component):
      Cocoon Core
    • Fix version (Component):
      Cocoon Core

      Description

      The build process carefully adds each of the standard files in the webapp directory. New applications are not included in the build process. The improvement copies the entire directory. I did not notice any files needing to be excluded; any such files could be excluded from the fileset.

      webapp-build.xml
      CURRENT CODE:
          <copy file="${webapp}/welcome.xml" tofile="${build.webapp}/welcome.xml" filtering="on"/>
          <copy file="${webapp}/not-found.xml" tofile="${build.webapp}/not-found.xml" filtering="on"/>
          <copy file="${webapp}/welcome.xslt" tofile="${build.webapp}/welcome.xslt" filtering="on"/>
          <copy file="${webapp}/sitemap.xmap" tofile="${build.webapp}/sitemap.xmap"/>

          <!-- generate sitemap entries
          <sitemap-components sitemap="${build.webapp}/sitemap.xmap" source="${java}"/>
          -->

          <copy todir="${build.webapp}/stylesheets" filtering="on">
            <fileset dir="${webapp}/stylesheets">
              <include name="**/*.xslt"/>
            </fileset>
          </copy>

          <copy todir="${build.webapp}/resources" filtering="off">
            <fileset dir="${webapp}/resources"/>
          </copy>

          <copy todir="${build.webapp}/WEB-INF" filtering="on">
            <fileset dir="${webapp}/WEB-INF">
              <include name="entities/**"/>
              <include name="classes/**"/>
              <include name="*.x*"/>
              <include name="properties/**"/>
            </fileset>
          </copy>

      REPLACE WITH:
       <copy todir="${build.webapp}" filtering="on">
          <fileset dir="${webapp}"/>
        </copy>

        Activity

        solprovider created issue -
        solprovider made changes -
        Field Original Value New Value
        Fix Version/s 2.1.11-dev (Current SVN) [ 12312231 ]
        Fix version (Component) Parent values: Cocoon Core(10227).
        Affects version (Component) Parent values: Cocoon Core(10151).
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        solprovider made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        solprovider made changes -
        Fix Version/s 2.1.12-dev (Current SVN) [ 12312903 ]
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 2.1.11 [ 12312231 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development