You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/12/30 14:34:44 UTC

[jira] Created: (BUILDR-233) can't specify version in artifact namespace

can't specify version in artifact namespace 
--------------------------------------------

                 Key: BUILDR-233
                 URL: https://issues.apache.org/jira/browse/BUILDR-233
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Ittay Dror
             Fix For: 1.3.4


define 'foo' do
  artifact_ns do |ns|
    ns.bar = 'a:b:jar:1.0'
    ns.bar = '2.0'
  end
  compile.with :bar
end

 > buildr
(in /tmp, development)
Buildr aborted!
Missing group identifier for {:version=>"2.0"}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reopened BUILDR-233:
----------------------------------


I'm reopening for investigation.  I think artifact_ns.foo = "2.0" needs to be supported for defining version-only requirements via build.yaml.

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-233.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Appears to work with the current code.  Here's the spec I added:

  it 'should handle version string directly' do
    foo = artifact_ns do |ns|
      ns.bar = 'a:b:c:1.0'
    end
    foo.bar = '2.0'
    foo.bar.version.should == '2.0'
  end


> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>            Assignee: Alex Boisvert
>             Fix For: 1.4
>
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-233.
----------------------------------

    Resolution: Won't Fix

Alright, added some specs for this use-case,

Assuming,

      foo = artifact_ns do |ns|
        ns.bar = 'a:b:c:1'
      end

then you can write either,

      foo.use :bar => '2.0'

or,

      foo.bar.version = '2.0'


> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>            Assignee: Alex Boisvert
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reopened BUILDR-233:
----------------------------------


Hmmm.  The existing code support this already.

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>            Assignee: Alex Boisvert
>             Fix For: 1.4
>
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839443#action_12839443 ] 

Alex Boisvert edited comment on BUILDR-233 at 2/28/10 4:40 PM:
---------------------------------------------------------------

I'm reopening for investigation.  I think ns.bar = "2.0" needs to be supported for defining version-only requirements via build.yaml.

      was (Author: boisvert):
    I'm reopening for investigation.  I think artifact_ns.foo = "2.0" needs to be supported for defining version-only requirements via build.yaml.
  
> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>            Assignee: Alex Boisvert
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-233) can't specify version in artifact namespace

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839370#action_12839370 ] 

Antoine Toulme commented on BUILDR-233:
---------------------------------------

Looks invalid to me, the correct code would be:

define 'foo' do
  artifact_ns do |ns|
    ns.bar = 'a:b:jar:1.0'
    ns.bar = 'a:b:jar:2.0'
  end
  compile.with :bar
end

Eventually, change the version only using 
ns.bar.version = '2.0'

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BUILDR-233) can't specify version in artifact namespace

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reassigned BUILDR-233:
------------------------------------

    Assignee: Alex Boisvert

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>            Assignee: Alex Boisvert
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (BUILDR-233) can't specify version in artifact namespace

Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Spiewak closed BUILDR-233.
---------------------------------

    Resolution: Invalid

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-233) can't specify version in artifact namespace

Posted by "Ittay Dror (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659816#action_12659816 ] 

Ittay Dror commented on BUILDR-233:
-----------------------------------

btw, the reason for defining first with '1.0' and then '2.0' is that '2.0' is defined based on a condition (so: ns.bar = '2.0' if some_condition)

> can't specify version in artifact namespace 
> --------------------------------------------
>
>                 Key: BUILDR-233
>                 URL: https://issues.apache.org/jira/browse/BUILDR-233
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> define 'foo' do
>   artifact_ns do |ns|
>     ns.bar = 'a:b:jar:1.0'
>     ns.bar = '2.0'
>   end
>   compile.with :bar
> end
>  > buildr
> (in /tmp, development)
> Buildr aborted!
> Missing group identifier for {:version=>"2.0"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.