commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: cvs commit: jakarta-commons/dbutils project.xml project.properties
Date Sat, 28 Feb 2004 13:34:10 GMT
Thanks for handling the license and website for DbUtils!  Now the logo
looks very out of place.  Is there a standard way to build a "commons"
logo for each component so they all match?

David

--- scolebourne@apache.org wrote:
> scolebourne    2004/02/27 16:36:27
> 
>   Modified:    dbutils/xdocs index.xml examples.xml navigation.xml
>                dbutils  project.xml project.properties
>   Log:
>   Update to new website design
>   
>   Revision  Changes    Path
>   1.5       +1 -4      jakarta-commons/dbutils/xdocs/index.xml
>   
>   Index: index.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/dbutils/xdocs/index.xml,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- index.xml	28 Feb 2004 00:12:23 -0000	1.4
>   +++ index.xml	28 Feb 2004 00:36:26 -0000	1.5
>   @@ -24,9 +24,8 @@
>    
>    <body>
>    
>   -<section name="DbUtils: JDBC Utility Component">
>   +<section name="Commons DbUtils: JDBC Utility Component">
>    
>   -<section name="Purpose">
>    <p>
>    DbUtils is a small set of classes designed to make working with 
>    <a href="http://java.sun.com/products/jdbc/">JDBC</a> easier.  JDBC 
>   @@ -111,8 +110,6 @@
>            <li>Java 1.2 (or later)</li>
>            <li>JDBC 2.0 (or later)</li>
>        </ul>
>   -</section>
>   -
>    </section>
>    
>    </body>
>   
>   
>   
>   1.4       +13 -10    jakarta-commons/dbutils/xdocs/examples.xml
>   
>   Index: examples.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/dbutils/xdocs/examples.xml,v
>   retrieving revision 1.3
>   retrieving revision 1.4
>   diff -u -r1.3 -r1.4
>   --- examples.xml	28 Feb 2004 00:12:23 -0000	1.3
>   +++ examples.xml	28 Feb 2004 00:36:26 -0000	1.4
>   @@ -43,9 +43,9 @@
>    library.  The following example demonstrates how these classes are
> used together.
>    </p>
>    
>   -<pre>
>   +<source>
>    <![CDATA[
>   -// Create a ResultSetHandler implementation to convert the 
>   +// Create a ResultSetHandler implementation to convert the
>    // first row into an Object[].
>    ResultSetHandler h = new ResultSetHandler() {
>        public Object handle(ResultSet rs) throws SQLException {
>   @@ -66,9 +66,10 @@
>    QueryRunner run = new QueryRunner(dataSource);
>    
>    // Execute the query and get the results back from the handler
>   -Object[] result = (Object[]) run.query("SELECT * FROM Person WHERE
> name=?", "John Doe", h); 
>   +Object[] result = (Object[]) run.query(
>   +    "SELECT * FROM Person WHERE name=?", "John Doe", h);
>    ]]>
>   -</pre>
>   +</source>
>    
>    
>    <p>
>   @@ -76,7 +77,7 @@
>    instead of a <code>DataSource</code>.  Notice that you are
> responsible for closing the
>    <code>Connection</code> in this example.
>    </p>
>   -<pre>
>   +<source>
>    <![CDATA[
>    ResultSetHandler h = new ResultSetHandler() {
>        public Object handle(ResultSet rs) throws SQLException {
>   @@ -96,7 +97,8 @@
>    
>    Connection conn = ... // open a connection
>    try{
>   -    Object[] result = (Object[]) run.query(conn, "SELECT * FROM
> Person WHERE name=?", "John Doe", h); 
>   +    Object[] result = (Object[]) run.query(
>   +        conn, "SELECT * FROM Person WHERE name=?", "John Doe", h);
>    	// do something with the result
>    	
>    } finally {
>   @@ -104,7 +106,7 @@
>        DbUtils.close(conn);  
>    }
>    ]]>
>   -</pre>
>   +</source>
>    </section>
>    
>    
>   @@ -121,7 +123,7 @@
>    another that converts all rows in the <code>ResultSet</code>. 
>    </p>
>    
>   -<pre>
>   +<source>
>    QueryRunner run = new QueryRunner(dataSource);
>    
>    // Use the BeanHandler implementation to convert the first
>   @@ -130,8 +132,9 @@
>    
>    // Execute the SQL statement with one replacement parameter and
>    // return the results in a new Person object generated by the
> BeanHandler.
>   -Person p = (Person) run.query("SELECT * FROM Person WHERE name=?",
> "John Doe", h); 
>   -</pre>
>   +Person p = (Person) run.query(
>   +    "SELECT * FROM Person WHERE name=?", "John Doe", h); 
>   +</source>
>    
>    </section>
>    
>   
>   
>   
>   1.4       +28 -5     jakarta-commons/dbutils/xdocs/navigation.xml
>   
>   Index: navigation.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/dbutils/xdocs/navigation.xml,v
>   retrieving revision 1.3
>   retrieving revision 1.4
>   diff -u -r1.3 -r1.4
>   --- navigation.xml	28 Feb 2004 00:12:23 -0000	1.3
>   +++ navigation.xml	28 Feb 2004 00:36:26 -0000	1.4
>   @@ -14,16 +14,39 @@
>       See the License for the specific language governing permissions
> and
>       limitations under the License.
>    -->
>   -<project name="Commons DbUtils">
>    
>   -  <title>Commons DbUtils</title>
>   +<!DOCTYPE project [
>   +<!ENTITY commons-nav SYSTEM "../../commons-build/incl_nav.xml">
>   +]>
>   +
>   +<project name="DbUtils">
>   +
>   +  <title>DbUtils</title>
>   +  <organizationLogo href="/images/jakarta-logo-blue.gif">
>   +   Jakarta
>   +  </organizationLogo>
>    
>      <body>
>   -    <menu name="DbUtils">
>   +    <links>
>   +      <item name="Jakarta Commons"                   
>   +            href="http://jakarta.apache.org/commons/"/>
>   +    </links>
>   +
>   +    <menu name="Commons DbUtils">
>          <item name="Overview" href="/index.html"/>
>   -      <item name="Examples" href="/examples.html" />
>   +      <!--item name="Users guide" href="/userguide.html"/-->
>   +      <item name="Examples" href="/examples.html"/>
>   +      <!--item name="Javadoc (3.0 release)"
> href="apidocs-COLLECTIONS_3_0/index.html"/-->
>   +      <item name="Javadoc" href="apidocs/index.html"/>
>   +      <item name="Mailing lists" href="/mail-lists.html"/>
>   +      <item name="Team" href="/team-list.html"/>
>   +      <item name="Tasks" href="/todo.html"/>
>   +      <item name="CVS"
> href="http://cvs.apache.org/viewcvs/jakarta-commons/dbutils/"/>
>   +      <!--item name="Javadoc (CVS latest)"
> href="apidocs/index.html"/-->
>          <item name="Downloads" href="/downloads.html"/>
>   -      <item name="To Do List" href="/todo.html"/>
>        </menu>
>   +    
>   +    &commons-nav;
>   +
>      </body>
>    </project>
>   
>   
>   
>   1.9       +21 -48    jakarta-commons/dbutils/project.xml
>   
>   Index: project.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/dbutils/project.xml,v
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message