You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:03 UTC

[jira] [Closed] (BUILDR-277) using EarTask#add leads to corrupted manifest files

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

Peter Donald closed BUILDR-277.
-------------------------------


> using EarTask#add leads to corrupted manifest files
> ---------------------------------------------------
>
>                 Key: BUILDR-277
>                 URL: https://issues.apache.org/jira/browse/BUILDR-277
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>
> EarTask#component_clone uses Manifest#update_manifest. It seems like it is doing it wrong. Manifest#update_manifest yields the current manifest to a block and uses the result as the new manifest. Since the result of the block in EarTask#component_clone is 
>               manifest.main['Class-Path'] = class_path.join(' ')
> it means the new manifest is just the class_path (which is the de-facto behavior we see)
> EarTask#component_clone is called by EarTask#add
> In our tests, adding 'manifest' as the last line of the block solves the problem

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira