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:33:01 UTC
[jira] Commented: (BUILDR-258) ArchiveTask does not handle folder
dependencies correctly
[ 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.