Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25342

Theme Plugin Build - CSS files cache time stamp not preserved in copy operation

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1
    • Labels:
      None
    • Environment:
      $ uname -a
      Linux hostname 3.0.0-15-generic-pae #26-Ubuntu SMP Fri Jan 20 17:07:31 UTC 2012 i686 i686 i386 GNU/Linux
      Eclipse Indigo Indigo Service Release 1 Build id: 20110916-0149

      Description

      build-common-theme.xml, <target name="compile">, EVERY <copy> task needs

      preservelastmodified="true"

      see also com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:209)
      if (file.lastModified() == cacheFile.lastModified()) {
      return false;
      }

      As a side note here, in order not to open a too similar bug report
      <target name="compile"> should depend on clean, or old files from _diffs will not be cleaned like so:
      <target name="compile" depends="clean">

      If someone can point me out to how to fix everything myself, I'd be pleased to do it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              kunz@paratix.ch Philipp Kunz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 6 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2