Author: jgbutler
Date: Mon Dec 22 13:42:36 2008
New Revision: 728794

URL: http://svn.apache.org/viewvc?rev=728794&view=rev
Log:
[Ibator} Ibator version 1.2.1

Added:
    
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/features/org.apache.ibatis.ibator_1.2.1.jar
   (with props)
    
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.core_1.2.1.jar
   (with props)
    
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.core_1.2.1.jar
   (with props)
    
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.doc_1.2.1.jar
   (with props)
    
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.ui_1.2.1.jar
   (with props)
Modified:
    ibatis/trunk/java/tools/ibator/core/build/version.properties
    
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/columnRenamingRule.html
    
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/ibatorContext.html
    ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/table.html
    
ibatis/trunk/java/tools/ibator/core/htmldoc/generatedobjects/extendingExampleClass.html
    
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator-src.zip
    
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator.jar
    
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/manualTesting.html
    
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/releasenotes.html
    
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html

Modified: ibatis/trunk/java/tools/ibator/core/build/version.properties
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/build/version.properties?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- ibatis/trunk/java/tools/ibator/core/build/version.properties (original)
+++ ibatis/trunk/java/tools/ibator/core/build/version.properties Mon Dec 22 
13:42:36 2008
@@ -1,4 +1,4 @@
 #Ibator build version info
-#Sun Dec 21 20:24:13 CST 2008
+#Mon Dec 22 15:32:20 CST 2008
 version=1.2.1
-buildNum=680
+buildNum=681

Modified: 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/columnRenamingRule.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/columnRenamingRule.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/columnRenamingRule.html
 (original)
+++ 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/columnRenamingRule.html
 Mon Dec 22 13:42:36 2008
@@ -17,7 +17,7 @@
 
 <h1>The &lt;columnRenamingRule&gt; Element</h1>
 <p>The &lt;columnRenamingRule&gt; element is used to tell Ibator to rename
-database columns before calulating the corresponding property
+database columns before calculating the corresponding property
 name in an introspected table.  This is useful when all columns
 in a table have a common prefix that should be removed before
 calculating the property name.  For example, suppose a table
@@ -30,7 +30,7 @@
  </ul>
 <p>It might be annoying to have the generated properties
  all containing the CUST prefix.  The prefix can be removed by
- specifying a renimg rule like this:</p>
+ specifying a renamimg rule like this:</p>
 
 <p><code>&lt;columnRenamingRule searchString="^CUST_" replaceString="" 
/&gt;</code></p>
 
@@ -103,7 +103,7 @@
   </tr>
   <tr>
     <td>replaceString</td>
-    <td>This is a string to be substituted for every occurance of the
+    <td>This is a string to be substituted for every occurrence of the
         search string.  If not specified, the empty string is used.</td>
   </tr>
 </table>

Modified: 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/ibatorContext.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/ibatorContext.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/ibatorContext.html 
(original)
+++ 
ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/ibatorContext.html 
Mon Dec 22 13:42:36 2008
@@ -155,7 +155,7 @@
       compiling the generated objects with a JSE 5.0 compiler.  In that 
situation,
       the Ibator generated code would generate many compiler warnings if the
       annotation is not allowed.  This property is not needed and will have
-      no effect when using the Ibatis2Java5 targetRuntime.</p>
+      no effect when using the Ibatis2Java5 targetRuntime.<p/>
       <p><i>The default value is false.</i></p></td>
   </tr>
   <tr>
@@ -163,7 +163,7 @@
     <td>The value to use as the beginning identifier delimiter for SQL 
identifiers that
         require delimiters.  Ibator will automatically delimit SQL identifiers 
if the
         identifier contains a space.  Ibator will also delimit SQL identifiers 
if
-        specifically requested in a &lt;table&gt; or  &lt;columnOverride&gt; 
configuration.</p>
+        specifically requested in a &lt;table&gt; or  &lt;columnOverride&gt; 
configuration.<p/>
       <p><i>The default value is double quotes (&quot;).</i></p></td>
   </tr>
   <tr>
@@ -171,7 +171,7 @@
     <td>The value to use as the ending identifier delimiter for SQL 
identifiers that
         require delimiters.  Ibator will automatically delimit SQL identifiers 
if the
         identifier contains a space.  Ibator will also delimit SQL identifiers 
if
-        specifically requested in a &lt;table&gt; or  &lt;columnOverride&gt; 
configuration.</p>
+        specifically requested in a &lt;table&gt; or  &lt;columnOverride&gt; 
configuration.<p/>
       <p><i>The default value is double quotes (&quot;).</i></p></td>
   </tr>
 </table>

Modified: ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/table.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/table.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/table.html 
(original)
+++ ibatis/trunk/java/tools/ibator/core/htmldoc/configreference/table.html Mon 
Dec 22 13:42:36 2008
@@ -283,7 +283,7 @@
         Ibator will not add the schema or catalog to the table name in the 
generated SQL.
         This is useful if you have tables with the same name in several 
schemas -
         you can use Ibator to generate objects based on the table in one 
schema,
-        but not include the schema for runtime.</p>
+        but not include the schema for runtime.<p/>
         <p><i>The default value is false.</i></p></td>
   </tr>
   <tr>
@@ -350,7 +350,7 @@
     <td>If true, then Ibator will generate resultMaps that use column index 
rather than
         column name in the result mappings.  This is useful when a table has 
column names
         differentiated only by the case of the name (e.g. "first name" and 
"First Name").
-        There is a slight performance benefit with this support also.</p>
+        There is a slight performance benefit with this support also.<p/>
         <p><i>The default value is false.</i></p></td>
   </tr>
 </table>

Modified: 
ibatis/trunk/java/tools/ibator/core/htmldoc/generatedobjects/extendingExampleClass.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/core/htmldoc/generatedobjects/extendingExampleClass.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/core/htmldoc/generatedobjects/extendingExampleClass.html
 (original)
+++ 
ibatis/trunk/java/tools/ibator/core/htmldoc/generatedobjects/extendingExampleClass.html
 Mon Dec 22 13:42:36 2008
@@ -144,9 +144,9 @@
       in potential error messages.</dd>
 </dl>
 
-This method can be used to add simple tests related to a single parameter to 
the generated where clause.</p>
+<p>This method can be used to add simple tests related to a single parameter 
to the generated where clause.</p>
 
-<p>For example, suppose you wanted to perform a case insensitve search on 
certain columns.
+<p>For example, suppose you wanted to perform a case insensitive search on 
certain columns.
 In MySQL, the predicate could look like this:</p>
 <code>upper(FIRST_NAME) like ?</code>
 <p>This predicate fits the capabilities of a single parameter predicate - 
where the predicate

Added: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/features/org.apache.ibatis.ibator_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/features/org.apache.ibatis.ibator_1.2.1.jar?rev=728794&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/features/org.apache.ibatis.ibator_1.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.core_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.core_1.2.1.jar?rev=728794&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.core_1.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.core_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.core_1.2.1.jar?rev=728794&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.core_1.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.doc_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.doc_1.2.1.jar?rev=728794&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.doc_1.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.ui_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.ui_1.2.1.jar?rev=728794&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ibatis/trunk/java/tools/ibator/eclipse/IbatorUpdateSite/plugins/org.apache.ibatis.ibator.eclipse.ui_1.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator-src.zip
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator-src.zip?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator.jar
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.core/ibator.jar?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/manualTesting.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/manualTesting.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/manualTesting.html
 (original)
+++ 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/manualTesting.html
 Mon Dec 22 13:42:36 2008
@@ -16,7 +16,9 @@
   <li>Make sure that MySQL is installed and running.  The following scripts 
also assume
       that the password for <code>root</code> is also <code>root</code></li>
   <li>Make sure that you have downloaded the MySQL Connector for Java and 
unzipped
-      it somewhere on your local drive.</li>
+      it somewhere on your local drive.  The following scripts assume the
+      MySQL JDBC driver is located at
+      
"/JavaTools/mysql-connector-java-5.0.6/mysql-connector-java-5.0.6-bin.jar".</li>
   <li>If you have not created the Ibator test database already, then execute 
the
       following script:
       <pre>
@@ -36,6 +38,8 @@
 create table j (id int not null, description varchar(50), primary key(id));
       </pre>
   </li>
+  <li>Make sure that the new version of the plugin has been built in the
+      "IbatorUpdateSite" project.</li>
 </ol>
 
 <h2>Tests</h2>
@@ -50,22 +54,23 @@
   <li>Show all versions of the feature</li>
   <li>Install the oldest version of the feature</li>
   <li>Restart Eclipse</li>
-  <li>Do a regular software update and ensure that the newest version of the
-      feature is lasted as an install option (this may also install other 
Eclipse updates)</li>
+  <li>Do a regular software update and verify that the newest version of the
+      feature is listed as an install option (this may also install other 
Eclipse updates)</li>
   <li>Restart Eclipse</li>
-  <li>Ensure that the latest version of the feature is listed as installed</li>
+  <li>Verify that the latest version of the feature is listed as installed</li>
 </ol>
 
 <h3>Documentation</h3>
 <ol>
-  <li>Start Eclipse if not already started</li>
   <li>Open the Eclipse help (Help&gt;Help Contents)</li>
-  <li>Ensure that the book "Apache iBATIS Ibator User's Guide" appears
+  <li>Verify that the book "Apache iBATIS Ibator User's Guide" appears
       in the contents.</li>
-  <li>Ensure that every item in the contents points to a valid page,
+  <li>Verify that every item in the contents points to a valid page,
       and that all pages are referenced in the table of contents.  This is
       especially important if new packages or help pages have been added 
anywhere.</li>
-  <li>Ensure that the latest version of the release notes is shown both in the
+  <li>Verify that the core Ibator documentation pages do not show the options
+      to show or hide the menu.  These options should be disabled by the style 
sheet.</li>
+  <li>Verify that the latest version of the release notes is shown both in the
       Eclipse UI documentation, and the Core Ibator documentation.</li>
 </ol>
 
@@ -155,8 +160,8 @@
   <li>Save and close the file</li>
   <li>Right click on the Ibator configuration file, and then
       take the option "Generate iBATIS Artifacts"</li>
-  <li>Verify that <code>src.dao.ADAOImpl</code> now extends 
<code>SqlMapClientDaoSupport<.code>.
-      Note that there will be several errors in the workspace now because of 
the new dependancies
+  <li>Verify that <code>src.dao.ADAOImpl</code> now extends 
<code>SqlMapClientDaoSupport</code>.
+      Note that there will be several errors in the workspace now because of 
the new dependencies
       on Spring that were generated.</li>
 
   <li>Re open the Ibator configuration file.</li>
@@ -215,7 +220,7 @@
 <h3>Classpath Variables</h3>
 <ol>
   <li>Create a new Java project called "IbatorPlugin".  Make sure that there 
are
-      seperate folders for source and class files.</li>
+      separate folders for source and class files.</li>
   <li>Right click on the "IbatorPlugin" project, then take the menu option to
       "Add Ibator to Build Path".</li>
   <li>Verify that the IBATOR_JAR classpath variable has been added to the 
project's
@@ -223,9 +228,9 @@
   <li>Expand the Ibator JAR file, select any class and double click on the 
class.
       Verify that the source code is attached and that you see the source code 
for
       the class.</li>
-  <li>Make a new Java package called "plugin".</li>
-  <li>Make a new Java class called "plugin.TestPlugin" that extends
-      "IbatorPluginAdapter".</li>
+  <li>Make a new Java package called <code>plugin</code>.</li>
+  <li>Make a new Java class called <code>plugin.TestPlugin</code> that extends
+      <code>IbatorPluginAdapter</code>.</li>
   <li>Change the generated <code>validate</code> method so that it returns
       <code>true</code>.</li>
   <li>Override the <code>modelBaseRecordClassGenerated</code> method and make
@@ -245,6 +250,9 @@
 }
       </pre></li>
   <li>Save and close the Java file.</li>
