8011814: Add testng.jar to Netbeans projects test compile classpath
8013271: Add MacOS sources to J2SE Netbeans project 8013272: JDK Netbeans projects should use ASCII encoding for sources Reviewed-by: lancea
This commit is contained in:
parent
2aaf545877
commit
10f955e370
@ -37,6 +37,7 @@
|
|||||||
<location>${root}/src/closed/share/classes</location>
|
<location>${root}/src/closed/share/classes</location>
|
||||||
<includes>${includes}</includes>
|
<includes>${includes}</includes>
|
||||||
<excludes>${excludes}</excludes>
|
<excludes>${excludes}</excludes>
|
||||||
|
<encoding>US-ASCII</encoding>
|
||||||
</source-folder>
|
</source-folder>
|
||||||
<source-folder>
|
<source-folder>
|
||||||
<label>Closed-Source Packages</label>
|
<label>Closed-Source Packages</label>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<source-folder style="tree">
|
<source-folder style="tree"> <!-- hierarchy in demo/ dir isn't packages -->
|
||||||
<label>Demos</label>
|
<label>Demos</label>
|
||||||
<location>${root}/src/share/demo</location>
|
<location>${root}/src/share/demo</location>
|
||||||
<includes>${demos}</includes>
|
<includes>${demos}</includes>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -34,8 +34,9 @@
|
|||||||
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/3">
|
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/3">
|
||||||
<compilation-unit>
|
<compilation-unit>
|
||||||
<package-root>${root}/src/share/classes</package-root>
|
<package-root>${root}/src/share/classes</package-root>
|
||||||
<package-root>${root}/src/windows/classes</package-root>
|
<package-root>${root}/src/macosx/classes</package-root>
|
||||||
<package-root>${root}/src/solaris/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>
|
<classpath mode="boot">${bootstrap.jdk}/jre/lib/rt.jar</classpath>
|
||||||
<built-to>${root}/build/${platform}-${arch}/classes</built-to>
|
<built-to>${root}/build/${platform}-${arch}/classes</built-to>
|
||||||
<javadoc-built-to>${root}/build/${platform}-${arch}/docs/api</javadoc-built-to>
|
<javadoc-built-to>${root}/build/${platform}-${arch}/docs/api</javadoc-built-to>
|
||||||
@ -44,6 +45,7 @@
|
|||||||
<compilation-unit>
|
<compilation-unit>
|
||||||
<package-root>${root}/test</package-root>
|
<package-root>${root}/test</package-root>
|
||||||
<unit-tests/>
|
<unit-tests/>
|
||||||
|
<classpath mode="compile">${jtreg.home}/lib/testng.jar</classpath>
|
||||||
<source-level>1.8</source-level>
|
<source-level>1.8</source-level>
|
||||||
</compilation-unit>
|
</compilation-unit>
|
||||||
</java-data>
|
</java-data>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -42,6 +42,7 @@
|
|||||||
<compilation-unit>
|
<compilation-unit>
|
||||||
<package-root>${root}/test</package-root>
|
<package-root>${root}/test</package-root>
|
||||||
<unit-tests/>
|
<unit-tests/>
|
||||||
|
<classpath mode="compile">${jtreg.home}/lib/testng.jar</classpath>
|
||||||
<source-level>1.8</source-level>
|
<source-level>1.8</source-level>
|
||||||
</compilation-unit>
|
</compilation-unit>
|
||||||
</java-data>
|
</java-data>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -31,7 +31,7 @@
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<source-folder style="tree">
|
<source-folder style="tree"> <!-- hierarchy in test/ dir isn't packages -->
|
||||||
<label>Tests</label>
|
<label>Tests</label>
|
||||||
<location>${root}/test</location>
|
<location>${root}/test</location>
|
||||||
<includes>${jtreg.tests}</includes>
|
<includes>${jtreg.tests}</includes>
|
||||||
|
49
jdk/make/netbeans/common/macosx-sources.ent
Normal file
49
jdk/make/netbeans/common/macosx-sources.ent
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
OS X is a trademark in the United States and other countries,
|
||||||
|
exclusively licensed through Apple Inc.
|
||||||
|
-->
|
||||||
|
<source-folder>
|
||||||
|
<label>Sources for OS X™ Platform</label>
|
||||||
|
<type>java</type>
|
||||||
|
<location>${root}/src/macosx/classes</location>
|
||||||
|
<includes>${includes}</includes>
|
||||||
|
<excludes>${excludes}</excludes>
|
||||||
|
<encoding>US-ASCII</encoding>
|
||||||
|
</source-folder>
|
||||||
|
<source-folder>
|
||||||
|
<label>Sources for OS X™ Platform</label>
|
||||||
|
<location>${root}/src/macosx/classes</location>
|
||||||
|
</source-folder>
|
43
jdk/make/netbeans/common/macosx-view.ent
Normal file
43
jdk/make/netbeans/common/macosx-view.ent
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
OS X is a trademark in the United States and other countries,
|
||||||
|
exclusively licensed through Apple Inc.
|
||||||
|
-->
|
||||||
|
<source-folder style="tree">
|
||||||
|
<label>Sources for OS X™ Platform</label>
|
||||||
|
<location>${root}/src/macosx/classes</location>
|
||||||
|
<includes>${includes}</includes>
|
||||||
|
<excludes>${excludes}</excludes>
|
||||||
|
</source-folder>
|
@ -41,3 +41,5 @@
|
|||||||
<property-file>${user.home}/.openjdk/build.properties</property-file>
|
<property-file>${user.home}/.openjdk/build.properties</property-file>
|
||||||
<property-file>build.properties</property-file>
|
<property-file>build.properties</property-file>
|
||||||
<property name="bootstrap.jdk">${java.home}/..</property>
|
<property name="bootstrap.jdk">${java.home}/..</property>
|
||||||
|
<property name="jtreg.home">${env.JT_HOME}</property>
|
||||||
|
<property name="jtreg.tests">**</property>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -31,7 +31,7 @@
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<source-folder style="tree">
|
<source-folder style="tree"> <!-- hierarchy in sample/ dir isn't packages -->
|
||||||
<label>Samples</label>
|
<label>Samples</label>
|
||||||
<location>${root}/src/share/sample</location>
|
<location>${root}/src/share/sample</location>
|
||||||
<includes>${samples}</includes>
|
<includes>${samples}</includes>
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<location>${root}/src/share/classes</location>
|
<location>${root}/src/share/classes</location>
|
||||||
<includes>${includes}</includes>
|
<includes>${includes}</includes>
|
||||||
<excludes>${excludes}</excludes>
|
<excludes>${excludes}</excludes>
|
||||||
|
<encoding>US-ASCII</encoding>
|
||||||
</source-folder>
|
</source-folder>
|
||||||
<source-folder>
|
<source-folder>
|
||||||
<label>Sources for All Platforms</label>
|
<label>Sources for All Platforms</label>
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
<location>${root}/src/solaris/classes</location>
|
<location>${root}/src/solaris/classes</location>
|
||||||
<includes>${includes}</includes>
|
<includes>${includes}</includes>
|
||||||
<excludes>${excludes}</excludes>
|
<excludes>${excludes}</excludes>
|
||||||
|
<encoding>US-ASCII</encoding>
|
||||||
</source-folder>
|
</source-folder>
|
||||||
<source-folder>
|
<source-folder>
|
||||||
<label>Sources for Unix® Platform</label>
|
<label>Sources for Unix® Platform</label>
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<location>${root}/src/windows/classes</location>
|
<location>${root}/src/windows/classes</location>
|
||||||
<includes>${includes}</includes>
|
<includes>${includes}</includes>
|
||||||
<excludes>${excludes}</excludes>
|
<excludes>${excludes}</excludes>
|
||||||
|
<encoding>US-ASCII</encoding>
|
||||||
</source-folder>
|
</source-folder>
|
||||||
<source-folder>
|
<source-folder>
|
||||||
<label>Sources for Windows Platform</label>
|
<label>Sources for Windows Platform</label>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -34,12 +34,14 @@
|
|||||||
<!DOCTYPE project [
|
<!DOCTYPE project [
|
||||||
<!ENTITY properties SYSTEM "../../common/properties.ent">
|
<!ENTITY properties SYSTEM "../../common/properties.ent">
|
||||||
<!ENTITY share-sources SYSTEM "../../common/share-sources.ent">
|
<!ENTITY share-sources SYSTEM "../../common/share-sources.ent">
|
||||||
|
<!ENTITY macosx-sources SYSTEM "../../common/macosx-sources.ent">
|
||||||
<!ENTITY unix-sources SYSTEM "../../common/unix-sources.ent">
|
<!ENTITY unix-sources SYSTEM "../../common/unix-sources.ent">
|
||||||
<!ENTITY windows-sources SYSTEM "../../common/windows-sources.ent">
|
<!ENTITY windows-sources SYSTEM "../../common/windows-sources.ent">
|
||||||
<!ENTITY jtreg-sources SYSTEM "../../common/jtreg-sources.ent">
|
<!ENTITY jtreg-sources SYSTEM "../../common/jtreg-sources.ent">
|
||||||
<!ENTITY build-folder SYSTEM "../../common/build-folder.ent">
|
<!ENTITY build-folder SYSTEM "../../common/build-folder.ent">
|
||||||
<!ENTITY standard-bindings SYSTEM "../../common/standard-bindings.ent">
|
<!ENTITY standard-bindings SYSTEM "../../common/standard-bindings.ent">
|
||||||
<!ENTITY share-view SYSTEM "../../common/share-view.ent">
|
<!ENTITY share-view SYSTEM "../../common/share-view.ent">
|
||||||
|
<!ENTITY macosx-view SYSTEM "../../common/macosx-view.ent">
|
||||||
<!ENTITY unix-view SYSTEM "../../common/unix-view.ent">
|
<!ENTITY unix-view SYSTEM "../../common/unix-view.ent">
|
||||||
<!ENTITY windows-view SYSTEM "../../common/windows-view.ent">
|
<!ENTITY windows-view SYSTEM "../../common/windows-view.ent">
|
||||||
<!ENTITY jtreg-view SYSTEM "../../common/jtreg-view.ent">
|
<!ENTITY jtreg-view SYSTEM "../../common/jtreg-view.ent">
|
||||||
@ -58,6 +60,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<folders>
|
<folders>
|
||||||
&share-sources;
|
&share-sources;
|
||||||
|
&macosx-sources;
|
||||||
&unix-sources;
|
&unix-sources;
|
||||||
&windows-sources;
|
&windows-sources;
|
||||||
&build-folder;
|
&build-folder;
|
||||||
@ -83,6 +86,7 @@
|
|||||||
<view>
|
<view>
|
||||||
<items>
|
<items>
|
||||||
&share-view;
|
&share-view;
|
||||||
|
&macosx-view;
|
||||||
&unix-view;
|
&unix-view;
|
||||||
&windows-view;
|
&windows-view;
|
||||||
&jtreg-view;
|
&jtreg-view;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
|
Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions
|
modification, are permitted provided that the following conditions
|
||||||
@ -34,11 +34,13 @@
|
|||||||
<!DOCTYPE project [
|
<!DOCTYPE project [
|
||||||
<!ENTITY properties SYSTEM "../../common/properties.ent">
|
<!ENTITY properties SYSTEM "../../common/properties.ent">
|
||||||
<!ENTITY share-sources SYSTEM "../../common/share-sources.ent">
|
<!ENTITY share-sources SYSTEM "../../common/share-sources.ent">
|
||||||
|
<!ENTITY macosx-sources SYSTEM "../../common/macosx-sources.ent">
|
||||||
<!ENTITY unix-sources SYSTEM "../../common/unix-sources.ent">
|
<!ENTITY unix-sources SYSTEM "../../common/unix-sources.ent">
|
||||||
<!ENTITY windows-sources SYSTEM "../../common/windows-sources.ent">
|
<!ENTITY windows-sources SYSTEM "../../common/windows-sources.ent">
|
||||||
<!ENTITY build-folder SYSTEM "../../common/build-folder.ent">
|
<!ENTITY build-folder SYSTEM "../../common/build-folder.ent">
|
||||||
<!ENTITY standard-bindings SYSTEM "../../common/standard-bindings.ent">
|
<!ENTITY standard-bindings SYSTEM "../../common/standard-bindings.ent">
|
||||||
<!ENTITY share-view SYSTEM "../../common/share-view.ent">
|
<!ENTITY share-view SYSTEM "../../common/share-view.ent">
|
||||||
|
<!ENTITY macosx-view SYSTEM "../../common/macosx-view.ent">
|
||||||
<!ENTITY unix-view SYSTEM "../../common/unix-view.ent">
|
<!ENTITY unix-view SYSTEM "../../common/unix-view.ent">
|
||||||
<!ENTITY windows-view SYSTEM "../../common/windows-view.ent">
|
<!ENTITY windows-view SYSTEM "../../common/windows-view.ent">
|
||||||
<!ENTITY file-view SYSTEM "../../common/file-view.ent">
|
<!ENTITY file-view SYSTEM "../../common/file-view.ent">
|
||||||
@ -56,6 +58,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<folders>
|
<folders>
|
||||||
&share-sources;
|
&share-sources;
|
||||||
|
&macosx-sources;
|
||||||
&unix-sources;
|
&unix-sources;
|
||||||
&windows-sources;
|
&windows-sources;
|
||||||
&build-folder;
|
&build-folder;
|
||||||
@ -66,6 +69,7 @@
|
|||||||
<view>
|
<view>
|
||||||
<items>
|
<items>
|
||||||
&share-view;
|
&share-view;
|
||||||
|
&macosx-view;
|
||||||
&unix-view;
|
&unix-view;
|
||||||
&windows-view;
|
&windows-view;
|
||||||
&file-view;
|
&file-view;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user