All, The problem has been fixed now..thanks for the help.. How to set decorated view = true forever ..do we need to make changes in the code? i tried what has been mentioned in site i.e setting properties object and then do view resources..but it did not work any idea why? One problem is still remaining for report modification is that.. if i try to run story driver suite(given stack of stories under one driver.java) from Maven command line then try to view then it's still picking old template with all old removed columns are seen visible... any idea why? your thoughts would be helpful..
Cheers, K On Thu, Apr 18, 2013 at 7:08 AM, Kaustubh Joshi <kashu.jo...@gmail.com>wrote: > Hi All, > I want to know how I can make template accessible in the class path and > packaged? > I am using git,maven so when i pull the code from master originally > resources folder was not present in src/main/ path so when i took source > code from jbehave and unzip it and manually put resources folder from there > to to git project folder? is this correct procedure? now when import > project into eclipse , i see ? mark against resource folder data(against > each ftl) template even though i can access it.... > > Any help would be helpful to find out final solution... > > Cheers, > K > > > On Tue, Apr 16, 2013 at 1:06 PM, Mauro Talevi > <mauro.tal...@aquilonia.org>wrote: > >> You can change the FTL template used to generate the view >> >> >> http://jbehave.org/reference/stable/javadoc/core/org/jbehave/core/reporters/FreemarkerViewGenerator.html >> >> You can simply have set >> >> configuration.storyReporterBuilder().viewResources().setProperty("reports", >> <your_template_path>) >> >> the path of the template is relative to the classpath. >> >> Cheers >> >> >> On 16/04/2013 04:13, Kaustubh Joshi wrote: >> >> I am jbehave user, and just registered on the codehaus portal.So i don't >> know which mail list is correct hence added all list..sorry for that >> >> I just want to know,how calls are made for html report file which user >> see as report of story execution? >> I want to update html-output.ftl file such a way that when final report >> gets generated in >> ..\target\jbehave\view\ >> reports.html file, i don't want columns like Given-story Scenarios, Steps >> in html output file as I want to delete those permanently ..how i can do >> that? >> When i see the html-output.ftl file it has very complex code which does >> not get how the columns are mapped and how to delete the what code... >> ...do I need to delete the code in jbehave-core.css file >> as well? Pls suggest >> Also if i made changes in code , how i can make them persistent/permanent >> so that every time i compile, i don't see old code... >> >> Awaiting for the help from jbehave devs. >> >> Cheers, >> K >> >> >> On Mon, Apr 15, 2013 at 9:26 PM, Kaustubh Joshi <kashu.jo...@gmail.com>wrote: >> >>> I am jbehave user, and just registered on the codehaus portal.So i don't >>> know which mail list is correct hence added all list..sorry for that >>> >>> I just want to know,how calls are made for html report file which user >>> see as report of story execution? >>> I want to update html-output.ftl file such a way that when final report >>> gets generated in >>> ..\target\jbehave\view\reports.html file, i don't want columns like >>> Given-story Scenarios, Steps in html output file as I want to delete those >>> permanently ..how i can do that? >>> When i see the html-output.ftl file it has very complex code which does >>> not get how the columns are mapped and how to delete the what code... >>> ...do I need to delete the code in jbehave-core.css file >>> as well? Pls suggest >>> Also if i made changes in code , how i can make them >>> persistent/permanent so that every time i compile, i don't see old code... >>> >>> Awaiting for the help from jbehave devs. >>> >>> Cheers, >>> K >>> >> >> >> >