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:12 UTC

[jira] [Closed] (BUILDR-373) Package type specific implementations of install, uninstall and upload are not invoked

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

Peter Donald closed BUILDR-373.
-------------------------------


> Package type specific implementations of install, uninstall and upload are not invoked
> --------------------------------------------------------------------------------------
>
>                 Key: BUILDR-373
>                 URL: https://issues.apache.org/jira/browse/BUILDR-373
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.5
>            Reporter: Pepijn Van Eeckhoudt
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: BUILDR-373.txt, buildfile
>
>
> If a package_as_<type> method returns a Task that defines an implementation of install/uninstall/upload (and maybe other methods) these methods are never invoked. The package method extends each package object with ActsAsArtifact which overrides those methods.
> This can be seen when using the :gem package type. package_as_gem returns a PackageGemTask that delegates those methods to the gem script. When running 'buildr install' with the attached buildfile you can observe that it does not attempt to install the gem. Instead the gem is installed in the local maven repository.

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