Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmine - problems to import stories #6

Open
MauroAndreFlores opened this issue Mar 11, 2014 · 0 comments
Open

Redmine - problems to import stories #6

MauroAndreFlores opened this issue Mar 11, 2014 · 0 comments

Comments

@MauroAndreFlores
Copy link

I'm testing the integration of jbehave with redmine.
I'm able to read a specific story:

    String text = loader.loadResourceAsText("http://localhost/redmine/projects/my-project/wiki/i_can_toggle_a_cell");

But when I try to read all the stories to the file system:

    ResourceImporter importer = new ImportToFilesystem(indexer, loader, targetPath, targetExt);
   importer.importResources("http://localhost/redmine/projects/my-project/wiki");

I get the following exception:

Exception in thread "main" org.jbehave.core.io.InvalidStoryResource: Invalid story resource for http://localhost/redmine/projects/apmjava-des/wiki/Wiki
Caused by: java.lang.IllegalStateException: Not a JSON Object: null

Probably I'm not publishing the set of stories in redmine correctly. I'm creating one wiki page for each story. The format is plain text. I haven't found any example.

Regards. Mauro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant