ICEfaces
  1. ICEfaces
  2. ICE-2828

Strip redundant copyright notices in Javascript build

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      All

      Description

      If you look at the served icefaces-d2d.js and ice-extras.js files, you will see that they hold 24 and 19 redundant copies of our copyright notices, each of which is 1,618 bytes, for a total of 69,574 bytes. We should change the build process, which amalgamates the many Javascript files together, to only include one copy of our copyright notice, and strip out the others.

      And how come we're not smallifying these files, or at least stripping out redundant whitespace?
      1. build.xml
        12 kB
        Krashan Brahmanjara
      2. build.xml
        22 kB
        Krashan Brahmanjara

        Issue Links

          Activity

          Mark Collette created issue -
          Mark Collette made changes -
          Field Original Value New Value
          Description If you look at the served icefaces-d2d.js and ice-extras.js files, you will see that they hold 24 and 19 redundant copies of our copyright notices, each of which is 1,618 bytes, for a total of 69,574 bytes. We should change the build process, which amalgamates the many Javascript files together, to only include one copy of our copyright notice, and strip out the others.
          If you look at the served icefaces-d2d.js and ice-extras.js files, you will see that they hold 24 and 19 redundant copies of our copyright notices, each of which is 1,618 bytes, for a total of 69,574 bytes. We should change the build process, which amalgamates the many Javascript files together, to only include one copy of our copyright notice, and strip out the others.

          And how come we're not smallifying these files, or at least stripping out redundant whitespace?
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.7RC1 [ 10123 ]
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-2883 [ ICE-2883 ]
          Krashan Brahmanjara made changes -
          Attachment compressor.jar [ 10893 ]
          Krashan Brahmanjara made changes -
          Attachment build.xml [ 10894 ]
          Krashan Brahmanjara made changes -
          Attachment build.xml [ 10895 ]
          Ken Fyten made changes -
          Fix Version/s 1.7 [ 10080 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: