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

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.

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

Activity

Show:

Michael Saechang June 28, 2012 at 12:23 PM

Committed on:
Portal 6.1.x CE GIT ID: fe456335e4b172224f00f303fbdac81541bf069f.
Portal 6.2.x GIT ID: 35deecacc76c62f2baeb0b0163e8b838aa1aacca.

Brian Chan May 10, 2012 at 10:45 AM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Liferay Contributor's Agreement

Accept

Priority

Zendesk Support

Created February 5, 2012 at 6:39 AM
Updated June 24, 2023 at 3:48 PM
Resolved May 10, 2012 at 10:45 AM