Return-Path: X-Original-To: apmail-buildr-commits-archive@www.apache.org Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8BD8F6C7 for ; Tue, 9 Apr 2013 14:04:15 +0000 (UTC) Received: (qmail 42870 invoked by uid 500); 9 Apr 2013 14:04:15 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 42832 invoked by uid 500); 9 Apr 2013 14:04:15 -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 42820 invoked by uid 500); 9 Apr 2013 14:04:15 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 42816 invoked by uid 99); 9 Apr 2013 14:04:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 14:04:15 +0000 Date: Tue, 9 Apr 2013 14:04:14 +0000 (UTC) From: =?utf-8?Q?Antonio_P=C3=A9rez_Barrero_=28JIRA=29?= To: buildr-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (BUILDR-665) Java artifacts in build.yaml breaking ArchiveTask MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Antonio P=C3=A9rez Barrero created BUILDR-665: -------------------------------------------- Summary: Java artifacts in build.yaml breaking ArchiveTask Key: BUILDR-665 URL: https://issues.apache.org/jira/browse/BUILDR-665 Project: Buildr Issue Type: Bug Components: Packaging Affects Versions: 1.4.11, 1.4.10 Environment: Linux, Ruby 1.9.2 Reporter: Antonio P=C3=A9rez Barrero Fix For: 1.4.12 According to documentation on build settings in http://buildr.apache.org/se= ttings_profiles.html#build # The artifact declarations will be automatically loaded by buildr, so that # you can reference artifacts by name (a ruby-symbol) on your buildfile. artifacts: spring: org.springframework:spring:jar:2.0 log4j: log4j:log4j:jar:1.0 j2ee: geronimo-spec:geronimo-spec-j2ee:jar:1.4-rc4 When using symbols in buildfile like 'compile.with :log4j', buildr reports = this run-time error: =20 Error for task Sapc:Code:Common:RadiusDrivers: undefined method `artifact' = for :Buildr::ArchiveTask::Path /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:189:in `block in to_artifacts' /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:184:in `each' /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:184:in `inject' /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:184:in `to_artifacts' /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:66:in `include' /tmp/eanopeo/rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packagi= ng/archive.rb:387:in `include' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira