Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 81871 invoked from network); 10 Feb 2010 20:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 20:29:55 -0000 Received: (qmail 70406 invoked by uid 500); 10 Feb 2010 20:29:55 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 70376 invoked by uid 500); 10 Feb 2010 20:29:55 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 70367 invoked by uid 500); 10 Feb 2010 20:29:55 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 70364 invoked by uid 99); 10 Feb 2010 20:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 20:29:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 20:29:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D714A234C48D for ; Wed, 10 Feb 2010 12:29:27 -0800 (PST) Message-ID: <1673341143.189641265833767880.JavaMail.jira@brutus.apache.org> Date: Wed, 10 Feb 2010 20:29:27 +0000 (UTC) From: "Pepijn Van Eeckhoudt (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Updated: (BUILDR-373) Package type specific implementations of install, uninstall and upload are not invoked In-Reply-To: <1763765298.189551265833647843.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pepijn Van Eeckhoudt updated BUILDR-373: ---------------------------------------- Priority: Minor (was: Major) > 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 > > > If a package_as_ 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.