commit b90066dece55114c81d1389df9c3db9cef973561
Author: Mauro Talevi <[email protected]>
AuthorDate: Sun, 16 Feb 2014 12:55:55 +0100
Commit: Mauro Talevi <[email protected]>
CommitDate: Sun, 16 Feb 2014 12:56:16 +0100
JBEHAVE-976: Updated docs.
diff --git a/distribution/src/site/content/using-rest.html
b/distribution/src/site/content/using-rest.html
index cabd20e..9a5f0c3 100755
--- a/distribution/src/site/content/using-rest.html
+++ b/distribution/src/site/content/using-rest.html
@@ -38,8 +38,8 @@ the <a
href="javadoc/rest/org/jbehave/core/io/rest/ResourceUploader.html">Resour
<restRootURI>http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages</restRootURI>
<restUsername>[optional]</restUsername>
<restPassword>[optional]</restPassword>
- <targetPath>target/stories</targetPath>
- <targetExt>.story</targetExt>
+
<resourcesPath>[optional|src/main/resources/stories]</resourcesPath>
+ <resourcesExt>[optional|.story]</resourcesExt>
</configuration>
<goals>
<goal>import-to-filesystem</goal>
@@ -53,9 +53,9 @@ the <a
href="javadoc/rest/org/jbehave/core/io/rest/ResourceUploader.html">Resour
<restRootURI>http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages</restRootURI>
<restUsername>[optional]</restUsername>
<restPassword>[optional]</restPassword>
- <sourcePath>target/stories</sourcePath>
- <sourceExt>.story</sourceExt>
- <includes>**/*.story</includes>
+
<resourcesPath>[optional|src/main/resources/stories]</resourcesPath>
+ <resourcesExt>[optional|.story]</resourcesExt>
+ <resourcesIncludes>[optional|**]</resourcesIncludes>
</configuration>
<goals>
<goal>export-from-filesystem</goal>
@@ -71,9 +71,10 @@ the <a
href="javadoc/rest/org/jbehave/core/io/rest/ResourceUploader.html">Resour
<script type="syntaxhighlighter" class="brush: plain">
<![CDATA[
mvn org.jbehave:jbehave-rest:import-to-filesystem
-Djbehave.rest.rootURI=http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages
-
-Djbehave.rest.targetPath=target/stories -Djbehave.rest.targetExt=.story
+
-Djbehave.rest.resourcesPath=src/main/resources/stories
-Djbehave.rest.resourcesExt=.story
mvn org.jbehave:jbehave-rest:export-from-filesystem
-Djbehave.restRootURI=http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages
-
-Djbehave.rest.sourcePath=target/stories -Djbehave.rest.sourceExt=.story
-Djbehave.rest.includes=**/*.story
+
-Djbehave.rest.resourcesPath=src/main/resources/stories
-Djbehave.rest.resourcesExt=.story
+
-Djbehave.rest.resourcesIncludes=**/*.story
]]>
</script>