-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels