Author: smukhina
Date: 2008-07-10 11:33:24 -0400 (Thu, 10 Jul 2008)
New Revision: 9514
Modified:
trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml
Log:
http://jira.jboss.com/jira/browse/RF-3692
xml syntax is fixed for Doc for CDK
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml 2008-07-10 15:26:07 UTC
(rev 9513)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml 2008-07-10 15:33:24 UTC
(rev 9514)
@@ -2,57 +2,52 @@
<section id="ccreate" xreflabel="ccreate">
<?dbhtml filename="ccreate.html"?>
<sectioninfo>
- <keywordset>
- <keyword>create</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </sectioninfo>
- <title>Creating and building component skeleton</title>
- <para>
- Let's create a skeleton for the <emphasis
role="bold"><property><inputDate></property></emphasis>
component.
- </para>
- <para>
- You need to go to the <property>inputDate</property> directory and
then launch the following command:
- </para>
- <programlisting role="XML"><![CDATA[...
+<keywordset>
+<keyword>create</keyword>
+<keyword>component</keyword>
+<keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+</keywordset>
+</sectioninfo>
+<title>Creating and building component skeleton</title>
+<para>
+Let's create a skeleton for the <emphasis
role="bold"><property><inputDate></property></emphasis>
component.
+</para>
+<para> You need to go to the <property>inputDate</property> directory
and then launch the following command: </para>
+<programlisting role="XML"><![CDATA[...
mvn cdk:create -Dname=inputDate
...]]>
- </programlisting>
- <para>
- As a result three artifacts will be created:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- An XML configuration file for the metadata
- </para>
- </listitem>
- <listitem>
- <para>
- A UI class
- </para>
- </listitem>
- <listitem>
- <para>
- A JSP-like template
- </para>
- </listitem>
- </itemizedlist>
- <para>
- In order to build the component you should stay in the
<property>inputDate</property> directory
- and launch the following command:
- </para>
- <programlisting role="XML"><![CDATA[...
+</programlisting>
+<para>
+As a result three artifacts will be created:
+</para>
+<itemizedlist>
+<listitem>
+<para>
+An XML configuration file for the metadata
+</para>
+</listitem>
+<listitem>
+<para>
+A UI class
+</para>
+</listitem>
+<listitem>
+<para>
+A JSP-like template
+</para>
+</listitem></itemizedlist>
+<para>
+In order to build the component you should stay in the
<property>inputDate</property> directory
+and launch the following command:</para>
+<programlisting role="XML"><![CDATA[...
mvn install
...]]>
- </programlisting>
- <para>
- This command generates and compiles the library and then creates a result JAR
file.
- A directory named <property>target</property> will be created along
with a <property>src</property> directory.
- If you get a file named
<property>target/inputDate-1.0-SNAPSHOT.jar</property>, everything is set up
successfully.
- </para>
+</programlisting>
+<para>
+This command generates and compiles the library and then creates a result JAR file.
+A directory named <property>target</property> will be created along with a
<property>src</property> directory.
+If you get a file named
<property>target/inputDate-1.0-SNAPSHOT.jar</property>, everything is set up
successfully. </para>
</section>