+  <li>Export <code>plugin.TestPlugin</code> as a JAR file to 
"/Temp/TestPlugin.jar".
+      We need to export as a JAR file because Eclipse can't add class folders 
to an
+      Ant launch :(</li>
   <li>Open the <code>ibatorConfig.xml</code> file from the previous tests.</li>
   <li>Add the plugin to the configuration.  Add it after the first 
&lt;ibatorContext&gt;
       element like this:
@@ -258,10 +266,13 @@
   <li>Right click on the <code>build.xml</code> file from the previous tests, 
then select the
       menu option "Run As&gt;Ant Build...".  You should see the Ant launch 
configuration
       dialog open.</li>
-  <li>Select the "Classpath" tab, then add the "bin" directory of the 
"IbatorPlugin" project
-      to "User Entries"</li>
+  <li>Select the "Classpath" tab, then add "/Temp/TestPlugin.jar" file to the 
classpath as an
+     external JAR</li>
   <li>Press the "Run" button</li>
   <li>After Ibator runs, you should see a "BUILD SUCCESSFUL" message.</li>
+  <li>Verify that <code>gen.model.A.java</code> now implements 
<code>java.io.Serializable</code>.
+      Note that Eclipse may show a warning related to the missing 
<code>serialVersionUID</code>
+      field.  This is expected and can be ignored.</li>
 </ol>
 
 </body>

Modified: 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/releasenotes.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/releasenotes.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/releasenotes.html
 (original)
+++ 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/releasenotes.html
 Mon Dec 22 13:42:36 2008
@@ -10,11 +10,15 @@
 <h1>Ibator Eclipse Feature Release Notes</h1>
 <h2>Version 1.2.1</h2>
 <ul>
+  <li>Upgraded to Ibator Version 1.2.1 - this will fix the issue where Ibator 
is ignroing
+      the Ant classpath set in Eclipse Ant launch configurations.</li>
   <li>Fixed an issue with the JavaFileMerger where it fails if the workspace
       gets out of sync with the file system</li>
   <li>Added IBATOR_JAR classpath variable</li>
   <li>Added IBATOR_JAR_SRC classpath variable</li>
   <li>Added menu option to add Ibator to the build path of any Java 
project</li>
+  <li>Added list of manual test scripts to the documentation to help in the
+      release process, and also to show the intended usage of the UI 
features.</li>
 </ul>
 
 <h2>Version 1.2.0</h2>
@@ -52,7 +56,7 @@
       popup menu items instead of content type.  This should resolve conflicts
       with other plug-ins like oXygen</li>
   <li>The built-in Ant task now accepts a nested Ant &lt;propertyset&gt;
-    to allow passing properties into an Abatorf configuration file.</li>
+    to allow passing properties into an Abator configuration file.</li>
 </ul>
 
 <h2>Version 0.6.5</h2>

Modified: 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html
URL: 
http://svn.apache.org/viewvc/ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html?rev=728794&r1=728793&r2=728794&view=diff
==============================================================================
--- 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html
 (original)
+++ 
ibatis/trunk/java/tools/ibator/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/usingAnt.html
 Mon Dec 22 13:42:36 2008
@@ -23,7 +23,7 @@
    core Ibator interfaces.  For example, if you want to provide a custom 
implementation
    of the JavaTypeResolver interface.  When running Ibator from the simple 
menu option,
    you have no control over the classpath of the Ibator run.  When you run from
-   Ant, you have much more control over the runtime classpath./li>
+   Ant, you have much more control over the runtime classpath.</li>
 </ul>
 
 <h2>Integrated Ant Task Detail</h2>
@@ -36,8 +36,8 @@
     &lt;eclipse.convertPath 
resourcepath="IbatorTest/src/config/ibatorConfig.xml"
                          property="thePath"/&gt;
     &lt;ibator.generate configfile="${thePath}" /&gt;
-  &lt;/target>
-&lt;/project>
+  &lt;/target&gt;
+&lt;/project&gt;
 </pre>
 <p>This file uses the Eclipse supplied "eclipse.convertPath" task to calculate 
the
  actual path of the configuration file.  Then we use the


Reply via email to