Skip to content

Commit

Permalink
Build changes and fixes for SnappyData 1.0 (TIBCOSoftware#312)
Browse files Browse the repository at this point in the history
- updated gradle to 3.5.1
- changed "provided" dependencies to compileOnly/testCompile as appropriate
- added copying of libgemfire*.so libraries to fix the UnsatisfiedLinkError
  that is always shown on server/lead startup; also copied to build outputs
  so IDEA runs will also be clean if "product" target has been run from command-line
  after a clean
- replaced fastutil by koloboke:
  - far leaner with its annotation based generated classes that are self-contained
    (18M for fastutil vs ~1.3M)
  - faster in benchmarks and more cacheline friendly structures (e.g. IntIntMap uses long array)
  - added couple of annotated interfaces IntObjectHashMap, ObjectLongHashMap
    with gradle-apt-plugin for cleaner compile-time support
  - updated NOTICE with the copyright information removing fastutil
- moved gemfire-joptsimple and gemfire-json into a new gemfire-util project
  that also includes the above koloboke classes
- corrected deprecation warnings from new gradle (<< replaced with doLast)
- updated gradle plugin versions to latest ones
- gradlew* script changes as from upstream release
  (as updated by ./gradlew wrapper --gradle-version 3.5.1)
- fixed a number of test failures and product issues (relevant issues to be closed with this merge)
- removed a check from NewLRUClockHand obsoleted by changes for SNAP-2012
  • Loading branch information
Sumedh Wale authored Oct 24, 2017
1 parent e5b98c2 commit df9a2fb
Show file tree
Hide file tree
Showing 140 changed files with 3,654 additions and 3,413 deletions.
32 changes: 15 additions & 17 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES

SECTION 2: Apache License, V2.0

>>> fastutil-6.6.1
>>> hadoop-common-2.4.0
>>> koloboke-1.0.0
>>> hadoop-common-2.7.3
>>> swagger-ui-2.0.17


Expand Down Expand Up @@ -191,24 +191,22 @@ Copyright (C) 2006-2009 Dustin Sallings
Apache License, V2.0 is applicable to the following component(s).


>>> fastutil-6.6.1
>>> koloboke-1.0.0

* Copyright (C) 2002-2014 Sebastiano Vigna
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


>>> hadoop-common-2.4.0
>>> hadoop-common-2.7.3

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ Some details on the directories in GemFire layout are mentioned below:

gemfire-shared/src/main/java ===> Code shared between GemFire and GemFireXD client.

gemfire-joptsimple/src/main/java ===> A copy of JOpt Simple adapted for GemFire.

gemfire-json/src/main/java ===> A copy of org.json adapted for GemFire.
gemfire-util/src/main/java ===> Utility classes including copy of JOpt Simple and org.json
adapted for GemFire.

gemfire-core/src/main/java ===> Core GemFire code.

Expand Down
Loading

0 comments on commit df9a2fb

Please sign in to comment.