If you don't provide a working example we won't be able to help you.

On 23/04/2013 05:57, Kaustubh Joshi wrote:
Hi All Deva,

I am starting this as a new mail thread so that won't have confusion..

Scenario Question: I wanted to have changes in the reporting of jbehave, so i made changes in jbehave-reports-with-totals.ftl file to get done.This got successfully implemented as i could not see the columns i have removed when I tried running through eclipse but then when i try to run by command prompt (maven) as mvn test -Dtest.application= value -Dtest.enviornment=value -Dtest.browser=Firefox , the test getting run successfully but when i checked reports in the target folder , i can't see the changes i made in ftl file as again entire report got generated and not the custom report generated when i run through eclipse..
*Any idea why it's happening*? The one answer i got is that
The changes you make in the your Stories class will be available to the Maven command-line. It's only the parameters that are available to the Maven goals that will overwrite any configuration in the Java class. the configuration of FTL template resources can only be done in Java you won't have any issues of overwriting them.

Now this has gone over my head..where i make to changes in storyDriver.java file (where configuration exist) or in POM file so that the changes I made in ftl will get *persistent* even when i try to run through command prompt? pls advice..it's really confusing how jbehave working differently (one in eclipse , one command line)

Please let me know if you need more info/explanation about the problem i asked.

Cheers,
K

Reply via email to