From jbosstools-commits at lists.jboss.org Mon Mar 30 18:19:29 2009 Content-Type: multipart/mixed; boundary="===============8856723952853667326==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r14382 - trunk/smooks/docs/reference/en/modules. Date: Mon, 30 Mar 2009 18:19:29 -0400 Message-ID: --===============8856723952853667326== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2009-03-30 18:19:28 -0400 (Mon, 30 Mar 2009) New Revision: 14382 Modified: trunk/smooks/docs/reference/en/modules/introduction.xml trunk/smooks/docs/reference/en/modules/quick_start.xml trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpag= e.xml trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml Log: https://jira.jboss.org/jira/browse/JBDS-629 transition sentences are added English is checked Modified: trunk/smooks/docs/reference/en/modules/introduction.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/smooks/docs/reference/en/modules/introduction.xml 2009-03-30 17:5= 9:59 UTC (rev 14381) +++ trunk/smooks/docs/reference/en/modules/introduction.xml 2009-03-30 22:1= 9:28 UTC (rev 14382) @@ -9,6 +9,7 @@ Introduction + This chapter give you a short introduction to Smooks, Smooks tools = and its installation
What is Smooks? = @@ -58,12 +59,12 @@ url=3D"http://www.smooks.org">Smooks official site.
- What is Smooks dev tools? + What is Smooks Tools? = - Smooks dev tools is a set of graphical tools for editing Smooks co= nfiguration file - base on Eclipse. + Smooks tools is a set of graphical tools for editing Smooks config= uration file + based on Eclipse.
- Smooks form editor + Smooks Form editor @@ -74,13 +75,16 @@
How to install Smooks dev tools? = - The Smooks dev tools was included by the JBoss Tools since 3.0.0 + The Smooks tools was included by the JBoss Tools since 3.0.0 Beta1 version. You can download the JBoss Tools fr= om here. - Smooks dev tools (JBoss Tools) run with the = latest Eclipse and + url=3D"http://www.jboss.org/tools/download/index.html">JBoss download = site. + Smooks tools (JBoss Tools) run with the late= st Eclipse and other required plug-ins (GEF, EMF, etc.). - You should download the latest IDE for Java EE developers from th= is site. It contains ma= ny plug-ins ( - GEF, EMF, etc. ) required by Smooks dev tools. + You should download the latest IDE for Java EE developers from Eclipse site. It co= ntains many plug-ins ( + GEF, EMF, etc. ) required by Smooks dev tools. + = + Now let's progress to more advanced topics.
+ Modified: trunk/smooks/docs/reference/en/modules/quick_start.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-03-30 17:59= :59 UTC (rev 14381) +++ trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-03-30 22:19= :28 UTC (rev 14382) @@ -12,7 +12,7 @@ Quick Start This "Quick Start" will show how to use the Smooks tools= to create/edit the Smooks configuration file for Java2Java data transformation. - This chapter should give you a brief understanding of the Smooks dev tools. + This chapter gives you a brief understanding of the Smoo= ks tools.
Download Smooks Java-to-Java Example Visit Tip: = - The example project is base on Maven, you suggest you to create = a new eclipse - Java project and copy the example code and .jar files from the example= project paste + The example project is based on Maven, we suggest you to create = a new eclipse + Java project, copy the example code and .jar files from the example pr= oject and paste them into the eclipse Java project.
Smooks Configuration File Wizard - Select the Smooks Java-to-Java example project what you created an= d right-click, + Select the Smooks Java-to-Java example project that you created an= d right-click, select the menu New > Other, = then find Smooks > Smooks Configuration File. Click the @@ -141,7 +141,7 @@ If there are any errors when you are editing the file, the - Problems area will display them + Problems area displays them = @@ -150,7 +150,7 @@ Source data tree - The tree will display the structure of transformed source + The tree displays a structure of the transformed source data @@ -160,7 +160,7 @@ Target data tree - The tree will display the structure of transformed target + The tree displays a structure of the transformed target data @@ -180,7 +180,7 @@ Click the link, and Data Selection wizard will be opened helping you to + >Data Selection wizard is opened helping you to choose the source/target data @@ -209,11 +209,11 @@ = - After clicking the link the Data Type Selection wizard will be + After clicking the link the Data Type Selection wizard is opened, and there are two data types on the list: Java and XML. Note - There will be more and more data types on the list as the develo= pment went on. + There will become more and more data types on the list as the de= velopment goes on. = @@ -242,7 +242,7 @@ = When you select all the necessary java classes, click Finish - and the structure of the java class will be displayed on th= e source/target + and the structure of the java class is displayed on the sou= rce/target data tree.
Displaying the Structure of the Transformed Data @@ -323,13 +323,13 @@
Please, click Yes - to connect the root node. If you don't do that, this d= ialog will be + to connect the root node. If you don't do that, this d= ialog is opened again when you connect other nodes. Note: - Please, remember that: The root nodes of the source data and targ= et data *MUST* be + Please, remember that the root nodes of the source data and targe= t data *MUST* be connected. - This rule is not only for Java-to-Java, but the same is also rele= vant for + This rule is not only for Java-to-Java, but also is relevant for XML-to-Java Now let's do the same operation with the @@ -349,7 +349,7 @@ "price" and drag it onto the "unitPrice" - of the other side tree viewer. The Problems area will show = an + of the other side tree viewer. The Problems area shows an error:
Connection Error 1 @@ -417,7 +417,7 @@
- Now, you should save the file and the Smooks tools will generate the correct + Now, you should save the file and the Smooks tools generate the correct configuration file content. OK, let run the test class: example.Main. (Pl= ease, make sure that the Smooks engine loads the correct configuration file). Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_configura= tionpage.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpa= ge.xml 2009-03-30 17:59:59 UTC (rev 14381) +++ trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpa= ge.xml 2009-03-30 22:19:28 UTC (rev 14382) @@ -9,6 +9,7 @@ Smooks Configuration Editor Page + In this section you will explore the details of Smooks Configuratio= n Editor usage Smooks Configuration Editor is one tab of the = Smooks Editor.
Graphical Editor @@ -21,8 +22,8 @@ = You can add/edit/remove the Date Decoder on the Configuration page of the Smooks Editor= . - The configuration also edit the Smooks parse - type and manage the Import + The configuration editor also edits the Smooks parse + type and manages the Import Files. =
@@ -58,9 +59,9 @@ = Tip: - If the import file doesn't exist, the image of the import file w= ill change to + If the import file doesn&t exist, the image of the import fi= le is changed to "Error Image". If you double-click the import file in the Import File = list, the file - will be open with a new default editor. + is opened with a new default editor. =
@@ -127,7 +128,8 @@ When you defined a new Date Decoder, then you can use the JavaBean Properties GU= I to set - it to be the "Java type". + it to be the "Java type".
+ Now when we've learnt Smooks Configuration Editor Page, let's have= a look at one more Smooks Editor Page - Smooks Source Editor Page and inv= estigate its functionality = - + We hope, our guide will help you to get started with JBoss Smooks = Tools. Besides, for additional information you are welcome on JBoss forum.
--===============8856723952853667326==--