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

Peter Donald updated BUILDR-308:
--------------------------------

    Fix Version/s: 1.5
    
> Junit task ignores report target
> --------------------------------
>
>                 Key: BUILDR-308
>                 URL: https://issues.apache.org/jira/browse/BUILDR-308
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.4
>         Environment: JRUBY
>            Reporter: peter schröder
>            Priority: Minor
>             Fix For: 1.5
>
>
> Using a custom profile for the report-directory results in a misplaced junit 
> test-report, because it initializes the directory ignoring the 
> project-settings:
> # File lib/buildr/java/tests.rb, line 133
>       def initialize
>         @params = {}
>         @frames = true
>         @target = 'reports/junit'
>       end
> We had to manually redefine the target directory like this:
> JUnit.report.target = _(:reports, :junit)

--
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

Reply via email to