I added the most used docbook commands, check out these sites to learn some more:
You can specify commands like this :
<command>javac –version</command>
The output: javac –version
You can specify output like this :
<screen>screen output</screen>
The output:
c:\tutorial\springfuse-example>mvn initialize
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building springfuse-example
[INFO] task-segment: [initialize]
[INFO] ------------------------------------------------------------------------
[INFO] [sql:execute {execution: Create and initialize the database}]
[INFO] Executing file: c:\tutorial\springfuse-example\src\main\sql\h2\drop.sql
[INFO] Executing file: c:\tutorial\springfuse-example\src\main\sql\h2\create.sql
[INFO] Executing file: c:\tutorial\springfuse-example\src\main\sql\h2\comment.sql
[INFO] Executing file: c:\tutorial\springfuse-example\src\main\sql\h2\init.sql
[INFO] 45 of 45 SQL statements executed successfully
[INFO] [springfuse:extract {execution: Extract database Meta Data}]
[INFO] Ready to extract the database schema
[INFO] Connecting to database jdbcUrl=jdbc:h2:~/.h2/quickstartdb
[INFO] Connected OK
[INFO] database Product Name: H2
[INFO] database schema extracted
[INFO] File data-model.springfuse passed reverse conversion OK
[INFO] File data-model.springfuse created successfully
[INFO] You are now ready to upload data-model.springfuse to http://www.springfuse.com/
and generate your project!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Jan 27 16:10:07 CET 2009
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
You can specify filenames like this :
<filename>src/main/generated-java/com/springfuse/example/model/Account.java</filename>
The output:
src/main/generated-java/com/springfuse/example/model/Account.java
You can specify classname like this :
<classname>GenericDaoService</classname>
The output:
GenericDaoService
You can specify literals like this :
<literal>jdbc.driver</literal>
The output:
jdbc.driver
You can set lists like this
<itemizedlist> <listitem><para>Spring Core</para></listitem> <listitem><para>Spring MVC</para></listitem> <listitem><para>Spring Security</para></listitem> <listitem><para>Spring Integration</para></listitem> <listitem><para>Spring Web Flow</para></listitem> </itemizedlist>
The output
Spring Core
Spring MVC
Spring Security
Spring Integration
Spring Web Flow
You can add images like this
<mediaobject> <imageobject> <imagedata fileref="images/how-springfuse-works.png" align="center" /> </imageobject> <caption>How springfuse works</caption> </mediaobject>
The output:
