Skip to content

Commit db74bf2

Browse files
committed
[GR-63253] Move DISCLAIMER_FOR_SNAPSHOT_ARTIFACTS to sdk for correctness and simplification
1 parent f3912f0 commit db74bf2

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
This is a daily development build of the Oracle product and is offered to you
2+
as part of the development and testing process. Oracle does not recommend
3+
bundling this build with your products or otherwise using for any production
4+
purpose. This build is offered to and received by you solely under the GraalVM
5+
Free Terms and Conditions (GFTC), and is not governed by any other license
6+
between you and Oracle, including without limitation the Oracle Master
7+
Agreement. The features and functionality of the product are subject to change
8+
at any time and the existence of any features or functionality in this build
9+
should not be relied upon in making purchasing decisions. The existence of
10+
particular features or functionality in this build is not a commitment to
11+
deliver any hardware, software or other material, or code, or functionality,
12+
and you should not rely on the future availability of any feature or
13+
functionality in the product. The development, release, and timing of any
14+
features or functionality for this product remain at the sole discretion of
15+
Oracle. In the event you decide to provide any input to Oracle regarding the
16+
product, you acknowledge that Oracle may use that input for any purpose,
17+
including but not limited to incorporation or implementation of the input in
18+
any Oracle product or service, and the display, marketing, sublicensing and
19+
distribution of the input as incorporated or embedded in any product or service
20+
distributed or offered by Oracle.

sdk/mx.sdk/mx_sdk_vm_ng.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,17 @@ def getArchivableResults(self, use_relpath=True, single=False):
167167
raise ValueError('single not supported')
168168

169169
if self.enterprise:
170+
if not _suite.is_release():
171+
yield join(_suite.mxDir, 'DISCLAIMER_FOR_GFTC_SNAPSHOT_ARTIFACTS.txt'), 'DISCLAIMER.txt'
170172
if self.uses_enterprise_sources:
171173
lium_suite = mx.suite('lium', fatalIfMissing=True, context=self)
172174
vm_enterprise_dir = join(dirname(lium_suite.dir), 'vm-enterprise')
173175
yield join(vm_enterprise_dir, 'GraalVM_GFTC_License.txt'), 'LICENSE.txt'
174176
yield from mx.distribution('lium:LICENSE_INFORMATION_USER_MANUAL').getArchivableResults(use_relpath, single=True)
175-
if not mx.suite('sdk').is_release():
176-
yield join(vm_enterprise_dir, 'DISCLAIMER_FOR_SNAPSHOT_ARTIFACTS.txt'), 'DISCLAIMER.txt'
177177
else:
178178
# If the only enterprise input is a bootstrap Oracle GraalVM then copy the license from there
179179
yield join(_external_bootstrap_graalvm, 'LICENSE.txt'), 'LICENSE.txt'
180180
yield join(_external_bootstrap_graalvm, 'license-information-user-manual.zip'), 'license-information-user-manual.zip'
181-
if not mx.suite('sdk').is_release():
182-
mx.warn('Cannot find DISCLAIMER_FOR_SNAPSHOT_ARTIFACTS.txt, you should copy it yourself in the result')
183181
else:
184182
yield join(self.suite.dir, self.community_license_file), 'LICENSE.txt'
185183
yield join(self.suite.dir, self.community_3rd_party_license_file), '3rd_party_licenses.txt'

0 commit comments

Comments
 (0)