You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/11/03 17:05:44 UTC

[jira] Resolved: (BUILDR-197) ArchiveTask#needed? calls 'super'

     [ https://issues.apache.org/jira/browse/BUILDR-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Assaf Arkin resolved BUILDR-197.
--------------------------------

    Resolution: Invalid

ArchiveTask is a Rake::FileTask, check the rake.rb sources to see how its timestamp method behaves.

> ArchiveTask#needed? calls 'super' 
> ----------------------------------
>
>                 Key: BUILDR-197
>                 URL: https://issues.apache.org/jira/browse/BUILDR-197
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> At the end of needed? If it found that no re-packaging is required, it still delegates to 'super'. 
> The result is that if there is a Rake::Task prerequisite, with no prerequisites, it will return a Time.now timestamp which will return true from Rake::Task#needed?, which will trigger the package. The package will be the same as before, but its timestamp will change, causing triggering of dependent tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.