- Device Connectivity Guide for Oracle Fusion Cloud IoT Intelligent Applications
- Develop Device Software Using the Client Software Libraries
- Use the Java SE Client Software Libraries
- Build the Java SE Client Software Libraries
Build the Java SE Client Software Libraries
Build the client software libraries from the downloaded source files to customize the functionality of the libraries and change the size of the library JAR files.
- Download and install Gradle. Versions 2.2.1 to 2.13 are supported.
- Download and unzip
iotcs-csl-javase-src-<VERSION>.zip. - Open a command prompt and use the
cdcommand to browse toiotcs/csl/javase. - If your computer is on a Virtual Private Network, or behind a firewall:
- Open the
gradle.propertiesfile, located in the Gradle user home directory and add these lines:systemProp.http.proxyHost=<your_proxy_server.com> systemProp.http.proxyPort=<your_proxy_port> systemProp.https.proxyHost=<your_proxy_server.com> systemProp.https.proxyPort=<your_proxy_port>The default value for the Gradle user home directory isUSER_HOME/.gradle. To use a different directory, set theGRADLE_USER_HOMEenvironment variable. - Save your changes and close the
gradle.propertiesfile.
- Open the
- Run one of these commands to build the Client Software Libraries and documentation:
Command Description gradleBuilds the device-library.jarandenterprise-library.jarlibrary files and places them in thebuild/libsfolder.gradle deviceClientJarCompiles the code specific to a device client and creates build/libs/device-library.jargradle enterpriseClientJarCompiles the code specific to an enterprise client and creates build/libs/enterprise-library.jargradle —PWITH_VIRTUALIZATION=falseCompiles the code specific to a device client without virtualization support. This reduces the size of the device-library.jargradle -PWITH_ENUMERATION=falseCompiles the code specific to an enterprise client without resource and message enumeration support. This reduces the size of the enterprise-library.jarfile.gradle docGenerates the javadoc files and places them in the build/docsfolder.