mondrian-olap 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog.md +33 -0
  3. data/LICENSE-Mondrian.txt +87 -0
  4. data/LICENSE.txt +1 -1
  5. data/README.md +4 -4
  6. data/VERSION +1 -1
  7. data/lib/mondrian/jars/guava-17.0.jar +0 -0
  8. data/lib/mondrian/jars/log4j-api-2.17.1.jar +0 -0
  9. data/lib/mondrian/jars/log4j-core-2.17.1.jar +0 -0
  10. data/lib/mondrian/jars/log4j2-config.jar +0 -0
  11. data/lib/mondrian/jars/mondrian-9.3.0.0.jar +0 -0
  12. data/lib/mondrian/olap/connection.rb +126 -73
  13. data/lib/mondrian/olap/cube.rb +46 -4
  14. data/lib/mondrian/olap/error.rb +10 -2
  15. data/lib/mondrian/olap/query.rb +1 -0
  16. data/lib/mondrian/olap/result.rb +132 -56
  17. data/lib/mondrian/olap/schema.rb +9 -3
  18. data/lib/mondrian/olap/schema_element.rb +6 -3
  19. data/lib/mondrian/olap/schema_udf.rb +8 -82
  20. data/lib/mondrian/olap.rb +11 -7
  21. data/spec/connection_role_spec.rb +4 -1
  22. data/spec/connection_spec.rb +38 -5
  23. data/spec/cube_cache_control_spec.rb +7 -17
  24. data/spec/cube_spec.rb +36 -2
  25. data/spec/fixtures/MondrianTest.xml +40 -6
  26. data/spec/fixtures/MondrianTestOracle.xml +40 -6
  27. data/spec/mondrian_spec.rb +203 -1
  28. data/spec/query_spec.rb +94 -25
  29. data/spec/rake_tasks.rb +319 -165
  30. data/spec/schema_definition_spec.rb +8 -241
  31. data/spec/spec_helper.rb +330 -112
  32. data/spec/support/data/customers.csv +10902 -0
  33. data/spec/support/data/product_classes.csv +101 -0
  34. data/spec/support/data/products.csv +101 -0
  35. data/spec/support/data/promotions.csv +11 -0
  36. data/spec/support/data/sales.csv +101 -0
  37. data/spec/support/data/time.csv +731 -0
  38. data/spec/support/data/warehouse.csv +101 -0
  39. data/spec/support/matchers/be_like.rb +1 -0
  40. metadata +42 -83
  41. data/LICENSE-Mondrian.html +0 -259
  42. data/lib/mondrian/jars/log4j-1.2.17.jar +0 -0
  43. data/lib/mondrian/jars/log4j.properties +0 -3
  44. data/lib/mondrian/jars/mondrian-8.3.0.5.jar +0 -0
