The commit to merge the generic-java branch has been made and is in review
right now. https://gerrit.iotivity.org/gerrit/#/c/14931/
There are not many code changes but the structural change is quite significant.
Directory organization changes:
`android` --> `java`
`android/android_api/jni` --> `java/jni`
`android/android_api/src` --> `java/common/src`
--> `java/iotivity-android/src`
--> `java/iotivity-linux/src`
`android/examples` --> `java/examples-android`
New directory:
`java/examples-java`
Other changes:
The jni code is no longer built using Android.mk build files. It is built using
scons.
Due to the folder reorganization there are changes to multiple build scripts to
address the new folder paths.
To build the generic-java code:
For Android:
No change. It builds using the same build instructions as before.
For Linux:
1. Specify JAVA_HOME environment variable with the path to the JDK. (i.e.
export JAVA_HOME=/usr/lib/jvm/java-1.8.0/)
2. scons BUILD_JAVA=ON #add any additional build options
The change is in review. I have no idea how long it will take till the it is
actually merged. I am happy for any feedback and questions.
George
From: iotivity-dev-bounces at lists.iotivity.org
[mailto:[email protected]] On Behalf Of Nash, George
Sent: Wednesday, November 30, 2016 10:24 AM
To: Durbha, Viswanath <durbha.viswanath at cognizant.com>; MATTIA ANTONINI
<mattia.antonini1 at studenti.unipr.it>
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Java IoTivity APIs for Linux
The generic-java branch has not merged into master yet. Due to some bugs on
the master branch we were not able to verify the work to a level we felt
comfortable merging yet.
I hope to have a merge commit really soon. I want it merged this week but it
may take longer. The change touches a lot of code.
Till then feel free to pull the generic-java branch. I merge master with the
branch weekly so it is never far behind the master branch.
George
From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at
lists.iotivity.org> [mailto:[email protected]] On Behalf
Of Durbha, Viswanath
Sent: Tuesday, November 29, 2016 8:08 AM
To: MATTIA ANTONINI <mattia.antonini1 at
studenti.unipr.it<mailto:mattia.antonini1 at studenti.unipr.it>>
Cc: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at
lists.iotivity.org>
Subject: Re: [dev] Java IoTivity APIs for Linux
Hi,
Recently I've seen the following message in the mailing list about the work
regarding a generic Java API work just completed and merged into master. Hope
this helps.
https://lists.iotivity.org/pipermail/iotivity-dev/2016-November/006083.html
Thanks,
Viswanath
On Tue, Nov 29, 2016 at 8:06 PM, MATTIA ANTONINI <mattia.antonini1 at
studenti.unipr.it<mailto:mattia.antonini1 at studenti.unipr.it>> wrote:
Hi All,
I have to work with IoTivity inside a java-based Linux application. Is it
officially supported? where can I find some information? or have I to write
some JNI glue code?
Cheers,
Mattia Antonini
_______________________________________________
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
--
Thanks and Regards,
Viswanath
https://socialtango.cognizant.com/profile/103771/about
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161202/0774ae88/attachment.html>