[ 
http://jira.codehaus.org/browse/JBEHAVE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257985#action_257985
 ] 

Florian Beckmann commented on JBEHAVE-443:
------------------------------------------

My use-case is simply the one given here:
http://jbehave.org/reference/latest/stories-in-your-language.html

But the given example (public abstract class LocalizedTraderStories) fails to 
compile because of the line(s):
---
new ParameterConverters()
                                .addConverters(new 
ParameterConverters.ExamplesTableConverter(
                                        keywords.examplesTableHeaderSeparator(),
                                        
keywords.examplesTableValueSeparator())));
---
Trying to build I get the error mentioned in my first comment.

So, 
Given you provide an example in your doc for version latest for your users
When the average user tries to run that example
Then it should work with the current latest api
;)

Anyway, I just commented the lines out, because I don't need to set neither the 
TableHeader- nor the TableValue-Seperator from my keywords properties file. So 
my stories run in german now. :D

And thx for the fast reply anyway.


> Missing constructor ExamplesTableConverter(java.lang.String,java.lang.String)
> -----------------------------------------------------------------------------
>
>                 Key: JBEHAVE-443
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-443
>             Project: JBehave
>          Issue Type: Bug
>            Reporter: Florian Beckmann
>
> Hi,
> based on the i18n example I tried to configure an abstract class but get a 
> build error.
> Seems the constructor 
> ExamplesTableConverter(java.lang.String,java.lang.String), even though in the 
> javadoc,
> is missing. I tried with stable release (3.1.2) and 3.2-SNAPSHOT. 
> And for the wishlist: Could you enrich the examples with their import 
> statemens so they could be just copied and pasted? Thx.
> ---snip---
> ...
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /home/flo/workspace/myproject-root/myproject-activiti-delegates/src/test/java/com/mycustomer/myproject/activiti/delegates/bdd/story/GermanStories.java:[56,68]
>  cannot find symbol
> symbol  : constructor 
> ExamplesTableConverter(java.lang.String,java.lang.String)
> location: class 
> org.jbehave.core.steps.ParameterConverters.ExamplesTableConverter
> [INFO] 1error
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 24.939s
> [INFO] Finished at: Mon Feb 28 13:01:36 CET 2011
> [INFO] Final Memory: 49M/244M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile 
> (default-testCompile) on project myproject-activiti-delegates: Compilation 
> failure
> [ERROR] 
> /home/flo/workspace/myproject-root/myproject-activiti-delegates/src/test/java/com/mycustomer/myproject/activiti/delegates/bdd/story/GermanStories.java:[56,68]
>  cannot find symbol
> [ERROR] symbol  : constructor 
> ExamplesTableConverter(java.lang.String,java.lang.String)
> [ERROR] location: class 
> org.jbehave.core.steps.ParameterConverters.ExamplesTableConverter
> [ERROR] -> [Help 1]
> ---snap---

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to