@@ -0,0 +1,101 @@
1
+ product_id,time_id,units_shipped,store_invoice
2
+ 1,1,1,10.1234
3
+ 2,2,2,11.1234
4
+ 3,3,3,12.1234
5
+ 4,4,4,13.1234
6
+ 5,5,5,14.1234
7
+ 6,6,6,15.1234
8
+ 7,7,7,16.1234
9
+ 8,8,8,17.1234
10
+ 9,9,9,18.1234
11
+ 10,10,10,19.1234
12
+ 11,11,11,110.1234
13
+ 12,12,12,111.1234
14
+ 13,13,13,112.1234
15
+ 14,14,14,113.1234
16
+ 15,15,15,114.1234
17
+ 16,16,16,115.1234
18
+ 17,17,17,116.1234
19
+ 18,18,18,117.1234
20
+ 19,19,19,118.1234
21
+ 20,20,20,119.1234
22
+ 21,21,21,120.1234
23
+ 22,22,22,121.1234
24
+ 23,23,23,122.1234
25
+ 24,24,24,123.1234
26
+ 25,25,25,124.1234
27
+ 26,26,26,125.1234
28
+ 27,27,27,126.1234
29
+ 28,28,28,127.1234
30
+ 29,29,29,128.1234
31
+ 30,30,30,129.1234
32
+ 31,31,31,130.1234
33
+ 32,32,32,131.1234
34
+ 33,33,33,132.1234
35
+ 34,34,34,133.1234
36
+ 35,35,35,134.1234
37
+ 36,36,36,135.1234
38
+ 37,37,37,136.1234
39
+ 38,38,38,137.1234
40
+ 39,39,39,138.1234
41
+ 40,40,40,139.1234
42
+ 41,41,41,140.1234
43
+ 42,42,42,141.1234
44
+ 43,43,43,142.1234
45
+ 44,44,44,143.1234
46
+ 45,45,45,144.1234
47
+ 46,46,46,145.1234
48
+ 47,47,47,146.1234
49
+ 48,48,48,147.1234
50
+ 49,49,49,148.1234
51
+ 50,50,50,149.1234
52
+ 51,51,51,150.1234
53
+ 52,52,52,151.1234
54
+ 53,53,53,152.1234
55
+ 54,54,54,153.1234
56
+ 55,55,55,154.1234
57
+ 56,56,56,155.1234
58
+ 57,57,57,156.1234
59
+ 58,58,58,157.1234
60
+ 59,59,59,158.1234
61
+ 60,60,60,159.1234
62
+ 61,61,61,160.1234
63
+ 62,62,62,161.1234
64
+ 63,63,63,162.1234
65
+ 64,64,64,163.1234
66
+ 65,65,65,164.1234
67
+ 66,66,66,165.1234
68
+ 67,67,67,166.1234
69
+ 68,68,68,167.1234
70
+ 69,69,69,168.1234
71
+ 70,70,70,169.1234
72
+ 71,71,71,170.1234
73
+ 72,72,72,171.1234
74
+ 73,73,73,172.1234
75
+ 74,74,74,173.1234
76
+ 75,75,75,174.1234
77
+ 76,76,76,175.1234
78
+ 77,77,77,176.1234
79
+ 78,78,78,177.1234
80
+ 79,79,79,178.1234
81
+ 80,80,80,179.1234
82
+ 81,81,81,180.1234
83
+ 82,82,82,181.1234
84
+ 83,83,83,182.1234
85
+ 84,84,84,183.1234
86
+ 85,85,85,184.1234
87
+ 86,86,86,185.1234
88
+ 87,87,87,186.1234
89
+ 88,88,88,187.1234
90
+ 89,89,89,188.1234
91
+ 90,90,90,189.1234
92
+ 91,91,91,190.1234
93
+ 92,92,92,191.1234
94
+ 93,93,93,192.1234
95
+ 94,94,94,193.1234
96
+ 95,95,95,194.1234
97
+ 96,96,96,195.1234
98
+ 97,97,97,196.1234
99
+ 98,98,98,197.1234
100
+ 99,99,99,198.1234
101
+ 100,100,100,199.1234
@@ -16,6 +16,7 @@ module Matchers
16
16
  def negative_failure_message
17
17
  "expected\n#{@actual}\nto be unlike\n#{@expected}"
18
18
  end
19
+ alias_method :failure_message_when_negated, :negative_failure_message
19
20
  end
20
21
 
21
22
  def be_like(expected)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mondrian-olap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raimonds Simanovskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 10.3.2
46
+ version: 13.0.6
47
47
  name: rake
48
48
  prerelease: false
49
49
  type: :development
@@ -51,13 +51,13 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 10.3.2
54
+ version: 13.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 2.14.0
60
+ version: 3.12.0
61
61
  name: rspec
62
62
  prerelease: false
63
63
  type: :development
@@ -65,13 +65,13 @@ dependencies:
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.14.0
68
+ version: 3.12.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 4.2.2
74
+ version: 6.5.0
75
75
  name: rdoc
76
76
  prerelease: false
77
77
  type: :development
@@ -79,69 +79,41 @@ dependencies:
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 4.2.2
82
+ version: 6.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0'
88
+ version: 8.0.27
89
89
  name: jdbc-mysql
90
90
  prerelease: false
91
91
  type: :development
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- requirement: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: '0'
103
- name: jdbc-postgres
104
- prerelease: false
105
- type: :development
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- requirement: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '0'
117
- name: jdbc-luciddb
118
- prerelease: false
119
- type: :development
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
94
+ - - "~>"
123
95
  - !ruby/object:Gem::Version
124
- version: '0'
96
+ version: 8.0.27
125
97
  - !ruby/object:Gem::Dependency
126
98
  requirement: !ruby/object:Gem::Requirement
127
99
  requirements:
128
100
  - - "~>"
129
101
  - !ruby/object:Gem::Version
130
- version: 1.2.8
131
- name: jdbc-jtds
102
+ version: 42.2.25
103
+ name: jdbc-postgres
132
104
  prerelease: false
133
105
  type: :development
134
106
  version_requirements: !ruby/object:Gem::Requirement
135
107
  requirements:
136
108
  - - "~>"
137
109
  - !ruby/object:Gem::Version
138
- version: 1.2.8
110
+ version: 42.2.25
139
111
  - !ruby/object:Gem::Dependency
140
112
  requirement: !ruby/object:Gem::Requirement
141
113
  requirements:
142
114
  - - "~>"
143
115
  - !ruby/object:Gem::Version
144
- version: 4.0.0
116
+ version: 6.1.7.2
145
117
  name: activerecord
146
118
  prerelease: false
147
119
  type: :development
@@ -149,13 +121,13 @@ dependencies:
149
121
  requirements:
150
122
  - - "~>"
151
123
  - !ruby/object:Gem::Version
152
- version: 4.0.0
124
+ version: 6.1.7.2
153
125
  - !ruby/object:Gem::Dependency
154
126
  requirement: !ruby/object:Gem::Requirement
155
127
  requirements:
156
128
  - - "~>"
157
129
  - !ruby/object:Gem::Version
158
- version: 1.3.25
130
+ version: '61.2'
159
131
  name: activerecord-jdbc-adapter
160
132
  prerelease: false
161
133
  type: :development
@@ -163,13 +135,13 @@ dependencies:
163
135
  requirements:
164
136
  - - "~>"
165
137
  - !ruby/object:Gem::Version
166
- version: 1.3.25
138
+ version: '61.2'
167
139
  - !ruby/object:Gem::Dependency
168
140
  requirement: !ruby/object:Gem::Requirement
169
141
  requirements:
170
142
  - - "~>"
171
143
  - !ruby/object:Gem::Version
172
- version: 1.5.6
144
+ version: 6.1.6
173
145
  name: activerecord-oracle_enhanced-adapter
174
146
  prerelease: false
175
147
  type: :development
@@ -177,7 +149,7 @@ dependencies:
177
149
  requirements:
178
150
  - - "~>"
179
151
  - !ruby/object:Gem::Version
180
- version: 1.5.6
152
+ version: 6.1.6
181
153
  - !ruby/object:Gem::Dependency
182
154
  requirement: !ruby/object:Gem::Requirement
183
155
  requirements:
@@ -192,34 +164,6 @@ dependencies:
192
164
  - - ">="
193
165
  - !ruby/object:Gem::Version
194
166
  version: '0'
195
- - !ruby/object:Gem::Dependency
196
- requirement: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- version: '0'
201
- name: therubyrhino
202
- prerelease: false
203
- type: :development
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0'
209
- - !ruby/object:Gem::Dependency
210
- requirement: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: '0'
215
- name: coffee-script
216
- prerelease: false
217
- type: :development
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: '0'
223
167
  description: 'JRuby gem for performing multidimensional queries of relational database
224
168
  data using Mondrian OLAP Java library
225
169
 
@@ -232,7 +176,7 @@ extra_rdoc_files:
232
176
  - README.md
233
177
  files:
234
178
  - Changelog.md
235
- - LICENSE-Mondrian.html
179
+ - LICENSE-Mondrian.txt
236
180
  - LICENSE.txt
237
181
  - README.md
238
182
  - VERSION
@@ -248,10 +192,12 @@ files:
248
192
  - lib/mondrian/jars/eigenbase-properties-1.1.2.jar
249
193
  - lib/mondrian/jars/eigenbase-resgen-1.3.1.jar
250
194
  - lib/mondrian/jars/eigenbase-xom-1.3.5.jar
195
+ - lib/mondrian/jars/guava-17.0.jar
251
196
  - lib/mondrian/jars/javacup-10k.jar
252
- - lib/mondrian/jars/log4j-1.2.17.jar
253
- - lib/mondrian/jars/log4j.properties
254
- - lib/mondrian/jars/mondrian-8.3.0.5.jar
197
+ - lib/mondrian/jars/log4j-api-2.17.1.jar
198
+ - lib/mondrian/jars/log4j-core-2.17.1.jar
199
+ - lib/mondrian/jars/log4j2-config.jar
200
+ - lib/mondrian/jars/mondrian-9.3.0.0.jar
255
201
  - lib/mondrian/jars/olap4j-1.2.0.jar
256
202
  - lib/mondrian/olap.rb
257
203
  - lib/mondrian/olap/connection.rb
@@ -274,6 +220,13 @@ files:
274
220
  - spec/rake_tasks.rb
