Author: irooskov(a)redhat.com
Date: 2012-05-01 23:47:03 -0400 (Tue, 01 May 2012)
New Revision: 40690
Added:
trunk/cdi/docs/reference/en-US/adding_cdi_support.xml
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_01.png
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_02.png
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_03.png
Modified:
trunk/cdi/docs/reference/en-US/Book_Info.xml
trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml
Log:
updated with new chapter
Modified: trunk/cdi/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/Book_Info.xml 2012-05-01 23:15:36 UTC (rev 40689)
+++ trunk/cdi/docs/reference/en-US/Book_Info.xml 2012-05-02 03:47:03 UTC (rev 40690)
@@ -13,7 +13,7 @@
<edition>5.0.0</edition>
- <pubsnumber>2</pubsnumber>
+ <pubsnumber>4</pubsnumber>
<abstract>
<para>
Modified: trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml 2012-05-01 23:15:36 UTC
(rev 40689)
+++ trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml 2012-05-02 03:47:03 UTC
(rev 40690)
@@ -6,6 +6,7 @@
<xi:include href="Preface.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Introduction.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Creating_a_CDI_Web_Project.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="adding_cdi_support.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Feedback.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Added: trunk/cdi/docs/reference/en-US/adding_cdi_support.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/adding_cdi_support.xml (rev 0)
+++ trunk/cdi/docs/reference/en-US/adding_cdi_support.xml 2012-05-02 03:47:03 UTC (rev
40690)
@@ -0,0 +1,57 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+ <chapter
id="chap-CDI_Tools_Reference_Guide-Adding_CDI_Support_to_a_Project">
+ <title>Adding CDI Support to a project</title>
+ <para>
+ CDI support can be added either to an existing project or during project creation.
+ </para>
+ <para>
+ To add CDI support to an existing project, select the project, and right-click to bring
up the context menu. From the menu select
<menuchoice><guimenuitem>Configure</guimenuitem><guimenuitem>Add
CDI support</guimenuitem></menuchoice>. The following preferences page will
now display:
+ </para>
+ <figure id="adding_cdi_support_01">
+ <title>CDI project settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Adding_CDI_Support/adding_cdi_support_01.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ CDI project settings.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ You can also add CDI support to a project during project creation. To do so, click the
<guibutton>Modify</guibutton> button beside the selected
<guilabel>Configuration</guilabel> on the first screen of the project wizard.
+ </para>
+ <figure id="adding_cdi_support_02">
+ <title>Modifying project configuration</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Adding_CDI_Support/adding_cdi_support_02.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Modifying project configuration.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ From the <guilabel>Project Facets</guilabel> screen, add CDI to the project
by selecting the checkbox beside the facet <guimenuitem>CDI (Contexts and Dependency
Injection) </guimenuitem>. Clcik the <guibutton>OK</guibutton> button to
accept the configuration change and return to the project creation wizard.
+ </para>
+ <figure id="adding_cdi_support_03">
+ <title>Adding CDI facet support</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Adding_CDI_Support/adding_cdi_support_03.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Adding CDI facet support.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+</chapter>
+
Added: trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_01.png
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_02.png
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_03.png
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/docs/reference/en-US/images/Adding_CDI_Support/adding_cdi_support_03.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream