IOT-2678 Change Java back to dynamic linking 37/22537/4
authorGeorge Nash <george.nash@intel.com>
Wed, 20 Sep 2017 19:32:12 +0000 (12:32 -0700)
committerRick Bell <richard.s.bell@intel.com>
Thu, 21 Sep 2017 16:46:40 +0000 (16:46 +0000)
commit60430d7ebdf457257d474b1c65b0ff452db1b9d7
tree4e5dfd6519ddadbdee0dfece04c6013f7690a2f7
parent9a1db64c6ec3b1046e206b16dcb8057e422ee8f5
IOT-2678 Change Java back to dynamic linking

Java was changed to use static linking for most of
the libraries. This was done to enable building Java
on Windows which does not contain the same dynamic
libraries as are avalible to Linux and Android.

See IOT-2405

Unfortanatly this change caused an issue in the Android
serivces. It caused multiple instances of the IoTivity
stack to be included in different libraries used by
the Android services.

This reverts the key elements of IOT-2405 without
reverting the entier change.

Relates-to: https://gerrit.iotivity.org/gerrit/21061

This is being done till we can figure out how to
enable the build on windows so it does not cause
multiple copies of the oc stack.

Windows java will no longer build if this commit
is accepted. However, Android is considered a
higher priority OS when it comes to the Java
language.

Bug: https://jira.iotivity.org/browse/IOT-2678
Bug: https://jira.iotivity.org/browse/IOT-2405
Change-Id: I54e9e65b00a199151395542d9e4629cef4efe516
Signed-off-by: George Nash <george.nash@intel.com>
java/SConscript
java/common/src/main/java/org/iotivity/base/OcRepresentation.java
java/common/src/main/java/org/iotivity/base/OcResourceResponse.java
java/iotivity-android/src/main/java/org/iotivity/base/OcPlatform.java
java/iotivity-android/src/main/java/org/iotivity/ca/CaInterface.java
java/iotivity-java/src/main/java/org/iotivity/base/OcPlatform.java
java/jni/SConscript