Well, I'am executing this project with maven.

These are the generated folders:
-target
--jbehave
----conceptName
------view
------//here are NO  JS/ftl/i18n/images/style folders
-----view
-----//here are the  JS/ftl/i18n/images/style folders

So it's a reference problem I believe.


From: Mauro Talevi [mailto:[email protected]]
Sent: woensdag 12 september 2012 9:47
To: [email protected]
Subject: Re: [jbehave-user] Report in custom location

Can you send a sample project that reproduces your build with the custom css?

On 12/09/2012 08:29, Roy de Kleijn wrote:
Hello,

I'm using the following code to store the reports in a custom location.
The problem I have know: the report are not decorated. The CSS cannot be found.

How can I solve this?

return new MostUsefulConfiguration()
            .useStoryLoader(new LoadFromClasspath(embeddableClass))
            .useStoryParser(new RegexStoryParser(examplesTableFactory))
            .useStoryReporterBuilder(new StoryReporterBuilder()
                
.withCodeLocation(CodeLocations.codeLocationFromClass(embeddableClass))
                .withDefaultFormats()
                .withRelativeDirectory("jbehave/" + 
System.getProperty("conceptName"))
                .withFormats(CONSOLE, TXT, HTML, XML))
            .useParameterConverters(parameterConverters);

Thanks,
Roy

Reply via email to