Author: rhauch
Date: 2008-09-25 14:24:59 -0400 (Thu, 25 Sep 2008)
New Revision: 542
Modified:
trunk/docs/reference/src/main/docbook/en-US/content/sequencing.xml
Log:
DNA-71 Document development tools and environment
https://jira.jboss.org/jira/browse/DNA-71
Corrected some content in the Reference Guide. Specifically, the example Java sequencer
configuration and the MP3 sequencer configuration were in the wrong sections.
Modified: trunk/docs/reference/src/main/docbook/en-US/content/sequencing.xml
===================================================================
--- trunk/docs/reference/src/main/docbook/en-US/content/sequencing.xml 2008-09-25 17:58:08
UTC (rev 541)
+++ trunk/docs/reference/src/main/docbook/en-US/content/sequencing.xml 2008-09-25 18:24:59
UTC (rev 542)
@@ -401,10 +401,11 @@
in your application and configure the Sequencing Service to use this sequencer using
something similar to:
</para>
<programlisting>
-String name = "MP3 Sequencer";
-String desc = "Sequences MP3 files to extract the ID3 tags of the audio file";
-String classname = "org.jboss.dna.sequencer.mp3.Mp3MetadataSequencer";
-String[] pathExpressions = {"//(*.mp3[*])/jcr:content[@jcr:data] =>
/mp3s/$1"};
+String name = "Java Sequencer";
+String desc = "Sequences java files to extract the characteristics of the Java
source";
+String classname = "org.jboss.dna.sequencer.java.JavaMetadataSequencer";
+String[] classpath = null; // Use the current classpath
+String[] pathExpressions = {"//(*.java[*])/jcr:content[@jcr:data] =>
/java/$1"};
&SequencerConfig; sequencerConfig = new &SequencerConfig;(name, desc, classname,
classpath, pathExpressions);
this.sequencingService.addSequencer(sequencerConfig);
@@ -424,11 +425,10 @@
library in your application and configure the Sequencing Service to use this
sequencer using something similar to:
</para>
<programlisting>
-String name = "Java Sequencer";
-String desc = "Sequences java files to extract the characteristics of the Java
source";
-String classname = "org.jboss.dna.sequencer.java.JavaMetadataSequencer";
-String[] classpath = null; // Use the current classpath
-String[] pathExpressions = {"//(*.java[*])/jcr:content[@jcr:data] =>
/java/$1"};
+String name = "MP3 Sequencer";
+String desc = "Sequences MP3 files to extract the ID3 tags of the audio file";
+String classname = "org.jboss.dna.sequencer.mp3.Mp3MetadataSequencer";
+String[] pathExpressions = {"//(*.mp3[*])/jcr:content[@jcr:data] =>
/mp3s/$1"};
&SequencerConfig; sequencerConfig = new &SequencerConfig;(name, desc, classname,
classpath, pathExpressions);
this.sequencingService.addSequencer(sequencerConfig);