You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/02/28 03:02:05 UTC

[jira] Created: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
---------------------------------------------------------------------------------------------

                 Key: BUILDR-386
                 URL: https://issues.apache.org/jira/browse/BUILDR-386
             Project: Buildr
          Issue Type: Improvement
          Components: Core features
    Affects Versions: 1.3.5
            Reporter: Antoine Toulme
             Fix For: 1.4
         Attachments: version_output.txt

See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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


[jira] Updated: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

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

Antoine Toulme updated BUILDR-386:
----------------------------------

    Attachment: BUILDR-386-2.txt

Here is the missing stuff.

> Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
> ---------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-386
>                 URL: https://issues.apache.org/jira/browse/BUILDR-386
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: BUILDR-386-2.txt, version_output.txt
>
>
> See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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


[jira] Resolved: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

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

Alex Boisvert resolved BUILDR-386.
----------------------------------

    Resolution: Fixed

Patch applied.  Thanks!!

boisvert@smudge:~/svn/buildr-trunk$ svn commit -m "BUILDR-386 Display JRuby version in buildr -V (Antoine Toulme)"
Sending        CHANGELOG
Sending        addon/buildr/nailgun.rb
Sending        lib/buildr/core/application.rb
Sending        spec/core/application_spec.rb
Transmitting file data ....
Committed revision 917094.


> Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
> ---------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-386
>                 URL: https://issues.apache.org/jira/browse/BUILDR-386
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: version_output.txt
>
>
> See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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


[jira] Resolved: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

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

Alex Boisvert resolved BUILDR-386.
----------------------------------

    Resolution: Fixed

Second patch applied,
boisvert@smudge:~/svn/buildr-trunk$ svn commit -m "Missing spec helper part of BUILDR-386"
Sending        spec/spec_helpers.rb
Transmitting file data .
Committed revision 917108.


> Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
> ---------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-386
>                 URL: https://issues.apache.org/jira/browse/BUILDR-386
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: BUILDR-386-2.txt, version_output.txt
>
>
> See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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


[jira] Updated: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

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

Antoine Toulme updated BUILDR-386:
----------------------------------

    Attachment: version_output.txt

Here is the patch with specs - specs don't test the jruby version output itself but provide a basis to test Buildr command line arguments.

> Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
> ---------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-386
>                 URL: https://issues.apache.org/jira/browse/BUILDR-386
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: version_output.txt
>
>
> See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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


[jira] Reopened: (BUILDR-386) Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.

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

Antoine Toulme reopened BUILDR-386:
-----------------------------------


I forgot one critical piece! I modified spec_helpers to add a helper method.

> Make sure the jruby version shown when asking buildr -V corresponds to the actual jruby used.
> ---------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-386
>                 URL: https://issues.apache.org/jira/browse/BUILDR-386
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: BUILDR-386-2.txt, version_output.txt
>
>
> See attached patch: it looks like JRUBY_VERSION was always used when asked for the version of buildr, while it is actually possible to override it with your own jruby.

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