You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2010/03/02 07:07:27 UTC

[jira] Resolved: (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 ]

Alex Boisvert resolved BUILDR-373.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Patch applied.   Thanks Antoine.

Sending        CHANGELOG
Sending        lib/buildr/packaging/artifact.rb
Sending        spec/packaging/artifact_spec.rb
Transmitting file data ...
Committed revision 917888.


> 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: 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.