On Wed, May 4, 2016 at 3:58 AM, Eftime, Petre P <petre.p.eftime at intel.com> wrote:
> Hi, > > My changes already include a working SimpleClient/SimpleServer working > with Java Bindings, you should be able to compile them by running > ./auto_build.sh linux_unsecured_with_java > on the latest patch in the change. To run the simpleclient you will need > to run these commands in the root iotivity folder, assuming you have not > changed the output folder: > export > LD_LIBRARY_PATH=$(pwd)/out/linux/x86_64/debug/:$LD_LIBRARY_PATH > java -cp > java/examples-java/simpleclient/build/libs/simpleclient.jar:java/iotivity-linux/build/libs/iotivity-linux.jar > org.iotivity.base.examples.SimpleClient > What I could use help with is removing the dependency on Android from the > other examples in java/examples-java. Hi Petre, If you still need help with this I have some time. The problem is I can't get the compile to work (see my other messages). I started by checking out the source from gerrit, then I checked out the generic-java branch, but it does not include your changes in https://gerrit.iotivity.org/gerrit/#/c/7895/ . So I poked around and figured out how to get the change from Gerrit. At least I think I did, I ended up with your changes. But ./auto_build.sh linux_unsecured_with_java gives me AttributeError: 'SConsEnvironment' object has no attribute 'Download': ... File "/home/gar/iotivity/iotivity/extlibs/android/gradle/SConscript", line 22: gradle_zip = env.Download('gradle2.2.1.zip', ' https://services.gradle.org/distributions/gradle-2.2.1-all.zip') If you (or anybody) could offer detailed instructions for building the generic-java version (for somebody unfamiliar with gerrit) I can get started on examples-java. Thanks, Gregg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160530/c16a805b/attachment.html>
