Hi Ben,

There is nothing specific that the JBehave Ant tasks do with system
properties - the tasks are agnostic to system properties.  Have you
tried passing them as Java system properties? Could you send over a
simple example so we can help you work through the issue?

Cheers

On 10/08/2010 03:22, SULLIVAN, Ben wrote:
>
> Hi
>
>  
>
> I'm having trouble accessing a system property to bootstrap some
> configuration during my story.  I am assuming that if I set the
> property in the Ant build file, I should be able to reference it in my
> code.  Is this assumption valid?
>
>  
>
> I am using 3.0 RC2 and am running my stories using the
> org.jbehave.ant.RunStoriesAsEmbeddables task.  If I run my story in
> IntelliJ as a normal JUnit test, all is well.
>
>  
>
> Any ideas?
>
>  
>
> Thanks
>
>  
>
> Ben
>
>
> ------------------------------------------------------------------------
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or
> one of its related entities "Suncorp".
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or
> on 13 11 55 or at suncorp.com.au.
> The content of this e-mail is the view of the sender or stated author
> and does not necessarily reflect the view of Suncorp. The content,
> including attachments, is a confidential communication between Suncorp
> and the intended recipient. If you are not the intended recipient, any
> use, interference with, disclosure or copying of this e-mail,
> including attachments, is unauthorised and expressly prohibited. If
> you have received this e-mail in error please contact the sender
> immediately and delete the e-mail and any attachments from your system.
> If this e-mail constitutes a commercial message of a type that you no
> longer wish to receive please reply to this e-mail by typing
> Unsubscribe in the subject line.

Reply via email to