buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BUILDR-665) Java artifacts in build.yaml breaking ArchiveTask
Date Sun, 14 Apr 2013 01:54:15 GMT

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

Peter Donald closed BUILDR-665.
-------------------------------

    Resolution: Fixed
      Assignee: Peter Donald

Change applied to trunk. It will be out in the next release. Thanks!
                
> 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.10, 1.4.11
>         Environment: Linux, Ruby 1.9.2
>            Reporter: Antonio PĂ©rez Barrero
>            Assignee: Peter Donald
>              Labels: patch
>             Fix For: 1.4.12
>
>         Attachments: artifact.patch
>
>
> According to documentation on build settings in http://buildr.apache.org/settings_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:
>  
> Error for task xxxxx: undefined method `artifact' for :Buildr::ArchiveTask::Path
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:189:in
`block in to_artifacts'
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:184:in
`each'
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:184:in
`inject'
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:184:in
`to_artifacts'
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:66:in
`include'
> ../rvm/gems/ruby-1.9.2-p320/gems/buildr-1.4.10/lib/buildr/packaging/archive.rb:387:in
`include'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message