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 2016/05/20 07:39:12 UTC

[jira] [Closed] (BUILDR-308) Junit task ignores report target

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

Antoine Toulme closed BUILDR-308.
---------------------------------
    Resolution: Auto Closed

Closed for inactivity.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)