Permalink
Browse files

Added config documentation

  • Loading branch information...
1 parent 508464c commit b563aea70be455b4e8fd4eb96ad84670d788a57a @badong2210 badong2210 committed Apr 24, 2013
Showing with 17 additions and 0 deletions.
  1. +17 −0 jspringbot-config/src/main/resources/libdoc.intro
@@ -6,6 +6,23 @@ Please see the example {{Config Library}} project.
{{jspringbot-github:sample-config|Sample Project}}
+= Configuration =
+
+Configure the following to use jspringbot-xml.
+
+1. Add this artifact in maven dependency
+
+| <dependencies>
+| <dependency>
+| <groupId>org.jspringbot</groupId>
+| <artifactId>jspringbot-config</artifactId>
+| </dependency>
+| </dependencies>
+
+2. Import spring-http in {{jspringbot-global.xml}}
+
+| <import resource="classpath:spring/spring-config.xml"/>
+
== Configuration Files ==
The configuration files are properties file with name and value pair. The configuration files are auto detected using two ways.

0 comments on commit b563aea

Please sign in to comment.