# HG changeset patch # User lancea # Date 1366730263 14400 # Node ID 2b182642a97a1453bb397ad33fcc1646bcc9fde1 # Parent 9f33b89c79789936ceebf65c8f5695f277a698d5 8011620: adding free form netbeans project for jdbc to jdk/make/netbeans Reviewed-by: chegar diff -r 9f33b89c7978 -r 2b182642a97a jdk/make/netbeans/common/shared.xml --- a/jdk/make/netbeans/common/shared.xml Tue Apr 23 15:01:44 2013 +0100 +++ b/jdk/make/netbeans/common/shared.xml Tue Apr 23 11:17:43 2013 -0400 @@ -276,7 +276,7 @@ - + @@ -338,7 +338,7 @@ - diff -r 9f33b89c7978 -r 2b182642a97a jdk/make/netbeans/jdbc/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/make/netbeans/jdbc/README Tue Apr 23 11:17:43 2013 -0400 @@ -0,0 +1,64 @@ +Working on JDBC Using the NetBeans IDE + +This JDBC NetBeans project allows a developer interested in making changes +to and/or fixing bugs in the JDBC source to modify, build, run and test +as well as generating the javadoc. + +README FIRST + + make/netbeans/README to get started with NetBeans IDE and OpenJDK, and + working with the OpenJDK NetBeans projects. + +WORKING WITH JDBC + +JDBC doesn't contain native code. You don't need to +have all the Java SE sources to work on JDBC but just the following subset: + + make/netbeans/ + src/share/classes/com/sun/rowset/ + src/share/classes/java/sql/ + src/share/classes/javax/sql/ + test/TEST.ROOT + test/java/sql/ + test/javax/sql/ + +The set of actions supported by this project are: + +* Build Project: + + - Compiles JDBC source files and puts the class files under + build/${platform}-${arch}/classes. + + - Generates JDBC's jar file under dist/lib/jdbc.jar + + This new jar file could be used to patch an existing JDK installation + by using -Xbootclasspath/p:$MYSRC/dist/lib/jdbc.jar + +* Generate Javadoc for Project + + - Generates the javadoc for the JDBC source files, + + - The javadoc is generated under build/${platform}-${arch}/javadoc/jdbc. + +* Test Project + + - Runs the JDBC jtreg unit tests located under test/java/sql or test/javax/sql. + + - The test results are written under + + build/${platform}-${arch}/jtreg/jdbc + + and the HTML test report can be found at + + build/${platform}-${arch}/jtreg/jdbc/JTreport/html/report.html + + + +* Clean Project + + - Cleans the files created by this projet under build and dist. + +IMPORTANT NOTE + + Please make sure to follow carefully the governance rules documented at + http://openjdk.dev.java.net/ diff -r 9f33b89c7978 -r 2b182642a97a jdk/make/netbeans/jdbc/build.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/make/netbeans/jdbc/build.properties Tue Apr 23 11:17:43 2013 -0400 @@ -0,0 +1,46 @@ +# +# Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# - Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# - Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# - Neither the name of Oracle nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +includes=\ + java/sql/ \ + javax/sql/ \ + com/sun/rowset/ +excludes= +jtreg.tests=\ + java/sql/ \ + javax/sql/ + +build.jdk.version = 1.8.0 +build.release = ${build.jdk.version}-opensource +build.number = b00 +jdbc.version = ${build.release}-${user.name}-${build.number} +jdbc.args = -debug +javadoc.options=-J-Xmx256m -Xdoclint:none -keywords -quiet \ No newline at end of file diff -r 9f33b89c7978 -r 2b182642a97a jdk/make/netbeans/jdbc/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/make/netbeans/jdbc/build.xml Tue Apr 23 11:17:43 2013 -0400 @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + diff -r 9f33b89c7978 -r 2b182642a97a jdk/make/netbeans/jdbc/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/make/netbeans/jdbc/nbproject/project.xml Tue Apr 23 11:17:43 2013 -0400 @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + +]> + + org.netbeans.modules.ant.freeform + + + JDBC + + jdbc + &properties; + + + &share-sources; + &jtreg-sources; + &build-folder; + + + &standard-bindings; + + run + + + debug + + + debug + + + + + &share-view; + &jtreg-view; + &file-view; + + + &standard-actions; + + + + + + + &java-data-no-native; + +