Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1 Beta
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      jsp or jsf component builds

      Description

      When building the JSF or Spring JSP components the builds can take quite a while. On my dual core I'm looking at about 35 secs for the JSF and 9 seconds for the JSP.

      The main reason for the slow down is that the CSS and JavaScript files are processed and compressed on every build. If no changes have been made to the CSS or JavaScript then we shouldn't reprocess the files.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29959 Thu Jul 12 14:10:01 MDT 2012 patrick.corless MOBI-262 update JSF and JSP builds scripts to detect if CSS or JavaScript resources have changed and only execute the respective targets if necessary.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/build.xml
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29960 Thu Jul 12 14:13:41 MDT 2012 patrick.corless MOBI-262 updated DeviceResourceTag.java to pull style from correct resource path and added org.icemobile.project.stage production value to spring web.xml.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/DeviceResourceTag.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29961 Thu Jul 12 14:14:00 MDT 2012 patrick.corless MOBI-262 updated DeviceResourceTag.java to pull style from correct resource path and added org.icemobile.project.stage production value to spring web.xml.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/web.xml
        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        I've updated both the JSF and JSP builds so that we now use the "uptodate" target to detect if CSS or JavaScript has changed and rebuild the respective resources only if needed.

        If the build is executed with out any resources changes the JSF build now takes 9 seconds and the JSP build now takes 3 seconds.

        Show
        Patrick Corless added a comment - I've updated both the JSF and JSP builds so that we now use the "uptodate" target to detect if CSS or JavaScript has changed and rebuild the respective resources only if needed. If the build is executed with out any resources changes the JSF build now takes 9 seconds and the JSP build now takes 3 seconds.
        Hide
        Patrick Corless added a comment -

        New build seems to be working well enough, closing issue for now.

        Show
        Patrick Corless added a comment - New build seems to be working well enough, closing issue for now.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29971 Fri Jul 13 08:33:28 MDT 2012 patrick.corless MOBI-262 removed clean from pre.compile target. Clean must be specified explicitly to invoke.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/build.xml
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: