Righto - will do...

Thanks

Ben

On 26/04/2010, at 10:03 PM, Mauro Talevi wrote:

> Ben,
> 
> the problem still outstanding was with the default formats (e.g. stats) whose 
> print stream reporter was created in the instantiation of the builder, i.e. 
> before setting the output directory.  They are now explicitly constructed 
> after the output specification (see the TraderScenario).   Can you update to 
> latest svn, update your SystemIntegration.java to invoke 
> .withDefaultFormats() and try again?  
> 
> If you have any more issues, can you please try running the trader example 
> via Ant as it's difficult for me to reproduce problem without a working 
> example?  
> 
> Cheers
> 
> On 26/04/2010 03:01, Ben Sullivan wrote:
>> 
>> Hi Mauro
>> 
>> This looks to be fixed when run from IntelliJ.  However I'm still getting a 
>> problem on the command line when running the scenarios:
>> 
>>  ant all
>> Buildfile: build.xml
>> 
>> clean:
>>    [delete] Deleting directory /Users/bensullivan/work/bdd-demo/gen
>> 
>> setup:
>>     [mkdir] Created dir: /Users/bensullivan/work/bdd-demo/gen/classes
>> 
>> compile:
>>     [javac] Compiling 4 source files to 
>> /Users/bensullivan/work/bdd-demo/gen/classes
>> 
>> compile-test:
>>      [copy] Copying 3 files to /Users/bensullivan/work/bdd-demo/gen/classes
>>     [javac] Compiling 5 source files to 
>> /Users/bensullivan/work/bdd-demo/gen/classes
>> 
>> run-scenarios:
>> [scenarioRunner] Running scenario au.com.nsqa.story.etl.SystemIntegration
>> [scenarioRunner] Failure in runing scenarios: 
>> [scenarioRunner] au.com.nsqa.story.etl.SystemIntegration: 
>> java.io.FileNotFoundException: 
>> /usr/share/ant/lib/jbehave-reports/au.com.nsqa.story.etl.system_integration.stats
>>  (No such file or directory)
>> 
>> Vanilla ant still seems to be preventing the specification of the 
>> jbehave-reports directory outside of the ANT_HOME/lib.  I really need this 
>> to work in order to demo in conjunction with my CI server...  Worst case 
>> scenario I guess I could tell my render target to go to ANT_HOME/lib/<my 
>> render dir>...
>> 
>> Have to bath the kids now - will try and debug later on if I have a chance..
>> 
>> Cheers
>> 
>> Ben
>> 
>> On 24/04/2010, at 11:23 PM, Mauro Talevi wrote:
>> 
>>> Ben,
>>> 
>>> allowed configuration of absolute output dir (see TraderScenario example). 
>>> 
>>> Verified with trader example Ant build.xml.  
>>> 
>>> Can you please verify it works for you too (using latest svn version) 
>>> before we push out bugfix release 2.5.2?
>>> 
>>> Cheers
>>> 
>>> On 24/04/2010 13:18, Mauro Talevi wrote:
>>>> 
>>>> Hi Ben, 
>>>> 
>>>> I've been able to reproduce issue in the JBehave examples
>>>> 
>>>> https://jira.codehaus.org/browse/JBEHAVE-277
>>>> 
>>>> (had not been spotted because if the Ant scenarios run fine and if you 
>>>> don't do an ant clean first, it will pick up the report outputs previously 
>>>> outputted by IDE or Maven).
>>>>   
>>>> We'll try to sort it out quickly.  When do you need it by for your demo? 
>>>> 
>>>> Cheers
>>>> 
>>>> On 24/04/2010 11:43, Ben Sullivan wrote:
>>>>> 
>>>>> Hi folks
>>>>> 
>>>>> I'm trying to get the reporting up and running for a small demo I'm 
>>>>> putting together on BDD.
>>>>> 
>>>>> I'm seeing some weird behaviour when executing the scenario runner 
>>>>> through ant.  
>>>>> 
>>>>> When I run my scenario through a run configuration in IntelliJ I can see 
>>>>> with the report files in the jbehave-reports directory which itself is 
>>>>> contained in the directory I have configured IntelliJ to put compiled 
>>>>> classes (<project_root>/out).  All good.
>>>>> 
>>>>> When I run through ant using InelliJ the report files appear in a bundled 
>>>>> ant directory for IntelliJ:
>>>>> 
>>>>> /Applications/IntelliJ%20IDEA%209.0.2.app/lib/ant/lib 
>>>>> 
>>>>> When I try and run with a raw ant installation from the command line I 
>>>>> get the following:
>>>>> 
>>>>> ~/work/bdd-demo $ ant run-scenarios
>>>>> Buildfile: build.xml
>>>>> 
>>>>> setup:
>>>>> 
>>>>> compile:
>>>>> 
>>>>> compile-test:
>>>>> 
>>>>> run-scenarios:
>>>>> [scenarioRunner] Running scenario au.com.nsqa.story.etl.SystemIntegration
>>>>> [scenarioRunner] Failure in runing scenarios: 
>>>>> [scenarioRunner] au.com.nsqa.story.etl.SystemIntegration: 
>>>>> java.io.FileNotFoundException: 
>>>>> /usr/share/ant/lib/jbehave-reports/au.com.nsqa.story.etl.system_integration.stats
>>>>>  (No such file or directory)
>>>>> 
>>>>> BUILD SUCCESSFUL
>>>>> Total time: 0 seconds
>>>>> 
>>>>> It appears as though JBehave is trying to write to the root of the 
>>>>> classpath directory for ant instead of the classpath root for my 
>>>>> classes...
>>>>> 
>>>>> I have attached my build file for reference, together with my scenario 
>>>>> source.
>>>>> 
>>>>> Any assistance would be much appreciated before I embark on a JBehave 
>>>>> source debugging exercise!
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Ben
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 

Reply via email to