275
221
  - spec/schema_definition_spec.rb
276
222
  - spec/spec_helper.rb
223
+ - spec/support/data/customers.csv
224
+ - spec/support/data/product_classes.csv
225
+ - spec/support/data/products.csv
226
+ - spec/support/data/promotions.csv
227
+ - spec/support/data/sales.csv
228
+ - spec/support/data/time.csv
229
+ - spec/support/data/warehouse.csv
277
230
  - spec/support/matchers/be_like.rb
278
231
  homepage: http://github.com/rsim/mondrian-olap
279
232
  licenses:
@@ -294,8 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
247
  - !ruby/object:Gem::Version
295
248
  version: '0'
296
249
  requirements: []
297
- rubyforge_project:
298
- rubygems_version: 2.7.10
250
+ rubygems_version: 3.2.29
299
251
  signing_key:
300
252
  specification_version: 4
301
253
  summary: JRuby API for Mondrian OLAP Java library
@@ -311,4 +263,11 @@ test_files:
311
263
  - spec/rake_tasks.rb
312
264
  - spec/schema_definition_spec.rb
313
265
  - spec/spec_helper.rb
266
+ - spec/support/data/customers.csv
267
+ - spec/support/data/product_classes.csv
268
+ - spec/support/data/products.csv
269
+ - spec/support/data/promotions.csv
270
+ - spec/support/data/sales.csv
271
+ - spec/support/data/time.csv
272
+ - spec/support/data/warehouse.csv
314
273
  - spec/support/matchers/be_like.rb
