[
http://jira.codehaus.org/browse/JBEHAVE-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=270009#action_270009
]
Mariusz Smykula edited comment on JBEHAVE-533 at 6/10/11 9:38 AM:
------------------------------------------------------------------
Log from jbehave:
{noformat}
...
[INFO] Using 'UTF-8' encoding to copy filtered resources.
...
(BeforeStories)
[INFO] Using 1 threads
[INFO] Running story com/pentacomp/spring/stories/my.story
(com/pentacomp/spring/stories/my.story)
{noformat}
Scenario: A scenario with some pending steps
ĹĂłĹĹĽĹĹĂłaĹÄĹ
{noformat}
...
[INFO] Generating reports view to
'e:\Jenkins\jobs\sprint-jbehave-test\workspace\target\jbehave' using formats
'[stats, console, txt, html, xml]' and view properties '{defaultFormats=stats,
decorateNonHtml=true, viewDirectory=view,
decorated=ftl/jbehave-report-decorated.ftl,
reports=ftl/jbehave-reports-with-totals.ftl, maps=ftl/jbehave-maps.ftl,
navigator=ftl/jbehave-navigator.ftl, views=ftl/jbehave-views.ftl,
nonDecorated=ftl/jbehave-report-non-decorated.ftl}'
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-report-decorated.ftl
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/sh.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template ftl/sh.ftl[pl_PL,Cp1250,parsed]
from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/sh.ftl
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-reports-with-totals.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-reports-with-totals.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-reports-with-totals.ftl
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-views.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-views.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-views.ftl
[INFO] Reports view generated with 3 stories (of which 1 pending) containing 1
scenarios (of which 0 failed and 1 pending)
{noformat}
There is Cp1250, windows default encoding used.
was (Author: mariuszs):
Log from jbehave:
...
{{[INFO] Using 'UTF-8' encoding to copy filtered resources.}}
{noformat}
(BeforeStories)
[INFO] Using 1 threads
[INFO] Running story com/pentacomp/spring/stories/my.story
(com/pentacomp/spring/stories/my.story)
{noformat}
{{Scenario: A scenario with some pending steps
ĹĂłĹĹĽĹĹĂłaĹÄĹ}}
{noformat}
...
[INFO] Generating reports view to
'e:\Jenkins\jobs\sprint-jbehave-test\workspace\target\jbehave' using formats
'[stats, console, txt, html, xml]' and view properties '{defaultFormats=stats,
decorateNonHtml=true, viewDirectory=view,
decorated=ftl/jbehave-report-decorated.ftl,
reports=ftl/jbehave-reports-with-totals.ftl, maps=ftl/jbehave-maps.ftl,
navigator=ftl/jbehave-navigator.ftl, views=ftl/jbehave-views.ftl,
nonDecorated=ftl/jbehave-report-non-decorated.ftl}'
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-report-decorated.ftl
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/sh.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template ftl/sh.ftl[pl_PL,Cp1250,parsed]
from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/sh.ftl
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG ftl/jbehave-report-decorated.ftl[pl_PL,Cp1250,parsed] cached
copy not yet stale; using cached.
[testwar] DEBUG ftl/sh.ftl[pl_PL,Cp1250,parsed] cached copy not yet stale;
using cached.
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-reports-with-totals.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-reports-with-totals.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-reports-with-totals.ftl
[testwar] DEBUG Could not find template in cache, creating new one;
id=[ftl/jbehave-views.ftl[pl_PL,Cp1250,parsed] ]
[testwar] DEBUG Compiling FreeMarker template
ftl/jbehave-views.ftl[pl_PL,Cp1250,parsed] from
jar:file:/C:/.m2/repository/org/jbehave/jbehave-core/3.4.2/jbehave-core-3.4.2.jar!/ftl/jbehave-views.ftl
[INFO] Reports view generated with 3 stories (of which 1 pending) containing 1
scenarios (of which 0 failed and 1 pending)
{noformat}
> Bad encoding in JBehave Raports with default configuration from jbehave
> archetype in Windows
> --------------------------------------------------------------------------------------------
>
> Key: JBEHAVE-533
> URL: http://jira.codehaus.org/browse/JBEHAVE-533
> Project: JBehave
> Issue Type: Bug
> Environment: Windows
> Reporter: Mariusz Smykula
>
> I have created project from archetype with command:
> {{mvn archetype:generate -DarchetypeGroupId=org.jbehave
> -DarchetypeArtifactId=jbehave-spring-archetype}}
> and edited my.story file (added some international chars)
> After this
> There is:
> ??A scenario with some pending steps
> ĹĂłĹĹĽĹĹĂłaĹÄĹ??
> Should be:
> ??Scenario: A scenario with some pending steps
> łóśżłśóaśęł?? <- here is proper
> encoded letters
> I have edited pom.xml and added:
> {{<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>}}
> {{<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>}}
> in properties section.
> The HTML and XML raport should be properly encoded after this. I think option
> -Dfile.encoding=UTF-8 should be not required for this. Maven project should
> have identical results on all platforms if properly configured.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email