You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Shane Witbeck (JIRA)" <ji...@apache.org> on 2008/05/16 02:32:55 UTC

[jira] Created: (BUILDR-70) test.using not working

test.using not working
----------------------

                 Key: BUILDR-70
                 URL: https://issues.apache.org/jira/browse/BUILDR-70
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: OS X
            Reporter: Shane Witbeck



the following did work in 1.2.10 and doesn't work in 1.3.0:

test.using(:environment => {
         "SPG_CONFIG_DIR" => "some directory",
         "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
})

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


[jira] Updated: (BUILDR-70) JUnit not passing environment variables fro the :environment option.

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

Assaf Arkin updated BUILDR-70:
------------------------------

    Fix Version/s: 1.3.1

> JUnit not passing environment variables fro the :environment option.
> --------------------------------------------------------------------
>
>                 Key: BUILDR-70
>                 URL: https://issues.apache.org/jira/browse/BUILDR-70
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP, MRI
>            Reporter: Shane Witbeck
>             Fix For: 1.3.1
>
>
> the following did work in 1.2.10 and doesn't work in 1.3.0:
> test.using(:environment => {
>          "SPG_CONFIG_DIR" => "some directory",
>          "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
> })

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


[jira] Resolved: (BUILDR-70) JUnit not passing environment variables fro the :environment option.

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

Assaf Arkin resolved BUILDR-70.
-------------------------------

    Resolution: Fixed

Indeed.  Instead of one line that passes system properties and another that passes environment variables, we got two that pass system properties.  Fixed in SVN.

> JUnit not passing environment variables fro the :environment option.
> --------------------------------------------------------------------
>
>                 Key: BUILDR-70
>                 URL: https://issues.apache.org/jira/browse/BUILDR-70
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP, MRI
>            Reporter: Shane Witbeck
>
> the following did work in 1.2.10 and doesn't work in 1.3.0:
> test.using(:environment => {
>          "SPG_CONFIG_DIR" => "some directory",
>          "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
> })

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


[jira] Updated: (BUILDR-70) JUnit not passing environment variables fro the :environment option.

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

Assaf Arkin updated BUILDR-70:
------------------------------

    Summary: JUnit not passing environment variables fro the :environment option.  (was: test.using not working)

> JUnit not passing environment variables fro the :environment option.
> --------------------------------------------------------------------
>
>                 Key: BUILDR-70
>                 URL: https://issues.apache.org/jira/browse/BUILDR-70
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP, MRI
>            Reporter: Shane Witbeck
>
> the following did work in 1.2.10 and doesn't work in 1.3.0:
> test.using(:environment => {
>          "SPG_CONFIG_DIR" => "some directory",
>          "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
> })

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


[jira] Updated: (BUILDR-70) test.using not working

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

Shane Witbeck updated BUILDR-70:
--------------------------------

    Environment: Windows XP, MRI  (was: OS X)

> test.using not working
> ----------------------
>
>                 Key: BUILDR-70
>                 URL: https://issues.apache.org/jira/browse/BUILDR-70
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP, MRI
>            Reporter: Shane Witbeck
>
> the following did work in 1.2.10 and doesn't work in 1.3.0:
> test.using(:environment => {
>          "SPG_CONFIG_DIR" => "some directory",
>          "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
> })

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


[jira] Commented: (BUILDR-70) test.using not working

Posted by "Shane Witbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597579#action_12597579 ] 

Shane Witbeck commented on BUILDR-70:
-------------------------------------

As a workaround I added the following at the top level project:

ENV['SPG_CONFIG_DIR'] = "some directory"
ENV['COBRA_DBAX_TEMPLATE_DIR'] = "some other directory"

> test.using not working
> ----------------------
>
>                 Key: BUILDR-70
>                 URL: https://issues.apache.org/jira/browse/BUILDR-70
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: OS X
>            Reporter: Shane Witbeck
>
> the following did work in 1.2.10 and doesn't work in 1.3.0:
> test.using(:environment => {
>          "SPG_CONFIG_DIR" => "some directory",
>          "COBRA_DBAX_TEMPLATE_DIR" => "some other directory"
> })

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