You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/02/28 01:36:27 UTC
cvs commit: jakarta-commons/dbutils project.xml project.properties
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
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- project.xml 28 Feb 2004 00:12:22 -0000 1.8
+++ project.xml 28 Feb 2004 00:36:26 -0000 1.9
@@ -15,63 +15,19 @@
limitations under the License.
-->
<project>
-
- <version>3</version>
+ <extend>../commons-build/project.xml</extend>
<name>DbUtils</name>
<id>commons-dbutils</id>
<currentVersion>1.1-dev</currentVersion>
- <organization>
- <name>Apache Software Foundation</name>
- <url>http://www.apache.org/</url>
- <logo>http://jakarta.apache.org/images/jakarta-logo-blue.gif</logo>
- </organization>
-
- <logo>/images/dbutils-logo-blue.png</logo>
-
<inceptionYear>2002</inceptionYear>
- <package>org.apache.commons.dbutils</package>
-
- <shortDescription>Common Java Database Components</shortDescription>
+ <logo>/images/dbutils-logo-blue.png</logo>
+ <shortDescription>Commons DbUtils</shortDescription>
+ <description>A package of Java utility classes for easing JDBC development</description>
<!-- Gump integration -->
<gumpRepositoryId>jakarta-dbutils</gumpRepositoryId>
- <description>
- Commons DbUtils is a package of Java utility classes for easing
- JDBC development tasks.
- </description>
-
- <url>http://jakarta.apache.org/commons/dbutils/</url>
- <issueTrackingUrl>http://issues.apache.org/bugzilla/</issueTrackingUrl>
- <siteAddress>jakarta.apache.org</siteAddress>
- <siteDirectory>/www/jakarta.apache.org/commons/dbutils/</siteDirectory>
- <distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons/dbutils/</distributionDirectory>
-
- <repository>
- <connection>
- scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-commons/dbutils
- </connection>
- <url>
- http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbutils/
- </url>
- </repository>
-
- <mailingLists>
- <mailingList>
- <name>Commons User List</name>
- <subscribe>commons-user-subscribe@jakarta.apache.org</subscribe>
- <unsubscribe>commons-user-unsubscribe@jakarta.apache.org</unsubscribe>
- <archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-user@jakarta.apache.org</archive>
- </mailingList>
- <mailingList>
- <name>Commons Developer List</name>
- <subscribe>commons-dev-subscribe@jakarta.apache.org</subscribe>
- <unsubscribe>commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
- <archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
- </mailingList>
- </mailingLists>
-
<developers>
<developer>
<name>Henri Yandell</name>
@@ -165,5 +121,22 @@
</build>
+ <reports>
+ <report>maven-changelog-plugin</report>
+ <report>maven-changes-plugin</report>
+ <!--report>maven-checkstyle-plugin</report-->
+ <!--report>maven-clover-plugin</report-->
+ <report>maven-developer-activity-plugin</report>
+ <report>maven-file-activity-plugin</report>
+ <report>maven-javadoc-plugin</report>
+ <!--report>maven-jellydoc-plugin</report-->
+ <report>maven-junit-report-plugin</report>
+ <report>maven-jxr-plugin</report>
+ <report>maven-license-plugin</report>
+ <!--report>maven-linkcheck-plugin</report-->
+ <!--report>maven-statcvs-plugin</report-->
+ <!--report>maven-tasklist-plugin</report-->
+ </reports>
+
</project>
1.4 +5 -7 jakarta-commons/dbutils/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/jakarta-commons/dbutils/project.properties,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- project.properties 28 Feb 2004 00:12:22 -0000 1.3
+++ project.properties 28 Feb 2004 00:36:26 -0000 1.4
@@ -17,9 +17,7 @@
# commons site L&F
maven.xdoc.jsl=../commons-build/commons-site.jsl
-
-# display the date on the site
-maven.xdoc.date = left
-
-# Display the version the web site is documenting
-maven.xdoc.version = ${pom.currentVersion}
\ No newline at end of file
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html
+maven.xdoc.poweredby.image=maven-feather.png
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-commons/dbutils project.xml project.properties
Posted by David Graham <gr...@yahoo.com>.
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