diff --git a/jdk/make/netbeans/common/shared.xml b/jdk/make/netbeans/common/shared.xml index ba104445273..36d57de7c43 100644 --- a/jdk/make/netbeans/common/shared.xml +++ b/jdk/make/netbeans/common/shared.xml @@ -276,7 +276,7 @@ - + @@ -338,7 +338,7 @@ - diff --git a/jdk/make/netbeans/jdbc/README b/jdk/make/netbeans/jdbc/README new file mode 100644 index 00000000000..2b3c1cad2a3 --- /dev/null +++ b/jdk/make/netbeans/jdbc/README @@ -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 --git a/jdk/make/netbeans/jdbc/build.properties b/jdk/make/netbeans/jdbc/build.properties new file mode 100644 index 00000000000..6e9487080e1 --- /dev/null +++ b/jdk/make/netbeans/jdbc/build.properties @@ -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 --git a/jdk/make/netbeans/jdbc/build.xml b/jdk/make/netbeans/jdbc/build.xml new file mode 100644 index 00000000000..233e9b82c3f --- /dev/null +++ b/jdk/make/netbeans/jdbc/build.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jdk/make/netbeans/jdbc/nbproject/project.xml b/jdk/make/netbeans/jdbc/nbproject/project.xml new file mode 100644 index 00000000000..af7e5580b69 --- /dev/null +++ b/jdk/make/netbeans/jdbc/nbproject/project.xml @@ -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; + +