mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8244093: Move all IDE support into coherent structure in make directory
Reviewed-by: mcimadamore, jlahoda, chegar, erikj
This commit is contained in:
parent
b6fde85f33
commit
74f1e6da4e
@ -74,7 +74,7 @@ if [ "x$TOPLEVEL_DIR" = "x" ] ; then
|
||||
fi
|
||||
|
||||
MAKE_DIR="$SCRIPT_DIR/../make"
|
||||
IDEA_MAKE="$MAKE_DIR/idea"
|
||||
IDEA_MAKE="$MAKE_DIR/ide/idea/jdk"
|
||||
IDEA_TEMPLATE="$IDEA_MAKE/template"
|
||||
|
||||
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
|
||||
|
||||
@ -261,7 +261,7 @@ endef
|
||||
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
|
||||
|
||||
$(eval $(call SetupTarget, hotspot-ide-project, \
|
||||
MAKEFILE := hotspot/ide/CreateVSProject, \
|
||||
MAKEFILE := ide/visualstudio/hotspot/CreateVSProject, \
|
||||
DEPS := hotspot exploded-image, \
|
||||
ARGS := -I$(TOPDIR)/make/hotspot, \
|
||||
))
|
||||
@ -302,25 +302,25 @@ ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JD
|
||||
# VS Code projects
|
||||
|
||||
$(eval $(call SetupTarget, vscode-project, \
|
||||
MAKEFILE := CreateVSCodeProject, \
|
||||
MAKEFILE := ide/vscode/hotspot/CreateVSCodeProject, \
|
||||
ARGS := VSCODE_INDEXER=cpptools, \
|
||||
DEPS := compile-commands, \
|
||||
))
|
||||
|
||||
$(eval $(call SetupTarget, vscode-project-clangd, \
|
||||
MAKEFILE := CreateVSCodeProject, \
|
||||
MAKEFILE := ide/vscode/hotspot/CreateVSCodeProject, \
|
||||
ARGS := VSCODE_INDEXER=clangd, \
|
||||
DEPS := compile-commands, \
|
||||
))
|
||||
|
||||
$(eval $(call SetupTarget, vscode-project-rtags, \
|
||||
MAKEFILE := CreateVSCodeProject, \
|
||||
MAKEFILE := ide/vscode/hotspot/CreateVSCodeProject, \
|
||||
ARGS := VSCODE_INDEXER=rtags, \
|
||||
DEPS := compile-commands, \
|
||||
))
|
||||
|
||||
$(eval $(call SetupTarget, vscode-project-ccls, \
|
||||
MAKEFILE := CreateVSCodeProject, \
|
||||
MAKEFILE := ide/vscode/hotspot/CreateVSCodeProject, \
|
||||
ARGS := VSCODE_INDEXER=ccls, \
|
||||
DEPS := compile-commands, \
|
||||
))
|
||||
|
||||
58
make/ide/idea/jdk/idea.gmk
Normal file
58
make/ide/idea/jdk/idea.gmk
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License version 2 only, as
|
||||
# published by the Free Software Foundation. Oracle designates this
|
||||
# particular file as subject to the "Classpath" exception as provided
|
||||
# by Oracle in the LICENSE file that accompanied this code.
|
||||
#
|
||||
# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
# version 2 for more details (a copy is included in the LICENSE file that
|
||||
# accompanied this code).
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License version
|
||||
# 2 along with this work; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
|
||||
include Makefile
|
||||
include make/MainSupport.gmk
|
||||
|
||||
.PHONY: idea
|
||||
|
||||
ifeq ($(SPEC),)
|
||||
ifneq ($(words $(SPECS)),1)
|
||||
@echo "Error: Multiple build specification files found. Please select one explicitly."
|
||||
@exit 2
|
||||
endif
|
||||
idea:
|
||||
@cd $(topdir)
|
||||
@$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -j 1 -f $(topdir)/make/ide/idea/jdk/idea.gmk SPEC=$(SPECS) HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) MODULES="$(MODULES)" idea
|
||||
else #with SPEC
|
||||
include make/common/Modules.gmk
|
||||
|
||||
ifeq ($(MODULES),)
|
||||
SEL_MODULES := $(call FindAllModules)
|
||||
else
|
||||
SEL_MODULES := $(MODULES)
|
||||
endif
|
||||
|
||||
idea:
|
||||
$(ECHO) "SUPPORT=$(SUPPORT_OUTPUTDIR)" >> $(OUT)
|
||||
$(ECHO) "MODULE_ROOTS=\"$(foreach mod, $(SEL_MODULES), $(call FindModuleSrcDirs,$(mod)))\"" >> $(OUT)
|
||||
$(ECHO) "MODULE_NAMES=\"$(strip $(foreach mod, $(SEL_MODULES), $(mod)))\"" >> $(OUT)
|
||||
$(ECHO) "SEL_MODULES=\"$(SEL_MODULES)\"" >> $(OUT)
|
||||
$(ECHO) "BOOT_JDK=\"$(BOOT_JDK)\"" >> $(OUT)
|
||||
$(ECHO) "CYGPATH=\"$(CYGPATH)\"" >> $(OUT)
|
||||
$(ECHO) "SPEC=\"$(SPEC)\"" >> $(OUT)
|
||||
$(ECHO) "JT_HOME=\"$(JT_HOME)\"" >> $(OUT)
|
||||
|
||||
endif
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AntConfiguration">
|
||||
<buildFile url="file://###ROOT_DIR###/make/idea/build.xml">
|
||||
<buildFile url="file://###ROOT_DIR###/make/ide/idea/jdk/build.xml">
|
||||
<properties>
|
||||
<property name="intellij.ismake" value="$IsMake$" />
|
||||
<property name="build.target.dir" value="###BUILD_DIR###" />
|
||||
@ -9,7 +9,7 @@
|
||||
<jre alt="true" value="###IMAGES_DIR###" />
|
||||
<options></options>
|
||||
<ant>
|
||||
<target file="file://###ROOT_DIR###/make/idea/build.xml" name="images" />
|
||||
<target file="file://###ROOT_DIR###/make/ide/idea/jdk/build.xml" name="images" />
|
||||
</ant>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" assert-keyword="true" jdk-15="true">
|
||||
@ -11,7 +11,7 @@
|
||||
<component name="antWorkspaceConfiguration">
|
||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
<buildFile url="file://###ROOT_DIR###/make/idea/build.xml">
|
||||
<buildFile url="file://###ROOT_DIR###/make/ide/idea/jdk/build.xml">
|
||||
<runInBackground value="false" />
|
||||
<targetFilters>
|
||||
<filter targetName="clean" isVisible="true" />
|
||||
@ -1,11 +1,11 @@
|
||||
<!-- importing.xml -->
|
||||
<project name="langtools" basedir = "../../..">
|
||||
<project name="langtools" basedir = "../../../..">
|
||||
|
||||
<taskdef name="wrapLogger" classname="idea.IdeaLoggerWrapper" classpath=".idea/classes"/>
|
||||
|
||||
<wrapLogger/>
|
||||
|
||||
<import file="../build.xml"/>
|
||||
<import file="../../../langtools/build.xml"/>
|
||||
|
||||
<target name="cond-clean" unless="${intellij.ismake}">
|
||||
<antcall target="clean"/>
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AntConfiguration">
|
||||
<buildFile url="file://$PROJECT_DIR$/make/langtools/intellij/build.xml">
|
||||
<buildFile url="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml">
|
||||
<properties>
|
||||
<property name="langtools.jdk.home" value="@IDEA_TARGET_JDK@" />
|
||||
<property name="intellij.ismake" value="$IsMake$" />
|
||||
@ -9,7 +9,7 @@
|
||||
<jre alt="true" value="@IDEA_TARGET_JDK@" />
|
||||
<options>@XPATCH@</options>
|
||||
<ant>
|
||||
<target file="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" name="build-all-classes" />
|
||||
<target file="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" name="build-all-classes" />
|
||||
</ant>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
@ -16,7 +16,7 @@
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
<method>
|
||||
<option name="Make" enabled="false" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" target="build-all-classes" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" target="build-all-classes" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@ -16,7 +16,7 @@
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
<method>
|
||||
<option name="Make" enabled="false" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" target="build-all-classes" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" target="build-all-classes" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@ -16,7 +16,7 @@
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
<method>
|
||||
<option name="Make" enabled="false" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" target="build-all-classes" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" target="build-all-classes" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@ -14,7 +14,7 @@
|
||||
<envs />
|
||||
<method>
|
||||
<option name="Make" enabled="false" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" target="build-all-classes" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" target="build-all-classes" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@ -16,7 +16,7 @@
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
<method>
|
||||
<option name="Make" enabled="false" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/langtools/intellij/build.xml" target="build-all-classes" />
|
||||
<option name="AntTarget" enabled="true" antfile="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml" target="build-all-classes" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
@ -6,7 +6,7 @@
|
||||
<component name="antWorkspaceConfiguration">
|
||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
<buildFile url="file://$PROJECT_DIR$/make/langtools/intellij/build.xml">
|
||||
<buildFile url="file://$PROJECT_DIR$/make/ide/idea/langtools/build.xml">
|
||||
<runInBackground value="false" />
|
||||
<targetFilters>
|
||||
<filter targetName="build-all-tools" isVisible="true" />
|
||||
@ -93,12 +93,12 @@ ifeq ($(call isTargetOs, windows), true)
|
||||
################################################################################
|
||||
# Build the ProjectCreator java tool.
|
||||
|
||||
TOOLS_OUTPUTDIR := $(HOTSPOT_OUTPUTDIR)/support/tools_classes
|
||||
TOOLS_OUTPUTDIR := $(HOTSPOT_OUTPUTDIR)/support/ide_classes
|
||||
|
||||
$(eval $(call SetupJavaCompilation, BUILD_PROJECT_CREATOR, \
|
||||
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
|
||||
DISABLED_WARNINGS := auxiliaryclass deprecation rawtypes unchecked cast options, \
|
||||
SRC := $(TOPDIR)/make/hotspot/src/classes, \
|
||||
SRC := $(TOPDIR)/make/ide/visualstudio/hotspot/src/classes, \
|
||||
BIN := $(TOOLS_OUTPUTDIR), \
|
||||
JAVAC_FLAGS := -XDstringConcat=inline, \
|
||||
))
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -35,7 +35,7 @@ include MakeBase.gmk
|
||||
# Param 1: Fragment name
|
||||
################################################################################
|
||||
GetIndexerFragment = \
|
||||
$(TOPDIR)/make/vscode/indexers/$(VSCODE_INDEXER)-$(1).txt
|
||||
$(TOPDIR)/make/ide/vscode/hotspot/indexers/$(VSCODE_INDEXER)-$(1).txt
|
||||
|
||||
################################################################################
|
||||
# Show indexer-specific notes if they exist, otherwise do nothing
|
||||
@ -60,7 +60,7 @@ endif
|
||||
# from TOPDIR.
|
||||
################################################################################
|
||||
ifneq ($(WORKSPACE_ROOT),$(TOPDIR))
|
||||
GetExtraWorkspaceRoot = $(TOPDIR)/make/vscode/template-workspace-folder.txt
|
||||
GetExtraWorkspaceRoot = $(TOPDIR)/make/ide/vscode/hotspot/template-workspace-folder.txt
|
||||
else
|
||||
GetExtraWorkspaceRoot = /dev/null
|
||||
endif
|
||||
@ -96,14 +96,14 @@ endef
|
||||
|
||||
$(OUTPUTDIR)/jdk.code-workspace:
|
||||
$(call LogWarn, Creating workspace $@)
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/vscode/template-workspace.jsonc, $@)
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/ide/vscode/hotspot/template-workspace.jsonc, $@)
|
||||
$(call ShowIndexerNotes)
|
||||
|
||||
$(OUTPUTDIR)/.vscode/tasks.json:
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/vscode/template-tasks.jsonc, $@)
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/ide/vscode/hotspot/template-tasks.jsonc, $@)
|
||||
|
||||
$(OUTPUTDIR)/.vscode/launch.json:
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/vscode/template-launch.jsonc, $@)
|
||||
$(call CreateFromTemplate, $(TOPDIR)/make/ide/vscode/hotspot/template-launch.jsonc, $@)
|
||||
|
||||
TARGETS := $(OUTPUTDIR)/jdk.code-workspace $(OUTPUTDIR)/.vscode/tasks.json \
|
||||
$(OUTPUTDIR)/.vscode/launch.json
|
||||
@ -1,33 +0,0 @@
|
||||
include Makefile
|
||||
include make/MainSupport.gmk
|
||||
|
||||
.PHONY: idea
|
||||
|
||||
ifeq ($(SPEC),)
|
||||
ifneq ($(words $(SPECS)),1)
|
||||
@echo "Error: Multiple build specification files found. Please select one explicitly."
|
||||
@exit 2
|
||||
endif
|
||||
idea:
|
||||
@cd $(topdir)
|
||||
@$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -j 1 -f $(topdir)/make/idea/idea.gmk SPEC=$(SPECS) HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) MODULES="$(MODULES)" idea
|
||||
else #with SPEC
|
||||
include make/common/Modules.gmk
|
||||
|
||||
ifeq ($(MODULES),)
|
||||
SEL_MODULES := $(call FindAllModules)
|
||||
else
|
||||
SEL_MODULES := $(MODULES)
|
||||
endif
|
||||
|
||||
idea:
|
||||
$(ECHO) "SUPPORT=$(SUPPORT_OUTPUTDIR)" >> $(OUT)
|
||||
$(ECHO) "MODULE_ROOTS=\"$(foreach mod, $(SEL_MODULES), $(call FindModuleSrcDirs,$(mod)))\"" >> $(OUT)
|
||||
$(ECHO) "MODULE_NAMES=\"$(strip $(foreach mod, $(SEL_MODULES), $(mod)))\"" >> $(OUT)
|
||||
$(ECHO) "SEL_MODULES=\"$(SEL_MODULES)\"" >> $(OUT)
|
||||
$(ECHO) "BOOT_JDK=\"$(BOOT_JDK)\"" >> $(OUT)
|
||||
$(ECHO) "CYGPATH=\"$(CYGPATH)\"" >> $(OUT)
|
||||
$(ECHO) "SPEC=\"$(SPEC)\"" >> $(OUT)
|
||||
$(ECHO) "JT_HOME=\"$(JT_HOME)\"" >> $(OUT)
|
||||
|
||||
endif
|
||||
@ -1,622 +0,0 @@
|
||||
Working on OpenJDK using NetBeans
|
||||
This note describes how to work on the OpenJDK from NetBeans. We've
|
||||
provided several NetBeans projects as starting points. Below we'll
|
||||
describe how to use them, as well as how to create your own.
|
||||
|
||||
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. 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.
|
||||
|
||||
In this note, when pathnames are not fully specified, they should be
|
||||
interpreted as being relative to the directory containing this README
|
||||
and the NetBeans projects themselves.
|
||||
|
||||
The JDK build process is largely make-based, and is not
|
||||
exceptionally tolerant of pathnames with spaces in them (such as
|
||||
"Program Files". Please be sure to install everything in a
|
||||
directories whose paths don't have any spaces!
|
||||
|
||||
Downloading the JDK
|
||||
You've probably done this a million times. Download and install it
|
||||
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 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/jdk8/binaries
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
Get it from http://openjdk.java.net/jtreg
|
||||
|
||||
Ant
|
||||
NetBeans comes with ant, but if you use a separately-installed copy
|
||||
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
|
||||
exactly "easy", we've got it down to *relatively* small set of
|
||||
properties you need to set.
|
||||
|
||||
The NetBeans projects provided here share a fair amount of common
|
||||
structure. They share properties values where it makes sense. Each
|
||||
project loads properties from these properties files, in this order
|
||||
|
||||
${basedir}/nbproject/private/build.properties
|
||||
$HOME/.openjdk/${ant.project.name}-build.properties
|
||||
$HOME/.openjdk/build.properties
|
||||
${basedir}/build.properties
|
||||
|
||||
(${basedir} refers to the directory containing a particular NetBeans
|
||||
project.) The first time a property defined determines value: it is
|
||||
*not* overridden if it is read from properties files read later. The net
|
||||
result is that by carefully choosing where to define a property, you can
|
||||
have it for a specific project, all uses of a specific project (useful
|
||||
if you work on multiple copies of the OpenJDK sources), all projects, or
|
||||
only projects in a specific sandbox.
|
||||
|
||||
With that in mind, please set the following properties. Presuming you
|
||||
want the same values for all your work, set them in
|
||||
$HOME/.openjdk/build.properties.
|
||||
|
||||
* bootstrap.jdk
|
||||
Set to the location where you installed JDK 7.
|
||||
|
||||
* jtreg.home
|
||||
Set to the location where you installed jtreg.
|
||||
|
||||
* make.options
|
||||
Some of the projects invoke "make", since they compile native code.
|
||||
The make.options property is for passing information about what you
|
||||
installed where to make. Change the paths to fit your particular
|
||||
situation:
|
||||
|
||||
make.options=\
|
||||
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
|
||||
single set of options.
|
||||
|
||||
You might want to add additional additional options: see the README
|
||||
for the project you're using for more information. And see
|
||||
*install-dir*/jdk/make/README-builds.html
|
||||
to read much more about building the JDK.
|
||||
|
||||
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
|
||||
*install-dir*/jdk/make/README-builds.html
|
||||
for full information on issues with building on the Windows platform.
|
||||
|
||||
That said, there are two ways to work with the Windows-required settings
|
||||
for the Microsoft tools. Either:
|
||||
|
||||
* Set environment variables values in Windows
|
||||
Doing so means accessing the System control panel in Windows, and
|
||||
setting the environment variables there.
|
||||
|
||||
By doing so, you can launch NetBeans by double-clicking its icon,
|
||||
and the environment variable values will be available.
|
||||
|
||||
* Set environment variable values in a shell
|
||||
Doing so means adding the settings to an init file (e.g. .bashrc,
|
||||
.cshrc, etc.) or a file that you source before running NetBeans. In
|
||||
this case, you'll have to launch NetBeans from the command line in a
|
||||
shell in which you've set the environment variables.
|
||||
|
||||
In either case, the end result should be that the settings are available
|
||||
to the make-based build process when it runs from within NetBeans.
|
||||
|
||||
The make-based builds presumes that you're using cygwin, and expects to
|
||||
find "make" in c:\cygwin\bin\make. If you've installed cygwin elsewhere,
|
||||
set "make" in a properties file.
|
||||
|
||||
Configuring Project Properties
|
||||
A note of caution is in order: These are NetBeans *freeform* projects.
|
||||
If you use the NetBeans GUI to examine them, things are likely to not
|
||||
look "right". Please don't edit them there, please instead use a text
|
||||
editor.
|
||||
|
||||
Locale Requirements
|
||||
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.
|
||||
|
||||
Platforms and architectures, oh my!
|
||||
The Open JDK can be built for a variety of operating system platforms
|
||||
and hardware architectures. The resulting builds are always placed in a
|
||||
directory which contains the platform and architecture as part of the
|
||||
pathname, as in *platform*-*arch*. For example, if you build the jdk
|
||||
project on a Linux platform running on x86 hardware, the resulting build
|
||||
will be in:
|
||||
|
||||
*install-dir*/jdk/build/linux-i586
|
||||
|
||||
We've provided support for some platforms and architectures in
|
||||
common/architectures. Add another, if your needs require it.
|
||||
|
||||
Provided NetBeans projects
|
||||
This section describes the NetBeans projects that help you work on
|
||||
particular parts of the JDK. While they're largely similar in structure
|
||||
and should work the way you expect NetBeans projects to work: edit,
|
||||
build, test, etc. But there are some differences. They don't all support
|
||||
the same targets (e.g., there's nothing to run in jarzip project).
|
||||
|
||||
Some projects are built by invoking make, since they involve compilation
|
||||
of native code or other activities that cannot be done by javac. We call
|
||||
these "make-based", and call all others "ant-based".
|
||||
|
||||
They all are configured by way of a build.properties file, which
|
||||
specifies what subdirectories of the JDK sources they manipulate, what
|
||||
directories contain their tests, whether they use make or ant, etc.
|
||||
|
||||
The very first time you open any one of these projects on set of Open
|
||||
JDK sources, NetBeans will scan the entire set of sources, not just
|
||||
those for the project you opened. This will take a few minutes, but will
|
||||
ensure that Go To Type, Go To Source, and so on work as expected. Later,
|
||||
when you open other projects on the same Open JDK sources, there will be
|
||||
at most a slight delay.
|
||||
|
||||
There's a README accompanying each project. Most are text files, which
|
||||
you can Open in NetBeans, some are HTML files, in which case unless you
|
||||
enjoy reading raw HTML, you're better off choosing the *View* menu item
|
||||
from the context menu, which will display the README in your web
|
||||
browser.
|
||||
|
||||
Finally, note that these projects were all created by different people,
|
||||
and are while some attempt has been made to make them look and behave
|
||||
the same, they are maintained separately and will vary somewhat.
|
||||
|
||||
The projects currently provided are:
|
||||
|
||||
jdk (directory "jdk")
|
||||
A convenient starting point for the other projects, and from which
|
||||
you can build the entire OpenJDK. Please note that depending on your
|
||||
hardware, this could take a *very* long time. The results of the
|
||||
build are in *install-dir*/jdk/build/*platform*-*arch*.
|
||||
|
||||
world (directory "world")
|
||||
This project builds both the Hotspot VM and all of JavaSE. Please
|
||||
note that pretty much regardless of your hardware, this *will* take
|
||||
a long time, and use *lots* of disk space (more than 3GB). The
|
||||
results of the build are in
|
||||
*install-dir*/build/*platform*-*arch* and
|
||||
*install-dir*/build/*platform*-*arch*-fastdebug.
|
||||
|
||||
Consult the project's README file for details.
|
||||
|
||||
AWT & Java2d (directory "awt2d")
|
||||
For working on AWT and Java2d. Supports running the Font2DTest demo.
|
||||
|
||||
This is a make-based project: In order to build this project, you
|
||||
should build the jdk project first, since AWT and Java2d include
|
||||
native code.
|
||||
|
||||
JConsole (directory "jconsole")
|
||||
For working on JConsole. Creates ../dist/lib/jconsole.jar. Supports
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
Jar & Zip (directory "jarzip")
|
||||
For working on jar & zip. It builds the zip library (including
|
||||
native code), the jar library, and the jar tool. Creates an
|
||||
executable jar program in ../build/*platform*-*arch*/bin/jar.
|
||||
|
||||
This is a make-based project: In order to build this project, you
|
||||
should build the jdk project first, since AWT and Java2d include
|
||||
native code.
|
||||
|
||||
Swing (directory "swing")
|
||||
For working on Swing. Creates ../dist/lib/swing.jar. Supports
|
||||
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.
|
||||
|
||||
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
|
||||
README files in make/netbeans in the OpenJDK langtools component.
|
||||
|
||||
Running Tests
|
||||
We use the jtreg test harness, described more fully at
|
||||
http://openjdk.java.net/jtreg
|
||||
|
||||
The OpenJDK tests are in the default Java package, are public classes,
|
||||
and have a "static void main(String[] args)" with which they are
|
||||
invoked. Some tests are actually shell scripts, which might compile
|
||||
code, etc. jtreg is quite flexible.
|
||||
|
||||
To run tests for a project, use *Test Project* from NetBeans. From the
|
||||
command line, you can invoke "ant jtreg" on any individual project's
|
||||
build.xml file.
|
||||
|
||||
In either NetBeans of on the command line, jtreg prints summary output
|
||||
about the pass/fail nature of each test. An HTML report of the entire
|
||||
test run is
|
||||
|
||||
../build/*platform*-*arch*/jtreg/*ant-project-name*/JTreport/report.html
|
||||
|
||||
In that same JTreport directory are also individual HTML files
|
||||
summarizing the test environment, test passes and failures, etc.
|
||||
|
||||
More detail on any individual test is under
|
||||
|
||||
../build/*platform*-*arch*/jtreg/*ant-project-name*/JTwork.
|
||||
|
||||
For example, details about the awt/Modal/SupportedTest/SupportedTest
|
||||
test are under the JTwork directory at the same pathname as the test
|
||||
itself in a ".jtr" file. For example:
|
||||
|
||||
../build/*platform*-*arch*/jtreg/*ant-project-name*/JTwork/awt/Modal/SupportedTest/SupportedTest.jtr
|
||||
|
||||
Sometimes you will see that running jtreg has resulted in a failure.
|
||||
This does not always mean that a test has an error in it. Jtreg
|
||||
distinguishes between these two cases. There are a number of tests that
|
||||
are "ignored", and not run, and these are reported as failures.
|
||||
|
||||
You can run a single test by right clicking on it and choosing *Run
|
||||
File* from the context menu. Similarly, you can debug a single test by
|
||||
choosing *Debug File*.
|
||||
|
||||
Debugging
|
||||
Debugging is enabled by default in ant-based projects, as if
|
||||
"-g:lines,vars,source" were given. You can alter these settings via
|
||||
entries in one of the configuration properties files. For example:
|
||||
|
||||
javac.debug=false
|
||||
javac.debuglevel=<debug level options>
|
||||
|
||||
To debug a project or test, use NetBeans in the normal way, with *Debug
|
||||
Project* or *Debug File*. Note that not all projects provide a target
|
||||
that can be debugged, but tests can be debugged.
|
||||
|
||||
Creating Javadoc
|
||||
You can create Javadoc for any of the projects: just choose *Generate
|
||||
Javadoc for Project* from the NetBeans menu. Your default browser will
|
||||
open up, displaying the just-generated javadoc.
|
||||
|
||||
Javadoc gets generated into a separate subdirectory for each project.
|
||||
For example, the Jar & Zip project's javadoc gets generated in
|
||||
|
||||
../build/*platform*-*arch*/jtreg/*ant-project-name*/javadoc/jarzip
|
||||
|
||||
Cleaning projects
|
||||
Each project can of course be cleaned. Make-based and ant-based projects
|
||||
differ a little in what exactly gets cleaned. In both cases, all jtreg
|
||||
results and javadoc are removed.
|
||||
|
||||
In ant-based projects, project-specific files as determined by the
|
||||
project's build.properties file are removed from the classes and gensrc
|
||||
directories that are under ../build/*platform*-*arch*.
|
||||
|
||||
In make-based projects, "make clean" is run in the same directories as
|
||||
"make all" is run when building the project.
|
||||
|
||||
Please note that the jdk project is "special" with respect to
|
||||
cleaning: in this case, the entire ../build directory is removed.
|
||||
Similar for the world project.
|
||||
|
||||
Creating your own NetBeans project
|
||||
The project's we've provided are hopefully a useful starting point, but
|
||||
chances are that you want to work on something else. This section will
|
||||
describe how to select an existing project, and then adapt it to your
|
||||
needs.
|
||||
|
||||
Considerations
|
||||
The first consideration is whether or not the code in which you're
|
||||
interested needs anything beyond javac and copying of resources to
|
||||
build. If so, then you'll need to create a make-based project. If not,
|
||||
an ant-based project is possible. See the project descriptions above to
|
||||
learn which are make-based, and which are ant-based.
|
||||
|
||||
The second consideration is to consider the files that you'll need. Each
|
||||
project is defined by 3 files:
|
||||
|
||||
* build.xml
|
||||
This is the ant build script. For a make-based project, they tend to
|
||||
have a target for "make clean" and another for "make all", each of
|
||||
which invokes "make-run" in the same set of directories. Take a look
|
||||
at jarzip/build.xml for an example.
|
||||
|
||||
For an ant-based project, there might be nothing, with all the work
|
||||
done via the declaration of properties in the build.properties file.
|
||||
Take a look at jconsole/build.xml for an example, and notice how it
|
||||
overrides the -pre-compile and -post-compile targets that are
|
||||
defined in common/shared.xml (where they are defined to do nothing).
|
||||
|
||||
* build.properties
|
||||
This file defines the directories (and possibly files) that are
|
||||
included in and excluded from. Basically, a file is considered to be
|
||||
in a project if it is mentioned in the includes list, or is
|
||||
contained under a directory mentioned in that list, *unless* it is
|
||||
explicitly excluded or is contained under a directory that is
|
||||
excluded. Take a look awt2d/build.properties for an example.
|
||||
|
||||
* nbproject/project.xml
|
||||
This file defines a project for NetBeans for a "freeform" project.
|
||||
Each declares several entity references, which are used later in the
|
||||
project. For an example, see javadoc/nbproject/project.xml, which is
|
||||
an ant-based project. Compare that with
|
||||
jarzip/nbproject/project.xml, which is make-based. Not much
|
||||
difference! That's because while the jarzip project is make-based,
|
||||
it does not have any platform-specifc native code. Contrast that
|
||||
with awt2d/nbproject/project.xml, which does have native code;
|
||||
notice that it uses platform-specific entity references.
|
||||
|
||||
In summary, we recommend exploring the given projects, and choosing one
|
||||
that most closely suits our needs.
|
||||
|
||||
Example: A project for working on collections
|
||||
Let's create a project to work with on the collections classes. There's no native
|
||||
code here, so an ant-based project will do. Therefore, the jconsole
|
||||
project is a reasonable project to use as a starting point.
|
||||
|
||||
Clone the existing project
|
||||
Make a directory for the collections project next to the existing projects:
|
||||
|
||||
% mkdir -p collections/nbproject
|
||||
|
||||
Copy files from the jconsole project:
|
||||
|
||||
% cp jconsole/build.properties collections
|
||||
% cp jconsole/build.xml collections
|
||||
% cp jconsole/nbproject/project.xml collections/nbproject
|
||||
|
||||
Change the set of files included in the project
|
||||
The collections sources are all under one directory, and we want to include
|
||||
them all. The same is true of the tests. So edit
|
||||
collections/build.properties so that it contains these lines:
|
||||
|
||||
includes=\
|
||||
java/util/
|
||||
excludes=\
|
||||
java/util/Calendar.java,\
|
||||
java/util/jar/,\
|
||||
java/util/logging/,\
|
||||
java/util/prefs/,\
|
||||
java/util/regex/,\
|
||||
java/util/spi/,\
|
||||
java/util/zip/,\
|
||||
**/*-XLocales.java.template
|
||||
jtreg.tests=\
|
||||
java/util/**/*Collection/ \
|
||||
java/util/**/*Map/ \
|
||||
java/util/**/*Set/ \
|
||||
java/util/**/*List/
|
||||
|
||||
Notice the trailing "/" in some of those pathnames: that tells NetBeans to
|
||||
treat the path as a directory and include (or exclude) everything beneath
|
||||
it in the hierarchy. Note also how we include java/util, but then exclude
|
||||
several directories under that which are not related to collections.
|
||||
|
||||
The build.xml for collections is about as simple as can be. First, change the
|
||||
name of the project:
|
||||
|
||||
<project name="collections" default="build" basedir=".">
|
||||
|
||||
Then remove the -pre-compile target from the build.xml. Change the
|
||||
-post-compile target to create collections.jar without any manifest, and
|
||||
to only contain the collections-related classes. The jar task now looks
|
||||
like this:
|
||||
|
||||
<jar destfile="${dist.dir}/lib/collections.jar">
|
||||
<fileset dir="${classes.dir}">
|
||||
<include name="java/util/*.class"/>
|
||||
<exclude name="java/util/Calendar*.class"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
Also, change the clean target to remove collections.jar instead of
|
||||
jconsole.jar.
|
||||
|
||||
Now edit project.xml file. NetBeans uses an internal name and a
|
||||
user-visible name, both of which should be changed:
|
||||
|
||||
<name>Collections</name> <!-- Customized -->
|
||||
|
||||
<property name="name">collections</property> <!-- Customized -->
|
||||
|
||||
Inside of <ide-actions>, you'll see actions defined for "run" and
|
||||
"debug". The Open JDK sources don't include any interesting Collections
|
||||
demos, but leave these here for now: Chances are you'll find or create
|
||||
some collections app of your own, and want to run and or debug it.
|
||||
|
||||
Now, open the Collections project in NetBeans. You'll find that it operates
|
||||
just like all the other projects.
|
||||
|
||||
If/when you want to have this project run a collections demo, change the run
|
||||
target in collections/build.xml to invoke it in whatever manner is appropriate
|
||||
for the app. From NetBeans, you should be able to run and debug the app,
|
||||
including setting breakpoints in collections code.
|
||||
|
||||
Appendix 1: Customizations
|
||||
There are several ways to customize NetBeans projects. These projects
|
||||
share a common structure, based on common/shared.xml and
|
||||
common/make.xml. Because of that sharing, some mechanisms described
|
||||
below apply to most any project.
|
||||
|
||||
Several properties can be user-defined (and several should not be
|
||||
user-defined!). There are different properties files read. Some default
|
||||
targets can be overridden.
|
||||
|
||||
Property files
|
||||
When projects are started, and when when ant runs (whether from NetBeans
|
||||
or the command line), these properties files are loaded in the order
|
||||
shown:
|
||||
|
||||
${basedir}/nbproject/private/build.properties
|
||||
$HOME/.openjdk/${ant.project.name}-build.properties
|
||||
$HOME/.openjdk/build.properties
|
||||
${basedir}/build.properties
|
||||
|
||||
Recall that with ant, once a property is defined, its value cannot be
|
||||
changed, so it's "first one wins".
|
||||
|
||||
To set or change a property for all your projects, put the change into
|
||||
$HOME/.openjdk/build.properties. This will affect all projects,
|
||||
regardless of how many copies of the Open JDK sources you have
|
||||
installed.
|
||||
|
||||
Let's say you have 2 copies of the Open JDK sources installed on your
|
||||
machine. To set or change a property for only the jconsole projects, but
|
||||
for both of them, make the change in
|
||||
$HOME/.openjdk/${ant.project.name}-build.properties. If you wanted to
|
||||
make the change for only one of them, do it in that project's
|
||||
${basedir}/build.properties or
|
||||
${basedir}/nbproject/private/build.properties.
|
||||
|
||||
Note that the ${basedir}/build.properties file is provided as part of
|
||||
the Open JDK sources. If you want to make a change for a particular
|
||||
project, you can do so there. To be sure that you don't ever
|
||||
accidentally check it in to the Open JDK sources, you might prefer to
|
||||
change it in ${basedir}/nbproject/private/build.properties.
|
||||
|
||||
User-definable Properties
|
||||
You can provide your own definitions for the properties listed below. We
|
||||
don't recommend overriding the definitions of other properties.
|
||||
|
||||
The following two properties should be set before you try to use the
|
||||
projects with NetBeans or ant:
|
||||
|
||||
* bootstrap.jdk
|
||||
Default: None. Please set this, normally in
|
||||
$HOME/.openjdk/build.properties.
|
||||
|
||||
* jtreg.home
|
||||
Default: None. Please set this, normally in
|
||||
$HOME/.openjdk/build.properties.
|
||||
|
||||
These options are for configuring the behavior of make:
|
||||
|
||||
* use.make
|
||||
Default: Not set. Set this, normally in ${basedir}/build.properties,
|
||||
for a project which is make-based.
|
||||
|
||||
* make
|
||||
Default: The right make for the platform, at the normal location, set
|
||||
in *install-dir*/jdk/make/netbeans/common/make.xml
|
||||
|
||||
* make.options
|
||||
Default: Empty string. Set this to any options you want to pass to
|
||||
make, normally in ${basedir}/build.properties.
|
||||
|
||||
The remaining options are for use at your discretion:
|
||||
|
||||
* javac.options
|
||||
Default: -Xlint
|
||||
|
||||
* javac.debug
|
||||
Default: true
|
||||
|
||||
* javac.debuglevel
|
||||
Default: lines,vars,source
|
||||
|
||||
* javadoc.options
|
||||
Default: Empty string. Some projects will need to set this to
|
||||
increase the heap for running javadoc. For example, see the jconsole
|
||||
project.
|
||||
|
||||
* javadoc.packagenames
|
||||
Default: "none". Set this only if your project has packages that
|
||||
should be javadoc'd which are outside of those listed in the javadoc
|
||||
target's packageset. See the jconsole project for an example.
|
||||
|
||||
* jtreg.tests
|
||||
Default: None. Set this to a list of tests and/or directories
|
||||
containing regression tests, normally in
|
||||
${basedir}/build.properties.
|
||||
|
||||
* jtreg.options
|
||||
Default: Empty string. See http://openjdk.java.net/jtreg
|
||||
|
||||
* jtreg.vm.options
|
||||
Default: Empty string. See http://openjdk.java.net/jtreg
|
||||
|
||||
* jtreg.samevm
|
||||
Default: false. See http://openjdk.java.net/jtreg
|
||||
|
||||
User-overridable Targets
|
||||
The following targets are provided for your convenience in customizing
|
||||
various standard actions of the build process. The default action for
|
||||
each one is to do nothing.
|
||||
|
||||
These come in pairs, allowing your scripts to take some action before or
|
||||
after a standard action.
|
||||
|
||||
* -pre-init
|
||||
Runs before any other initialization has been done.
|
||||
|
||||
* -post-init
|
||||
Runs before after all other initialization has been done.
|
||||
|
||||
* -pre-compile
|
||||
Runs before compilation, whether via ant or make. Note that in the
|
||||
case of make, it is before the -build-make target has run, not after
|
||||
each individual make-run has run.
|
||||
|
||||
* -post-compile
|
||||
Runs after compilation, whether via ant or make.
|
||||
|
||||
* -pre-jtreg
|
||||
Runs before regression tests are run.
|
||||
|
||||
* -post-jtreg
|
||||
Runs before after regression tests are run.
|
||||
|
||||
In a make-based project, you should override these targets to do the
|
||||
build and clean actions required of your project.
|
||||
|
||||
* -build-make
|
||||
* -clean-make
|
||||
|
||||
Known Issues
|
||||
|
||||
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,
|
||||
and choosing Run File from the context menu. If you try this with the a
|
||||
JConsole test, instead you'll see that *all* tests from *all* projects
|
||||
are run. The workaround is to not try to run a single JConsole test.
|
||||
Debugging is similarly problematic (both running and debugging use the
|
||||
same underlying infrastructure).
|
||||
|
||||
If you do Run File a JConsole tests, you can always stop them by pressing
|
||||
the stop button in the NetBeans output window. But you'll be surprised to
|
||||
learn that they are actually still running in the background. The only
|
||||
way out of this situation is to exit NetBeans. A few more tests will run,
|
||||
but after restarting NetBeans things will be OK.
|
||||
|
||||
Attribution
|
||||
UNIX is a registered trademark in the United States and other countries,
|
||||
exclusively licensed through X/Open Company, Ltd.
|
||||
|
||||
@ -1,220 +0,0 @@
|
||||
Working on AWT and Java2D code with NetBeans
|
||||
|
||||
This project includes most of Java2D and AWT-related files,
|
||||
allows easy navigation and builds from within NetBeans.
|
||||
|
||||
Since both AWT and Java2D have lots of native code, this
|
||||
project uses "make" targets for building.
|
||||
|
||||
Unfortunately currently this project doesn't support
|
||||
working with native code. Meaning, there is no navigation, code
|
||||
completion, refactoring, etc.
|
||||
In the future we will provide native code support.
|
||||
|
||||
You can certainly install the C/C++ pack for NetBeans 6.0
|
||||
once it becomes available, or use any other editor for
|
||||
working with C/C++ files.
|
||||
|
||||
In order to use this project from within NetBeans you will have
|
||||
to perform a full jdk build first.
|
||||
|
||||
Here are the steps:
|
||||
1. setup your jdk build environment as described in
|
||||
other documents (see build documentation)
|
||||
|
||||
2. perform a full jdk build (preferably a FASTDEBUG build,
|
||||
as it simplifies the debugging - the classes and object files
|
||||
will be built with the debug information).
|
||||
You only need to build jdk's "all" target:
|
||||
#> cd jdk/make
|
||||
#> make all > build.log 2>&1
|
||||
|
||||
3. set "make" and "make.options" properties in your
|
||||
~/.openjdk/build.properties file (see the main README
|
||||
file for more information on property files)
|
||||
to set up the environment in NetBeans.
|
||||
|
||||
To get a list of variables you most likely will need to override
|
||||
to make the the build work in NetBeans, you can do something like this
|
||||
(on Windows):
|
||||
#>env | grep ALT
|
||||
ALT_JDK_IMPORT_PATH=c:/devtools/java/jdk1.7.0
|
||||
ALT_BOOTDIR=c:/DevTools/java/jdk1.6.0
|
||||
|
||||
If your build is a FASTDEBUG build, don't forget
|
||||
to set FASTDEBUG=true in the property file as well so that what you
|
||||
have built from the terminal matches what will be built from NetBeans.
|
||||
|
||||
Set "make.options" in your build.properties
|
||||
accordingly:
|
||||
make.options=\
|
||||
ALT_JDK_IMPORT_PATH=c:/devtools/java/jdk1.7.0 \
|
||||
ALT_BOOTDIR=c:/DevTools/java/jdk1.6.0 \
|
||||
FASTDEBUG=true
|
||||
make=c:/devtools/cygwin/bin/make
|
||||
|
||||
4. Windows only: make sure you either call vcvars32.bat
|
||||
file which sets the compiler environment
|
||||
(typically located in <YourVisualStudioInstallDir>/VC7/bin)
|
||||
and start NetBeans from the same terminal,
|
||||
or make Visual Studio register its environment
|
||||
variables globally.
|
||||
(When building on 64-bit Windows platform, use setenv.cmd
|
||||
from Platform SDK instead of vcvars32, as described in the
|
||||
build documentation)
|
||||
|
||||
5. Now you can launch NetBeans
|
||||
|
||||
Notes on building the project from NetBeans
|
||||
|
||||
If you work only with Java files, you can compile them
|
||||
with "Compile Single File" target ("F9" by default), the ant build
|
||||
will compile the class files into the correct directory automatically.
|
||||
|
||||
However, if you touched any of C/C++ files,
|
||||
you will need to use "build main project" ("F11") which launches
|
||||
"make" on a set of directories.
|
||||
|
||||
Same goes if you touched a Java file which has native
|
||||
methods. You will need to run the build so that
|
||||
"javah" can generate the JNI header files used by
|
||||
the native code.
|
||||
|
||||
Demos
|
||||
|
||||
The default run target for this project is Font2DTest,
|
||||
which is launched with the runtime you built.
|
||||
|
||||
You can also start other demos by selecting a demo
|
||||
in the Project or Files view and choosing "Run" from
|
||||
the menu.
|
||||
|
||||
In particular, there is a J2DBench demo project,
|
||||
which is a Java2D benchmark. To run it,
|
||||
select java2d.J2DBench/build.xml node in the
|
||||
"Projects" explorer and execute "Run" target.
|
||||
For more information on this benchmark, see
|
||||
the project's README file in the "Files" view.
|
||||
|
||||
Notes on using CND (C/C++ pack) with this project and NetBeans.
|
||||
|
||||
As mentioned above currently a project for working with native code is not
|
||||
provided. However, you can set it up by yourself if you have
|
||||
access to CND pack for NetBeans 6.0.
|
||||
|
||||
First, install CND as described here (this is a page for CND 5.5,
|
||||
there likely will be one for 6.0 as well):
|
||||
http://www.netbeans.org/community/releases/55/cnd-install.html
|
||||
and make sure everyting works it works.
|
||||
|
||||
Then, create a new C/C++ project of "from existing code" type (see page
|
||||
mentioned above for examples). The project should be located in the same
|
||||
directoryas this project is - on the same level. Call it something like
|
||||
"awt2d-native-${platform}-${arch}". So, for example, you may have
|
||||
jdk/make/netbeans/awt2d
|
||||
jdk/make/netbeans/awt2d-native-windows-i586
|
||||
|
||||
Specify the top level Makefile (jdk/make/Makefile), even though
|
||||
you will not be using, as the Java awt2d project is set up
|
||||
for building the workspace (thus make sure it's the default project,
|
||||
so when you hit "Build Project" it's awt2d one that's chosen).
|
||||
|
||||
The most important thing is to specify the directories which will
|
||||
be included into this project, the defines, and the directories for
|
||||
include files.
|
||||
This will enable code completion and limited navigation.
|
||||
|
||||
Using the project wizard, select the source directories you're interested in.
|
||||
|
||||
For example,
|
||||
src/share/native/sun/java2d
|
||||
src/windows/native/sun/java2d
|
||||
....
|
||||
(this will recursively include the subdirectories)
|
||||
|
||||
Then set the list of the includes required by CND to enable code assistance.
|
||||
You can get a complete list of include directories by looking at your
|
||||
build log file and checking what directories are included with "-I" when
|
||||
the files you're interesed in are built (you can probably devise some
|
||||
script to generate the list of include files relative to the native
|
||||
cnd project directory, and the list of defines passed to the compiler)
|
||||
|
||||
For example, on Windows x86, you might have something like this
|
||||
(a somewhat complete list of awt and 2d native directories on windows):
|
||||
|
||||
../../src/share/javavm/export;
|
||||
../../src/share/native/common;
|
||||
../../src/share/native/sun/awt/debug;
|
||||
../../src/share/native/sun/awt/image/cvutils;
|
||||
../../src/share/native/sun/awt/image;
|
||||
../../src/share/native/sun/awt/medialib;
|
||||
../../src/share/native/sun/awt;
|
||||
../../src/share/native/sun/font/bidi;
|
||||
../../src/share/native/sun/font/layout;
|
||||
../../src/share/native/sun/font;
|
||||
../../src/share/native/sun/java2d/cmm/lcms;
|
||||
../../src/share/native/sun/java2d/cmm;
|
||||
../../src/share/native/sun/java2d/loops;
|
||||
../../src/share/native/sun/java2d/opengl;
|
||||
../../src/share/native/sun/java2d/pipe;
|
||||
../../src/share/native/sun/java2d;
|
||||
../../src/windows/javavm/export;
|
||||
../../src/windows/native/common;
|
||||
../../src/windows/native/sun/awt;
|
||||
../../src/windows/native/sun/java2d/d3d;
|
||||
../../src/windows/native/sun/java2d/opengl;
|
||||
../../src/windows/native/sun/java2d/windows;
|
||||
../../src/windows/native/sun/java2d;
|
||||
../../src/windows/native/sun/windows;
|
||||
../../build/windows-i586/tmp/sun/sun.awt/awt/CClassHeaders;
|
||||
../../build/windows-i586/tmp/sun/sun.awt/awt/obj;
|
||||
../../build/windows-i586/tmp/sun/sun.awt/awt/obj_gO;
|
||||
../../build/windows-i586/tmp/sun/sun.awt/jpeg/CClassHeaders;
|
||||
../../build/windows-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders;
|
||||
../../build/windows-i586/tmp/sun/sun.font/fontmanager/CClassHeaders;
|
||||
../../build/windows-i586/tmp/sun/sun.font/t2k/CClassHeaders;
|
||||
C:/devtools/VS2003/SDK/v1.1/include;
|
||||
C:/devtools/VS2003/VC7/ATLMFC/INCLUDE;
|
||||
C:/devtools/VS2003/VC7/INCLUDE;
|
||||
C:/devtools/VS2003/VC7/PlatformSDK/include;
|
||||
C:/devtools/VS2003/VC7/PlatformSDK/include/prerelease;
|
||||
|
||||
(you can format this into a single line with ';' delimiters and paste it
|
||||
into the text field instead of entering them one by one)
|
||||
|
||||
Note that most paths are relative to the native project directory -
|
||||
this helps if you decide to relocate the workspace later. The ones that
|
||||
aren't relative are paths to external include directories, like those
|
||||
of the Platform SDK.
|
||||
On Unix platforms these may be directories like /usr/include.
|
||||
|
||||
The parser must know some defines to correctly parse the source files,
|
||||
these can also be obtained from the log file. For example, on Windows
|
||||
x86 with debugging enabled, the defines would be something like this:
|
||||
D3D_OVERLOADS; UNICODE; _UNICODE; WIN32; IAL; _LITTLE_ENDIAN; WIN32; _X86_;
|
||||
x86; WIN32_LEAN_AND_MEAN; INTERNAL_BUILD; JDK_MAJOR_VERSION='"1"';
|
||||
JDK_MINOR_VERSION='"7"'; RELEASE=1.7.0-internal; DEBUG="true"
|
||||
|
||||
(again, format it into a single line with '; ' delimiter - note the
|
||||
space after ';' - and paste into the corresponding text field)
|
||||
|
||||
Note that the list of include directories will be different on different
|
||||
platforms and architectures - consult you build log file.
|
||||
|
||||
After the project is created a loaded, you may want to check the list
|
||||
of include files which weren't found (right-click on the native
|
||||
project root in Projects exprorer, and select "View failed #include Directives"
|
||||
from the popup menu. Update the inlcude directories list accordingly.
|
||||
|
||||
You can later create a different configuration for non-debug build,
|
||||
just make a copy of your current configuration - call it ${arch}-debug
|
||||
(in the native project's Properties dialog) and remove "DEBUG=true" from
|
||||
the list of defines.
|
||||
|
||||
Note that with both Java and native projects opened the default
|
||||
heap size NetBeans starts with might not be sufficient for comfortable work,
|
||||
so you may need to increase it. You can do it either from the command line
|
||||
or by editing your ~/.netbeans/dev/etc/netbeans.conf file and adding
|
||||
something like this:
|
||||
-J-Xms312m -J-Xmx512m -J-XX:PermSize=128m -J-XX:MaxPermSize=200m
|
||||
to netbeans_default_options property.
|
||||
@ -1,76 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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=\
|
||||
com/sun/java2d/ \
|
||||
com/sun/image/ \
|
||||
com/sun/imageio/ \
|
||||
java/awt/ \
|
||||
javax/imageio/ \
|
||||
javax/print/ \
|
||||
sun/dcpr/ \
|
||||
sun/image/ \
|
||||
sun/awt/ \
|
||||
sun/splashscreen/ \
|
||||
sun/xawt/ \
|
||||
sun/headless/ \
|
||||
sun/font/ \
|
||||
sun/jpeg/ \
|
||||
sun/cmm/ \
|
||||
sun/jawt/ \
|
||||
sun/text/ \
|
||||
sun/java2d/ \
|
||||
sun/print/
|
||||
excludes=\
|
||||
java/awt/doc-files/ \
|
||||
java/awt/im/ \
|
||||
sun/awt/im/ \
|
||||
sun/awt/resources/ \
|
||||
sun/print/resources/
|
||||
demos=\
|
||||
java2d/J2DBench/src/ \
|
||||
java2d/J2DBench/options/ \
|
||||
java2d/J2DBench/build.xml \
|
||||
jfc/
|
||||
jtreg.tests=\
|
||||
java/awt/ \
|
||||
javax/imageio/ \
|
||||
javax/print/ \
|
||||
sun/awt/ \
|
||||
sun/java2d/ \
|
||||
closed/java/awt/ \
|
||||
closed/javax/imageio/ \
|
||||
closed/javax/print/ \
|
||||
closed/sun/awt/ \
|
||||
closed/sun/java2d/
|
||||
jtreg.options=-automatic
|
||||
use.make=true
|
||||
javadoc.options=-J-Xmx256m
|
||||
@ -1,100 +0,0 @@
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<project name="awt2d" default="build" basedir=".">
|
||||
<description>
|
||||
JDK: AWT & Java2D Ant build file
|
||||
</description>
|
||||
|
||||
<import file="../common/shared.xml"/>
|
||||
|
||||
<target name="-build-make" depends="-make.init,-build-make-unix,-build-make-windows" if="use.make"/>
|
||||
|
||||
<target name="-build-make-unix" depends="-make.init" if="osfamily.unix">
|
||||
<make-run target="all" dir="${make.dir}/java/awt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/dcpr"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/image"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/awt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/splashscreen"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/xawt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/headless"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/font"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/jpeg"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/cmm"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/jawt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/text"/>
|
||||
<make-run target="all" dir="${make.dir}/com/sun/image"/>
|
||||
<make-run target="all" dir="${make.dir}/com/sun/java2d"/>
|
||||
</target>
|
||||
|
||||
<target name="-build-make-windows" depends="-make.init" if="os.windows">
|
||||
<make-run target="all" dir="${make.dir}/java/awt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/dcpr"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/awt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/splashscreen"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/font"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/jpeg"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/cmm"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/jawt"/>
|
||||
<make-run target="all" dir="${make.dir}/sun/text"/>
|
||||
<make-run target="all" dir="${make.dir}/com/sun/image"/>
|
||||
<make-run target="all" dir="${make.dir}/com/sun/java2d"/>
|
||||
</target>
|
||||
|
||||
<target name="-clean-make" depends="-make.init,-clean-docs-tests" if="use.make">
|
||||
<make-run target="clean" dir="${make.dir}/java/awt"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/dcpr"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/image"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/awt"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/splashscreen"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/xawt"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/font"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/jpeg"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/cmm"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/jawt"/>
|
||||
<make-run target="clean" dir="${make.dir}/sun/text"/>
|
||||
<make-run target="clean" dir="${make.dir}/com/sun/image"/>
|
||||
<make-run target="clean" dir="${make.dir}/com/sun/java2d"/>
|
||||
<make-run target="clean" dir="${make.dir}/mkdemo/jfc"/>
|
||||
</target>
|
||||
|
||||
<target name="run" depends="-make.init">
|
||||
<make-run target="all" dir="${make.dir}/mkdemo/jfc"/>
|
||||
<property name="jvm.args" value=""/>
|
||||
<java jar="${build.dir}/demo/jfc/Font2DTest/Font2DTest.jar"
|
||||
fork="true"
|
||||
classpath="${classes.dir}:${bootstrap.jdk}/jre/lib/rt.jar">
|
||||
<jvmarg line="${jvm.args}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
||||
@ -1,96 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<!DOCTYPE project [
|
||||
<!ENTITY properties SYSTEM "../../common/properties.ent">
|
||||
<!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 demo-sources SYSTEM "../../common/demo-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 demo-view SYSTEM "../../common/demo-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">
|
||||
]>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.ant.freeform</type>
|
||||
<configuration>
|
||||
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
|
||||
<name>AWT & Java2d</name> <!-- Customized -->
|
||||
<properties>
|
||||
<property name="name">awt2d</property> <!-- Customized -->
|
||||
&properties;
|
||||
</properties>
|
||||
<folders>
|
||||
&share-sources;
|
||||
&unix-sources;
|
||||
&windows-sources;
|
||||
&demo-sources;
|
||||
&jtreg-sources;
|
||||
&build-folder;
|
||||
</folders>
|
||||
<ide-actions>
|
||||
&standard-bindings;
|
||||
<action name="run">
|
||||
<target>run</target>
|
||||
</action>
|
||||
<action name="debug">
|
||||
<target>debug</target>
|
||||
</action>
|
||||
</ide-actions>
|
||||
<view>
|
||||
<items>
|
||||
&share-view;
|
||||
&unix-view;
|
||||
&windows-view;
|
||||
&demo-view;
|
||||
&jtreg-view;
|
||||
&file-view;
|
||||
</items>
|
||||
<context-menu>
|
||||
&standard-actions;
|
||||
<ide-action name="run"/>
|
||||
<ide-action name="debug"/>
|
||||
</context-menu>
|
||||
</view>
|
||||
</general-data>
|
||||
&java-data-native;
|
||||
</configuration>
|
||||
</project>
|
||||
@ -1,15 +0,0 @@
|
||||
This NetBeans project corresponds to client sanity test suite in jdk/test/sanity/client.
|
||||
|
||||
It simplifies working on the suite in NetBeans.
|
||||
|
||||
It also includes the following custom tasks:
|
||||
|
||||
prepare-bundle creates dist/sanity.zip containing standalone bundle of the suite
|
||||
|
||||
run-jemmy-browser runs Jemmy browser for the ButtonDemo (hardcoded in build.xml file)
|
||||
The tool allows to explore the UI hierarchy.
|
||||
|
||||
There is no task to run tests using JTReg. Please refer to corresponding README file
|
||||
in the client sanity test suite folder on how to run the tests.
|
||||
|
||||
Contact alexander.kouznetsov@oracle.com in case of issues.
|
||||
@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- You may freely edit this file. See commented blocks below for -->
|
||||
<!-- some examples of how to customize the build. -->
|
||||
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
||||
<!-- By default, only the Clean and Build commands use this build script. -->
|
||||
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
||||
<!-- the Compile on Save feature is turned off for the project. -->
|
||||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
||||
<!-- in the project's Project Properties dialog box.-->
|
||||
<project name="SanityTests" default="default" basedir=".">
|
||||
<description>Builds, tests, and runs the project SanityTests.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. They are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-single: called before javac compilation of single file
|
||||
-post-compile-single: called after javac compilation of single file
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-compile-test-single: called before javac compilation of single JUnit test
|
||||
-post-compile-test-single: called after javac compilation of single JUunit test
|
||||
-pre-jar: called before JAR building
|
||||
-post-jar: called after JAR building
|
||||
-post-clean: called after cleaning build products
|
||||
|
||||
(Targets beginning with '-' are not intended to be called on their own.)
|
||||
|
||||
Example of inserting an obfuscator after compilation could look like this:
|
||||
|
||||
<target name="-post-compile">
|
||||
<obfuscate>
|
||||
<fileset dir="${build.classes.dir}"/>
|
||||
</obfuscate>
|
||||
</target>
|
||||
|
||||
For list of available properties check the imported
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
|
||||
Another way to customize the build is by overriding existing main targets.
|
||||
The targets of interest are:
|
||||
|
||||
-init-macrodef-javac: defines macro for javac compilation
|
||||
-init-macrodef-junit: defines macro for junit execution
|
||||
-init-macrodef-debug: defines macro for class debugging
|
||||
-init-macrodef-java: defines macro for class execution
|
||||
-do-jar: JAR building
|
||||
run: execution of project
|
||||
-javadoc-build: Javadoc generation
|
||||
test-report: JUnit report generation
|
||||
|
||||
An example of overriding the target for project execution could look like this:
|
||||
|
||||
<target name="run" depends="SanityTests-impl.jar">
|
||||
<exec dir="bin" executable="launcher.exe">
|
||||
<arg file="${dist.jar}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Notice that the overridden target depends on the jar target and not only on
|
||||
the compile target as the regular run target does. Again, for a list of available
|
||||
properties which you can use, check the target you are overriding in the
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
|
||||
<target name="prepare-bundle" depends="init">
|
||||
<zip zipfile="${dist.dir}/sanity.zip">
|
||||
<fileset dir="../../../test" includes="sanity/client/SwingSet/**"/>
|
||||
<fileset dir="../../../test" includes="sanity/client/lib/**"/>
|
||||
<fileset dir="../../../test" includes="sanity/client/ReadMe.txt"/>
|
||||
<fileset dir="../../../test" includes="sanity/client/TEST.properties"/>
|
||||
<mappedresources>
|
||||
<fileset dir="../../../test/sanity/client" includes="TEST.ROOT.template"/>
|
||||
<globmapper from="TEST.ROOT.template" to="TEST.ROOT" />
|
||||
</mappedresources>
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
<target name="run-jemmy-browser" depends="init">
|
||||
<java
|
||||
classpath="${run.classpath}"
|
||||
classname="org.netbeans.jemmy.explorer.GUIBrowser"
|
||||
args="com.sun.swingset3.demos.button.ButtonDemo"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
X-COMMENT: Main-Class will be added automatically by build
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@
|
||||
build.xml.data.CRC32=0f9d9977
|
||||
build.xml.script.CRC32=f902e8b8
|
||||
build.xml.stylesheet.CRC32=8064a381@1.75.2.48
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=16caf60f
|
||||
nbproject/build-impl.xml.script.CRC32=c12f9d04
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48
|
||||
@ -1,79 +0,0 @@
|
||||
annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
|
||||
application.title=SanityTests
|
||||
application.vendor=akouznet
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
# Files in build.classes.dir which should be excluded from distribution jar
|
||||
dist.archive.excludes=
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/SanityTests.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
endorsed.classpath=
|
||||
excludes=*.cfg
|
||||
includes=**
|
||||
jar.compress=false
|
||||
javac.classpath=\
|
||||
${libs.testng.classpath}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=-Xmaxwarns 9999 -Xlint:all -Xlint:-serial
|
||||
javac.deprecation=false
|
||||
javac.external.vm=false
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.8
|
||||
javac.target=1.8
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
javac.test.processorpath=\
|
||||
${javac.test.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=
|
||||
main.class=
|
||||
manifest.file=manifest.mf
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=false
|
||||
platform.active=default_platform
|
||||
run.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
# Space-separated list of JVM arguments used when running the project.
|
||||
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
|
||||
# To set system properties for unit tests define test-sys-prop.name=value:
|
||||
run.jvmargs=-ea
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
source.encoding=UTF-8
|
||||
src.src.dir=..\\..\\..\\test\\sanity\\client\\SwingSet\\src
|
||||
src.src2.dir=..\\..\\..\\test\\sanity\\client\\lib\\SwingSet3\\src
|
||||
src.src3.dir=..\\..\\..\\test\\sanity\\client\\lib\\jemmy\\src
|
||||
src.src4.dir=..\\..\\..\\test\\sanity\\client\\lib\\Extensions\\src
|
||||
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.java.j2seproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
|
||||
<name>SanityTests</name>
|
||||
<source-roots>
|
||||
<root id="src.src3.dir" name="lib\jemmy\src"/>
|
||||
<root id="src.src4.dir" name="lib\Extensions\src"/>
|
||||
<root id="src.src2.dir" name="lib\SwingSet3\src"/>
|
||||
<root id="src.src.dir" name="SwingSet\src"/>
|
||||
</source-roots>
|
||||
<test-roots/>
|
||||
</data>
|
||||
<references xmlns="http://www.netbeans.org/ns/ant-project-references/2"/>
|
||||
</configuration>
|
||||
</project>
|
||||
@ -1,25 +0,0 @@
|
||||
The *.ent files in this directory provide common functionality to the
|
||||
project.xml file of various projects. There are different kinds,
|
||||
e.g. "-sources" from share-sources.ent
|
||||
|
||||
* -sources: Defines sources used by a project.
|
||||
|
||||
* -view: Defines project's sources that are displayed in the Projects tab.
|
||||
|
||||
* -actions: Defines a set of actions of the project available from NetBeans.
|
||||
|
||||
* -bindings: Defines the targets invoked by the corresponding actions.
|
||||
|
||||
Note that -sources and -view files come in pairs: A project will have an
|
||||
entity reference for each, so that it uses and displays the sources.
|
||||
|
||||
Similarly, -actions and -bindings are paired.
|
||||
|
||||
These kinds are not paired:
|
||||
|
||||
build-folder.ent: Defines the location of the folder where compiled classes,
|
||||
resources, etc. are placed.
|
||||
|
||||
java-data-native.ent, java-data-no-native.ent: These define information about
|
||||
the location of classes and sources of native and non-native projects, where
|
||||
"native" is suggestive of "native code", that is, non-Java source code.
|
||||
@ -1,3 +0,0 @@
|
||||
List of translations from Java's os.name and os.arch properties
|
||||
into the platform names used by the JDK makefiles.
|
||||
Add your own translations as needed.
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
arch=i586
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
arch=i586
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
arch=sparc
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
arch=i586
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
arch=x86_64
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 2012, 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.
|
||||
#
|
||||
|
||||
platform=bsd
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
platform=linux
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
platform=macosx
|
||||
@ -1,32 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2007, 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.
|
||||
#
|
||||
|
||||
platform=solaris
|
||||
@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<build-folder>
|
||||
<location>${root}/build</location>
|
||||
</build-folder>
|
||||
@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<source-folder>
|
||||
<label>Closed-Source Packages</label>
|
||||
<type>java</type>
|
||||
<location>${root}/src/closed/share/classes</location>
|
||||
<includes>${includes}</includes>
|
||||
<excludes>${excludes}</excludes>
|
||||
<encoding>US-ASCII</encoding>
|
||||
</source-folder>
|
||||
<source-folder>
|
||||
<label>Closed-Source Packages</label>
|
||||
<location>${root}/src/closed/share/classes</location>
|
||||
<includes>${includes}</includes>
|
||||
<excludes>${excludes}</excludes>
|
||||
</source-folder>
|
||||
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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
|
||||
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.
|
||||
-->
|
||||
|
||||
<source-folder style="tree">
|
||||
<label>Closed Sources</label>
|
||||
<location>${root}/src/closed/share/classes</location>
|
||||
<includes>${includes}</includes>
|
||||
<excludes>${excludes}</excludes>
|
||||
</source-folder>
|
||||
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<source-folder>
|
||||
<label>Demos</label>
|
||||
<location>${root}/src/share/demo</location>
|
||||
<includes>${demos}</includes>
|
||||
</source-folder>
|
||||
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<source-folder style="tree"> <!-- hierarchy in demo/ dir isn't packages -->
|
||||
<label>Demos</label>
|
||||
<location>${root}/src/share/demo</location>
|
||||
<includes>${demos}</includes>
|
||||
</source-folder>
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<source-file>
|
||||
<location>README.html</location>
|
||||
</source-file>
|
||||
<source-file>
|
||||
<location>README</location>
|
||||
</source-file>
|
||||
<source-file>
|
||||
<location>build.properties</location>
|
||||
</source-file>
|
||||
<source-file>
|
||||
<location>build.xml</location>
|
||||
</source-file>
|
||||
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
|
||||
<compilation-unit>
|
||||
<package-root>${root}/src/share/classes</package-root>
|
||||
<package-root>${root}/src/macosx/classes</package-root>
|
||||
<package-root>${root}/src/solaris/classes</package-root>
|
||||
<package-root>${root}/src/windows/classes</package-root>
|
||||
<classpath mode="boot">${bootstrap.jdk}/jre/lib/rt.jar</classpath>
|
||||
<built-to>${root}/../build/${platform}-${arch}/jdk/classes</built-to>
|
||||
<javadoc-built-to>${root}/build/${platform}-${arch}/docs/api</javadoc-built-to>
|
||||
<source-level>1.8</source-level>
|
||||
</compilation-unit>
|
||||
<compilation-unit>
|
||||
<package-root>${root}/test</package-root>
|
||||
<unit-tests/>
|
||||
<classpath mode="compile">${jtreg.home}/lib/testng.jar</classpath>
|
||||
<source-level>1.8</source-level>
|
||||
</compilation-unit>
|
||||
</java-data>
|
||||
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
|
||||
<compilation-unit>
|
||||
<package-root>${root}/src/share/classes</package-root>
|
||||
<classpath mode="boot">${bootstrap.jdk}/jre/lib/rt.jar</classpath>
|
||||
<built-to>${root}/../build/${platform}-${arch}/jdk/classes</built-to>
|
||||
<javadoc-built-to>${root}/build/${platform}-${arch}/docs/api</javadoc-built-to>
|
||||
<source-level>1.8</source-level>
|
||||
</compilation-unit>
|
||||
<compilation-unit>
|
||||
<package-root>${root}/test</package-root>
|
||||
<unit-tests/>
|
||||
<classpath mode="compile">${jtreg.home}/lib/testng.jar</classpath>
|
||||
<source-level>1.8</source-level>
|
||||
</compilation-unit>
|
||||
</java-data>
|
||||
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2007, 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.
|
||||
-->
|
||||
|
||||
<source-folder>
|
||||
<label>Tests</label>
|
||||
<location>${root}/test</location>
|
||||
<includes>${jtreg.tests}</includes>
|
||||
</source-folder>
|
||||
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<source-folder style="tree"> <!-- hierarchy in test/ dir isn't packages -->
|
||||
<label>Tests</label>
|
||||
<location>${root}/test</location>
|
||||
<includes>${jtreg.tests}</includes>
|
||||
</source-folder>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user