Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
4eaaf923
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4eaaf923
编写于
9月 20, 2011
作者:
M
mduigou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7074264: Switches to packages tree view and adds unit tests to sources
Reviewed-by: igor
上级
cf002e83
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
42 addition
and
37 deletion
+42
-37
make/netbeans/README
make/netbeans/README
+18
-27
make/netbeans/common/closed-share-view.ent
make/netbeans/common/closed-share-view.ent
+2
-2
make/netbeans/common/java-data-native.ent
make/netbeans/common/java-data-native.ent
+6
-1
make/netbeans/common/java-data-no-native.ent
make/netbeans/common/java-data-no-native.ent
+6
-1
make/netbeans/common/jtreg-view.ent
make/netbeans/common/jtreg-view.ent
+1
-1
make/netbeans/common/sample-view.ent
make/netbeans/common/sample-view.ent
+1
-1
make/netbeans/common/share-view.ent
make/netbeans/common/share-view.ent
+1
-1
make/netbeans/common/unix-view.ent
make/netbeans/common/unix-view.ent
+1
-1
make/netbeans/common/windows-view.ent
make/netbeans/common/windows-view.ent
+1
-1
make/netbeans/j2se/nbproject/project.xml
make/netbeans/j2se/nbproject/project.xml
+5
-1
未找到文件。
make/netbeans/README
浏览文件 @
4eaaf923
...
...
@@ -5,7 +5,7 @@ Working on OpenJDK using NetBeans
Getting Started
In addition to the source bundle for Open JDK, you'll need to download
and install copies of the JDK and of NetBeans
6
. And if you want to run
and install copies of the JDK and of NetBeans. And if you want to run
tests on the JDK (you do want to run tests, right?), you'll need to
install the jtreg test harness.
...
...
@@ -20,30 +20,28 @@ Getting Started
Downloading the JDK
You've probably done this a million times. Download and install it
from http://
java.sun.com/javase
from http://
www.oracle.com/technetwork/java/javase/overview/index.html
Downloading the OpenJDK sources
Since you're reading this, d you've already downloaded the OpenJDK
source bundle. Later in this document we'll refer to the location
where you installed the Open JDK sources as *install-dir*.
Downloading a pre-built, JDK
7
Downloading a pre-built, JDK
8
This will be necessary to do builds of some of the projects. In
general, you want to download and install a pre-built JDK that
corresponds to the OpenJDK sources you download. Building the entire
OpenJDK depends on a few parts of the pre-built JDK. Get this from
http://download.java.net/jdk
7
/binaries
http://download.java.net/jdk
8
/binaries
Note: For working on certain projects, like JMX and JConsole, you
may find convenient to use a pre-built version of JDK
7 (or
Note: For working on certain projects, like JMX and JConsole, you
may find convenient to use a pre-built version of JDK
8 (or
OpenJDK) rather than building your own. This will allow you
to build only that part of the OpenJDK sources which correspond
to that project.
to that project.
NetBeans 6
Yep, NetBeans *6*. Nope, not FCS'd yet. We're on the edge here,
enjoy it! Get the latest working development build of NetBeans 6
from http://netbeans.org
NetBeans 7.0 or later
Older versions may also work but are unsupported.
jtreg
"jtreg" is the test harness for running OpenJDK's regression tests.
...
...
@@ -51,7 +49,7 @@ Getting Started
Ant
NetBeans comes with ant, but if you use a separately-installed copy
please make sure that it is at least version 1.
7.0
.
please make sure that it is at least version 1.
8.1
.
Configuring
Building OpenJDK is hard and complex. No, strike that. While it's not
...
...
@@ -92,8 +90,8 @@ Configuring
situation:
make.options=\
ALT_BOOTDIR=/home/me/bin/jdk1.
6
.0 \
ALT_JDK_IMPORT_PATH=/home/me/bin/jdk1.
7
.0 \
ALT_BOOTDIR=/home/me/bin/jdk1.
7
.0 \
ALT_JDK_IMPORT_PATH=/home/me/bin/jdk1.
8
.0 \
OPENJDK=true
The trailing '\' are important, so that make gets the above as a
...
...
@@ -107,7 +105,7 @@ Configuring
Windows-specific configuration
First, please note that the entire JDK cannot currently be built on
Windows platforms. This will likely limit your ability to build
make-based projects. See
make-based projects. See
*install-dir*/jdk/make/README-builds.html
for full information on issues with building on the Windows platform.
...
...
@@ -141,7 +139,7 @@ Configuring
editor.
Locale Requirements
To build the Open
JDK sources, be certain that you are using the "C"
To build the OpenJDK sources, be certain that you are using the "C"
locale on Unix (R) platforms, or "English (United States)" locale on
Windows.
...
...
@@ -220,13 +218,13 @@ Provided NetBeans projects
running and debugging JConsole.
This ant-based project does *not* require that you build the jdk
project first, provided that you use a pre-built version of JDK 7.
project first, provided that you use a pre-built version of JDK 7.
Java (TM) Management Extensions (JMX(TM)) API (directory "jmx")
For working on JMX source code. Creates ../dist/lib/jmx.jar.
This ant-based project does *not* require that you build the jdk
project first, provided that you use a pre-built version of JDK 7.
project first, provided that you use a pre-built version of JDK 7.
Jar & Zip (directory "jarzip")
For working on jar & zip. It builds the zip library (including
...
...
@@ -242,12 +240,12 @@ Provided NetBeans projects
running and debugging the SampleTree demo.
This ant-based project does *not* require that you build the jdk
project first, provided that you use a pre-built version of JDK 7.
project first, provided that you use a pre-built version of JDK 7.
In addition, there are projects for building the compiler, javadoc,
and related tools, in the OpenJDK langtools component. These
projects are separate from those described here, and have their
own set of guidelines and conventions. For more details, see the
own set of guidelines and conventions. For more details, see the
README files in make/netbeans in the OpenJDK langtools component.
Running Tests
...
...
@@ -603,13 +601,6 @@ Appendix 1: Customizations
* -clean-make
Known Issues
Tests won't run: waiting for lock
Occasionally when running tests, there will be a delay, followed by a
message like this:
Waiting to lock test result cache for
/tmp/jdk/build/linux-i586/jtreg/jconsole/JTwork for 20 seconds
The workaround is to stop the tests, rm -rf the offending jtreg/<project>
directory by hand, and re-run the tests.
Can't run nor debug a single test in the JConsole test
In most projects, you can run a single test by opening it in the editor,
...
...
make/netbeans/common/closed-share-view.ent
浏览文件 @
4eaaf923
...
...
@@ -31,8 +31,8 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<source-folder
style=
"
packages
"
>
<label>
Closed
-Source Packag
es
</label>
<source-folder
style=
"
tree
"
>
<label>
Closed
Sourc
es
</label>
<location>
${root}/src/closed/share/classes
</location>
<includes>
${includes}
</includes>
<excludes>
${excludes}
</excludes>
...
...
make/netbeans/common/java-data-native.ent
浏览文件 @
4eaaf923
...
...
@@ -38,7 +38,12 @@
<package-root>
${root}/src/solaris/classes
</package-root>
<classpath
mode=
"boot"
>
${bootstrap.jdk}/jre/lib/rt.jar
</classpath>
<built-to>
${root}/build/${platform}-${arch}/classes
</built-to>
<javadoc-built-to>
${root}/build/javadoc/${name}
</javadoc-built-to>
<javadoc-built-to>
${root}/build/${platform}-${arch}/docs/api
</javadoc-built-to>
<source-level>
1.7
</source-level>
</compilation-unit>
<compilation-unit>
<package-root>
${root}/test
</package-root>
<unit-tests/>
<source-level>
1.7
</source-level>
</compilation-unit>
</java-data>
make/netbeans/common/java-data-no-native.ent
浏览文件 @
4eaaf923
...
...
@@ -36,7 +36,12 @@
<package-root>
${root}/src/share/classes
</package-root>
<classpath
mode=
"boot"
>
${bootstrap.jdk}/jre/lib/rt.jar
</classpath>
<built-to>
${root}/build/${platform}-${arch}/classes
</built-to>
<javadoc-built-to>
${root}/build/javadoc/${name}
</javadoc-built-to>
<javadoc-built-to>
${root}/build/${platform}-${arch}/docs/api
</javadoc-built-to>
<source-level>
1.7
</source-level>
</compilation-unit>
<compilation-unit>
<package-root>
${root}/test
</package-root>
<unit-tests/>
<source-level>
1.7
</source-level>
</compilation-unit>
</java-data>
make/netbeans/common/jtreg-view.ent
浏览文件 @
4eaaf923
...
...
@@ -31,7 +31,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<source-folder
style=
"
packages
"
>
<source-folder
style=
"
tree
"
>
<label>
Tests
</label>
<location>
${root}/test
</location>
<includes>
${jtreg.tests}
</includes>
...
...
make/netbeans/common/sample-view.ent
浏览文件 @
4eaaf923
...
...
@@ -31,7 +31,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<source-folder
style=
"
packages
"
>
<source-folder
style=
"
tree
"
>
<label>
Samples
</label>
<location>
${root}/src/share/sample
</location>
<includes>
${samples}
</includes>
...
...
make/netbeans/common/share-view.ent
浏览文件 @
4eaaf923
...
...
@@ -31,7 +31,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<source-folder
style=
"
packages
"
>
<source-folder
style=
"
tree
"
>
<label>
Sources for All Platforms
</label>
<location>
${root}/src/share/classes
</location>
<includes>
${includes}
</includes>
...
...
make/netbeans/common/unix-view.ent
浏览文件 @
4eaaf923
...
...
@@ -35,7 +35,7 @@
UNIX is a registered trademark in the United States and other countries,
exclusively licensed through X/Open Company, Ltd.
-->
<source-folder
style=
"
packages
"
>
<source-folder
style=
"
tree
"
>
<label>
Sources for Unix® Platform
</label>
<location>
${root}/src/solaris/classes
</location>
<includes>
${includes}
</includes>
...
...
make/netbeans/common/windows-view.ent
浏览文件 @
4eaaf923
...
...
@@ -31,7 +31,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<source-folder
style=
"
packages
"
>
<source-folder
style=
"
tree
"
>
<label>
Sources for Windows Platform
</label>
<location>
${root}/src/windows/classes
</location>
<includes>
${includes}
</includes>
...
...
make/netbeans/j2se/nbproject/project.xml
浏览文件 @
4eaaf923
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007,
2011,
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
...
...
@@ -36,11 +36,13 @@
<!ENTITY share-sources SYSTEM "../../common/share-sources.ent">
<!ENTITY unix-sources SYSTEM "../../common/unix-sources.ent">
<!ENTITY windows-sources SYSTEM "../../common/windows-sources.ent">
<!ENTITY jtreg-sources SYSTEM "../../common/jtreg-sources.ent">
<!ENTITY build-folder SYSTEM "../../common/build-folder.ent">
<!ENTITY standard-bindings SYSTEM "../../common/standard-bindings.ent">
<!ENTITY share-view SYSTEM "../../common/share-view.ent">
<!ENTITY unix-view SYSTEM "../../common/unix-view.ent">
<!ENTITY windows-view SYSTEM "../../common/windows-view.ent">
<!ENTITY jtreg-view SYSTEM "../../common/jtreg-view.ent">
<!ENTITY file-view SYSTEM "../../common/file-view.ent">
<!ENTITY standard-actions SYSTEM "../../common/standard-actions.ent">
<!ENTITY java-data-native SYSTEM "../../common/java-data-native.ent">
...
...
@@ -59,6 +61,7 @@
&unix-sources;
&windows-sources;
&build-folder;
&jtreg-sources;
</folders>
<ide-actions>
<action
name=
"build"
>
...
...
@@ -82,6 +85,7 @@
&share-view;
&unix-view;
&windows-view;
&jtreg-view;
&file-view;
</items>
<context-menu>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录