buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Toulme (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-373) Package type specific implementations of install, uninstall and upload are not invoked
Date Sun, 28 Feb 2010 19:28:05 GMT

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

Antoine Toulme updated BUILDR-373:
----------------------------------

    Attachment: BUILDR-373.txt

Here goes a patch to make ActsAsArtifact more respectful of the install, uninstall and upload
methods.

> 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
>         Attachments: buildfile, BUILDR-373.txt
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message