You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2009/02/20 14:29:01 UTC

[jira] Created: (BUILDR-258) ArchiveTask does not handle folder dependencies correctly

ArchiveTask does not handle folder dependencies correctly
---------------------------------------------------------

                 Key: BUILDR-258
                 URL: https://issues.apache.org/jira/browse/BUILDR-258
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.3.4
            Reporter: Ittay Dror
             Fix For: 1.3.4


if I use #include to add a folder to an ArchiveTask, then this folder is added as a prerequisite to the task (in ArchiveTask#invoke_prerequisites). however, files in the folder are not added. This means that if I change a file in the folder, it does not trigger ArchiveTask and so the archive is not updated. 

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


[jira] Updated: (BUILDR-258) ArchiveTask does not handle folder dependencies correctly

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-258:
----------------------------------

    Fix Version/s: 1.4.3

Will try to tackle it for 1.4.3. Pretty much need to patch the archive.rb file around line 43.

> ArchiveTask does not handle folder dependencies correctly
> ---------------------------------------------------------
>
>                 Key: BUILDR-258
>                 URL: https://issues.apache.org/jira/browse/BUILDR-258
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>            Assignee: Antoine Toulme
>             Fix For: 1.4.3
>
>
> if I use #include to add a folder to an ArchiveTask, then this folder is added as a prerequisite to the task (in ArchiveTask#invoke_prerequisites). however, files in the folder are not added. This means that if I change a file in the folder, it does not trigger ArchiveTask and so the archive is not updated. 

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


[jira] Assigned: (BUILDR-258) ArchiveTask does not handle folder dependencies correctly

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme reassigned BUILDR-258:
-------------------------------------

    Assignee: Antoine Toulme

> ArchiveTask does not handle folder dependencies correctly
> ---------------------------------------------------------
>
>                 Key: BUILDR-258
>                 URL: https://issues.apache.org/jira/browse/BUILDR-258
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>            Assignee: Antoine Toulme
>             Fix For: 1.4.3
>
>
> if I use #include to add a folder to an ArchiveTask, then this folder is added as a prerequisite to the task (in ArchiveTask#invoke_prerequisites). however, files in the folder are not added. This means that if I change a file in the folder, it does not trigger ArchiveTask and so the archive is not updated. 

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


[jira] Updated: (BUILDR-258) ArchiveTask does not handle folder dependencies correctly

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-258:
---------------------------------

    Fix Version/s:     (was: 1.4.3)
                   1.4.4

> ArchiveTask does not handle folder dependencies correctly
> ---------------------------------------------------------
>
>                 Key: BUILDR-258
>                 URL: https://issues.apache.org/jira/browse/BUILDR-258
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>            Assignee: Antoine Toulme
>             Fix For: 1.4.4
>
>
> if I use #include to add a folder to an ArchiveTask, then this folder is added as a prerequisite to the task (in ArchiveTask#invoke_prerequisites). however, files in the folder are not added. This means that if I change a file in the folder, it does not trigger ArchiveTask and so the archive is not updated. 

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


[jira] Commented: (BUILDR-258) ArchiveTask does not handle folder dependencies correctly

Posted by "Ittay Dror (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675366#action_12675366 ] 

Ittay Dror commented on BUILDR-258:
-----------------------------------

Please note that working around this by including the individual files is not always easy. For example, JarTask allows adding files/folders under META-INF by setting Project#meta_inf, which it then passes to ArchiveTask#include. So if I have a folder under META-INF (in my case, for using spring-dm, which expects 'spring' folder under META-INF), trying to add Dir['META-INF/spring/*'] will result in files ending up under 'META-INF' in the archive, so I must use 'META-INF/spring'

> ArchiveTask does not handle folder dependencies correctly
> ---------------------------------------------------------
>
>                 Key: BUILDR-258
>                 URL: https://issues.apache.org/jira/browse/BUILDR-258
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> if I use #include to add a folder to an ArchiveTask, then this folder is added as a prerequisite to the task (in ArchiveTask#invoke_prerequisites). however, files in the folder are not added. This means that if I change a file in the folder, it does not trigger ArchiveTask and so the archive is not updated. 

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