Return-Path: Delivered-To: apmail-incubator-buildr-commits-archive@locus.apache.org Received: (qmail 19857 invoked from network); 7 Apr 2008 15:40:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Apr 2008 15:40:15 -0000 Received: (qmail 38906 invoked by uid 500); 7 Apr 2008 15:40:16 -0000 Delivered-To: apmail-incubator-buildr-commits-archive@incubator.apache.org Received: (qmail 38894 invoked by uid 500); 7 Apr 2008 15:40:16 -0000 Mailing-List: contact buildr-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-dev@incubator.apache.org Delivered-To: mailing list buildr-commits@incubator.apache.org Received: (qmail 38885 invoked by uid 99); 7 Apr 2008 15:40:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 08:40:16 -0700 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; Mon, 07 Apr 2008 15:39:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53BAD234C0B5 for ; Mon, 7 Apr 2008 08:37:24 -0700 (PDT) Message-ID: <1157433224.1207582644327.JavaMail.jira@brutus> Date: Mon, 7 Apr 2008 08:37:24 -0700 (PDT) From: "Victor Hugo Borja (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Commented: (BUILDR-59) EarTask: component type cannot be specified for Artifact In-Reply-To: <261927905.1207443084243.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586431#action_12586431 ] Victor Hugo Borja commented on BUILDR-59: ----------------------------------------- IIRC the original EarTask patch actually created internal copies of its components. Anyway I've solved this as proposed by Assaf. Now the EarTask creates internal tasks to copy its non-lib components so that modifying their manifest has no side effect on the original artifact being clonned. Thank you Tomas & Assaf for helping with your comments on this. > EarTask: component type cannot be specified for Artifact > -------------------------------------------------------- > > Key: BUILDR-59 > URL: https://issues.apache.org/jira/browse/BUILDR-59 > Project: Buildr > Issue Type: Bug > Components: Packaging > Affects Versions: 1.3 > Environment: Windows XP SP2, JRuby 1.1, buildr trunk (rev 645177) > Reporter: Tomas Carlsson > Assignee: Victor Hugo Borja > Priority: Minor > > Trying to specify component type for Artifact when packaging ear:s fails with: > undefined method `manifest' for # > Example buildfile: > repositories.remote << "http://repo1.maven.org/maven2" > define 'myproj' do > project.version=1 > project.group = "foo" > define 'this_works' do > package(:ear).add "log4j:log4j:jar:1.2.14" > end > define 'does_not_work' do > package(:ear).add :ejb => "log4j:log4j:jar:1.2.14" > end > end -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.