+Trevor Bramwell (IoTivity Systems Admin) Trevor,
I believe that the services directory is not utilizing the extlibs directory when JAVA_HOME is not specified on the command line. If JAVA_HOME is not specified, then services directory should use IoTivity/extlibs/android/* (eg. IoTivity/extlibs/android/sdk/android-sdk_r24.2 after invoking IoTivity/extlibs/android/sdk/SConscript). Otherwise, the system environment variable "JAVA_HOME" (or sdk.dir in gradle.properties) should already have been set and is currently in use by Gradle in the resource directory. Harish Kumara M, Since these scons variables, gradle variables, and system environment variables work for the resource directory, please consider reviewing the SConscripts at the following locations: IoTivity/extlibs/android/sdk/SConscript IoTivity/extlibs/android/ndk/SConscript IoTivity/extlibs/android/gradle/SConscript IoTivity/android/android-api/ IoTivity/build_common/SConscript IoTivity/build_common/android/SConscript Since these are based out of the root of the repo and are not 'resource directory' specific, the 'service directory' should also be referencing the outputs of these SConscript to avoid redundancy within the IoTivity project. Thanks, Joey Morrow On Jul 30, 2015, at 11:11 PM, Harish Kumara Marappa <h.marappa at samsung.com<mailto:h.marappa at samsung.com>> wrote: Hi Erich, This mail is about Jenkins build failure occurred in change set https://gerrit.iotivity.org/gerrit/#/c/1986/ (simulator branch). We need support of Jenkins build system for resolving this error. As part of simulator project we need to build JNI files which are used in eclipse plugin project. Currently scons build environment does not provide JDK information while building IoTivity for Linux platform. In our local systems we are managing the building by passing JAVA_HOME=<path to jdk> for scons command, But the same code will failed to build in Jenkins as build system unaware of JDK information. Jenkins should invoke scons command with JAVA_HOME=<path to jdk> argument so that dependency on JNI will be resolved while building for Linux platform. command we are using for build is scons JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 Regards, Harish Kumara M +91-9008675643 [cid:Z5JE7EUABGFC at namo.co.kr] _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> https://lists.iotivity.org/mailman/listinfo/iotivity-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: 201507311140996_BEI0XT4N.gif Type: image/gif Size: 13168 bytes Desc: 201507311140996_BEI0XT4N.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150731/f948ed47/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201507311140996_BEI0XT4N.gif Type: image/gif Size: 13168 bytes Desc: 201507311140996_BEI0XT4N.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150731/f948ed47/attachment-0001.gif>