@@ -1,259 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml"><head>
3
-
4
-
5
-
6
-
7
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
8
- <title>Eclipse Public License - Version 1.0</title>
9
- <style type="text/css">
10
- body {
11
- size: 8.5in 11.0in;
12
- margin: 0.25in 0.5in 0.25in 0.5in;
13
- tab-interval: 0.5in;
14
- }
15
- p {
16
- margin-left: auto;
17
- margin-top: 0.5em;
18
- margin-bottom: 0.5em;
19
- }
20
- p.list {
21
- margin-left: 0.5in;
22
- margin-top: 0.05em;
23
- margin-bottom: 0.05em;
24
- }
25
- </style>
26
-
27
- </head><body lang="EN-US">
28
-
29
- <h2>Eclipse Public License - v 1.0</h2>
30
-
31
- <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
32
- PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
33
- DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
34
- AGREEMENT.</p>
35
-
36
- <p><b>1. DEFINITIONS</b></p>
37
-
38
- <p>"Contribution" means:</p>
39
-
40
- <p class="list">a) in the case of the initial Contributor, the initial
41
- code and documentation distributed under this Agreement, and</p>
42
- <p class="list">b) in the case of each subsequent Contributor:</p>
43
- <p class="list">i) changes to the Program, and</p>
44
- <p class="list">ii) additions to the Program;</p>
45
- <p class="list">where such changes and/or additions to the Program
46
- originate from and are distributed by that particular Contributor. A
47
- Contribution 'originates' from a Contributor if it was added to the
48
- Program by such Contributor itself or anyone acting on such
49
- Contributor's behalf. Contributions do not include additions to the
50
- Program which: (i) are separate modules of software distributed in
51
- conjunction with the Program under their own license agreement, and (ii)
52
- are not derivative works of the Program.</p>
53
-
54
- <p>"Contributor" means any person or entity that distributes
55
- the Program.</p>
56
-
57
- <p>"Licensed Patents" mean patent claims licensable by a
58
- Contributor which are necessarily infringed by the use or sale of its
59
- Contribution alone or when combined with the Program.</p>
60
-
61
- <p>"Program" means the Contributions distributed in accordance
62
- with this Agreement.</p>
63
-
64
- <p>"Recipient" means anyone who receives the Program under
65
- this Agreement, including all Contributors.</p>
66
-
67
- <p><b>2. GRANT OF RIGHTS</b></p>
68
-
69
- <p class="list">a) Subject to the terms of this Agreement, each
70
- Contributor hereby grants Recipient a non-exclusive, worldwide,
71
- royalty-free copyright license to reproduce, prepare derivative works
72
- of, publicly display, publicly perform, distribute and sublicense the
73
- Contribution of such Contributor, if any, and such derivative works, in
74
- source code and object code form.</p>
75
-
76
- <p class="list">b) Subject to the terms of this Agreement, each
77
- Contributor hereby grants Recipient a non-exclusive, worldwide,
78
- royalty-free patent license under Licensed Patents to make, use, sell,
79
- offer to sell, import and otherwise transfer the Contribution of such
80
- Contributor, if any, in source code and object code form. This patent
81
- license shall apply to the combination of the Contribution and the
82
- Program if, at the time the Contribution is added by the Contributor,
83
- such addition of the Contribution causes such combination to be covered
84
- by the Licensed Patents. The patent license shall not apply to any other
85
- combinations which include the Contribution. No hardware per se is
86
- licensed hereunder.</p>
87
-
88
- <p class="list">c) Recipient understands that although each Contributor
89
- grants the licenses to its Contributions set forth herein, no assurances
90
- are provided by any Contributor that the Program does not infringe the
91
- patent or other intellectual property rights of any other entity. Each
92
- Contributor disclaims any liability to Recipient for claims brought by
93
- any other entity based on infringement of intellectual property rights
94
- or otherwise. As a condition to exercising the rights and licenses
95
- granted hereunder, each Recipient hereby assumes sole responsibility to
96
- secure any other intellectual property rights needed, if any. For
97
- example, if a third party patent license is required to allow Recipient
98
- to distribute the Program, it is Recipient's responsibility to acquire
99
- that license before distributing the Program.</p>
100
-
101
- <p class="list">d) Each Contributor represents that to its knowledge it
102
- has sufficient copyright rights in its Contribution, if any, to grant
103
- the copyright license set forth in this Agreement.</p>
104
-
105
- <p><b>3. REQUIREMENTS</b></p>
106
-
107
- <p>A Contributor may choose to distribute the Program in object code
108
- form under its own license agreement, provided that:</p>
109
-
110
- <p class="list">a) it complies with the terms and conditions of this
111
- Agreement; and</p>
112
-
113
- <p class="list">b) its license agreement:</p>
114
-
115
- <p class="list">i) effectively disclaims on behalf of all Contributors
116
- all warranties and conditions, express and implied, including warranties
117
- or conditions of title and non-infringement, and implied warranties or
118
- conditions of merchantability and fitness for a particular purpose;</p>
119
-
120
- <p class="list">ii) effectively excludes on behalf of all Contributors
121
- all liability for damages, including direct, indirect, special,
122
- incidental and consequential damages, such as lost profits;</p>
123
-
124
- <p class="list">iii) states that any provisions which differ from this
125
- Agreement are offered by that Contributor alone and not by any other
126
- party; and</p>
127
-
128
- <p class="list">iv) states that source code for the Program is available
129
- from such Contributor, and informs licensees how to obtain it in a
130
- reasonable manner on or through a medium customarily used for software
131
- exchange.</p>
132
-
133
- <p>When the Program is made available in source code form:</p>
134
-
135
- <p class="list">a) it must be made available under this Agreement; and</p>
136
-
137
- <p class="list">b) a copy of this Agreement must be included with each
138
- copy of the Program.</p>
139
-
140
- <p>Contributors may not remove or alter any copyright notices contained
141
- within the Program.</p>
142
-
143
- <p>Each Contributor must identify itself as the originator of its
144
- Contribution, if any, in a manner that reasonably allows subsequent
145
- Recipients to identify the originator of the Contribution.</p>
146
-
147
- <p><b>4. COMMERCIAL DISTRIBUTION</b></p>
148
-
149
- <p>Commercial distributors of software may accept certain
150
- responsibilities with respect to end users, business partners and the
151
- like. While this license is intended to facilitate the commercial use of
152
- the Program, the Contributor who includes the Program in a commercial
153
- product offering should do so in a manner which does not create
154
- potential liability for other Contributors. Therefore, if a Contributor
155
- includes the Program in a commercial product offering, such Contributor
156
- ("Commercial Contributor") hereby agrees to defend and
157
- indemnify every other Contributor ("Indemnified Contributor")
158
- against any losses, damages and costs (collectively "Losses")
159
- arising from claims, lawsuits and other legal actions brought by a third
160
- party against the Indemnified Contributor to the extent caused by the
161
- acts or omissions of such Commercial Contributor in connection with its
162
- distribution of the Program in a commercial product offering. The
163
- obligations in this section do not apply to any claims or Losses
164
- relating to any actual or alleged intellectual property infringement. In
165
- order to qualify, an Indemnified Contributor must: a) promptly notify
166
- the Commercial Contributor in writing of such claim, and b) allow the
167
- Commercial Contributor to control, and cooperate with the Commercial
168
- Contributor in, the defense and any related settlement negotiations. The
169
- Indemnified Contributor may participate in any such claim at its own
170
- expense.</p>
171
-
172
- <p>For example, a Contributor might include the Program in a commercial
173
- product offering, Product X. That Contributor is then a Commercial
174
- Contributor. If that Commercial Contributor then makes performance
175
- claims, or offers warranties related to Product X, those performance
176
- claims and warranties are such Commercial Contributor's responsibility
177
- alone. Under this section, the Commercial Contributor would have to
178
- defend claims against the other Contributors related to those
179
- performance claims and warranties, and if a court requires any other
180
- Contributor to pay any damages as a result, the Commercial Contributor
181
- must pay those damages.</p>
182
-
183
- <p><b>5. NO WARRANTY</b></p>
184
-
185
- <p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
186
- PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
187
- OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
188
- ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
189
- OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
190
- responsible for determining the appropriateness of using and
191
- distributing the Program and assumes all risks associated with its
192
- exercise of rights under this Agreement , including but not limited to
193
- the risks and costs of program errors, compliance with applicable laws,
194
- damage to or loss of data, programs or equipment, and unavailability or
195
- interruption of operations.</p>
196
-
197
- <p><b>6. DISCLAIMER OF LIABILITY</b></p>
198
-
199
- <p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
200
- NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
201
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
202
- WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
203
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
204
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
205
- DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
206
- HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
207
-
208
- <p><b>7. GENERAL</b></p>
209
-
210
- <p>If any provision of this Agreement is invalid or unenforceable under
211
- applicable law, it shall not affect the validity or enforceability of
212
- the remainder of the terms of this Agreement, and without further action
213
- by the parties hereto, such provision shall be reformed to the minimum
214
- extent necessary to make such provision valid and enforceable.</p>
215
-
216
- <p>If Recipient institutes patent litigation against any entity
217
- (including a cross-claim or counterclaim in a lawsuit) alleging that the
218
- Program itself (excluding combinations of the Program with other
219
- software or hardware) infringes such Recipient's patent(s), then such
220
- Recipient's rights granted under Section 2(b) shall terminate as of the
221
- date such litigation is filed.</p>
222
-
223
- <p>All Recipient's rights under this Agreement shall terminate if it
224
- fails to comply with any of the material terms or conditions of this
225
- Agreement and does not cure such failure in a reasonable period of time
226
- after becoming aware of such noncompliance. If all Recipient's rights
227
- under this Agreement terminate, Recipient agrees to cease use and
228
- distribution of the Program as soon as reasonably practicable. However,
229
- Recipient's obligations under this Agreement and any licenses granted by
230
- Recipient relating to the Program shall continue and survive.</p>
231
-
232
- <p>Everyone is permitted to copy and distribute copies of this
233
- Agreement, but in order to avoid inconsistency the Agreement is
234
- copyrighted and may only be modified in the following manner. The
235
- Agreement Steward reserves the right to publish new versions (including
236
- revisions) of this Agreement from time to time. No one other than the
237
- Agreement Steward has the right to modify this Agreement. The Eclipse
238
- Foundation is the initial Agreement Steward. The Eclipse Foundation may
239
- assign the responsibility to serve as the Agreement Steward to a
240
- suitable separate entity. Each new version of the Agreement will be
241
- given a distinguishing version number. The Program (including
242
- Contributions) may always be distributed subject to the version of the
243
- Agreement under which it was received. In addition, after a new version
244
- of the Agreement is published, Contributor may elect to distribute the
245
- Program (including its Contributions) under the new version. Except as
246
- expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
247
- rights or licenses to the intellectual property of any Contributor under
248
- this Agreement, whether expressly, by implication, estoppel or
249
- otherwise. All rights in the Program not expressly granted under this
250
- Agreement are reserved.</p>
251
-
252
- <p>This Agreement is governed by the laws of the State of New York and
253
- the intellectual property laws of the United States of America. No party
254
- to this Agreement will bring a legal action under this Agreement more
255
- than one year after the cause of action arose. Each party waives its
256
- rights to a jury trial in any resulting litigation.</p>
257
-
258
- </body></html>
259
-
Binary file
@@ -1,3 +0,0 @@
1
- # By default do not log anything
2
- #
3
- log4j.rootLogger=OFF
Binary file