int-test mqtt <-> prediction
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
REDISTRIBUTION
|
||||
--------------
|
||||
|
||||
This binary distribution contains the below components.
|
||||
|
||||
Required components:
|
||||
|
||||
The following components are required. JCEF will not function without them.
|
||||
|
||||
* Java archives.
|
||||
jcef.jar
|
||||
gluegen-rt.jar
|
||||
gluegen-rt-natives-linux-amd64.jar
|
||||
jogl-all.jar
|
||||
jogl-all-natives-linux-amd64.jar
|
||||
|
||||
* CEF JNI library.
|
||||
libjcef.so
|
||||
|
||||
* CEF JNI process helper.
|
||||
jcef_helper
|
||||
|
||||
* CEF core library.
|
||||
* libcef.so
|
||||
|
||||
* Unicode support data.
|
||||
* icudtl.dat
|
||||
|
||||
* V8 snapshot data.
|
||||
* natives_blob.bin
|
||||
* snapshot_blob.bin
|
||||
|
||||
Optional components:
|
||||
|
||||
The following components are optional. If they are missing JCEF will continue to
|
||||
run but any related functionality may become broken or disabled.
|
||||
|
||||
* Localized resources.
|
||||
Locale file loading can be disabled completely using
|
||||
CefSettings.pack_loading_disabled. The locales directory path can be
|
||||
customized using CefSettings.locales_dir_path.
|
||||
|
||||
* locales/
|
||||
Directory containing localized resources used by CEF, Chromium and Blink. A
|
||||
.pak file is loaded from this directory based on the value of environment
|
||||
variables which are read with the following precedence order: LANGUAGE,
|
||||
LC_ALL, LC_MESSAGES and LANG. Only configured locales need to be
|
||||
distributed. If no locale is configured the default locale of "en-US" will
|
||||
be used. Without these files arbitrary Web components may display
|
||||
incorrectly.
|
||||
|
||||
* Other resources.
|
||||
Pack file loading can be disabled completely using
|
||||
CefSettings.pack_loading_disabled. The resources directory path can be
|
||||
customized using CefSettings.resources_dir_path.
|
||||
|
||||
* cef.pak
|
||||
* cef_100_percent.pak
|
||||
* cef_200_percent.pak
|
||||
These files contain non-localized resources used by CEF, Chromium and Blink.
|
||||
Without these files arbitrary Web components may display incorrectly.
|
||||
|
||||
* cef_extensions.pak
|
||||
This file contains non-localized resources required for extension loading.
|
||||
Pass the `--disable-extensions` command-line flag to disable use of this
|
||||
file. Without this file components that depend on the extension system,
|
||||
such as the PDF viewer, will not function.
|
||||
|
||||
* devtools_resources.pak
|
||||
This file contains non-localized resources required for Chrome Developer
|
||||
Tools. Without this file Chrome Developer Tools will not function.
|
||||
@@ -0,0 +1,20 @@
|
||||
CONTENTS
|
||||
--------
|
||||
|
||||
bin Contains Java archives, native library files and the MainFrame
|
||||
sample application.
|
||||
|
||||
docs Contains documentation for the org.cef package.
|
||||
|
||||
|
||||
USAGE
|
||||
-----
|
||||
|
||||
1. Install a 64-bit version of the Oracle Java 7 runtime.
|
||||
2. Execute the run.sh script to run the MainFrame sample application.
|
||||
3. Optionally recompile the sample application and update jcef-tests.jar
|
||||
by running the compile.sh script.
|
||||
|
||||
Please visit the JCEF Website for additional usage information.
|
||||
|
||||
https://github.com/chromiumembedded/java-cef
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights
|
||||
# reserved. Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file.
|
||||
|
||||
# Determine the absolute path to the current directory.
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
BIN_DIR="${DIR}/bin"
|
||||
|
||||
# Compile the test program.
|
||||
javac -cp "${BIN_DIR}:${BIN_DIR}/*" "${BIN_DIR}"/tests/detailed/*.java "${BIN_DIR}"/tests/detailed/dialog/*.java "${BIN_DIR}"/tests/detailed/handler/*.java "${BIN_DIR}"/tests/detailed/ui/*.java "${BIN_DIR}"/tests/simple/*.java
|
||||
|
||||
# Create the test JAR file.
|
||||
jar -cf "${BIN_DIR}"/jcef-tests.jar -C "${BIN_DIR}" tests
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
||||
# reserved. Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file.
|
||||
|
||||
# Determine the absolute path to the current directory.
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
LIB_PATH="$DIR/bin/lib/linux64"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
EXAMPLE="detailed"
|
||||
else
|
||||
EXAMPLE="$1"
|
||||
fi
|
||||
|
||||
# Necessary for libjcef.so to find libjawt.so.
|
||||
JAVA_PATH="$(readlink -f $(which java))"
|
||||
JAVA_LIB_PATH="$(dirname ${JAVA_PATH})/../lib"
|
||||
if [ ! -d "$JAVA_LIB_PATH" ]; then
|
||||
echo "ERROR: Java lib path does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LIB_PATH="${LIB_PATH}:${JAVA_LIB_PATH}"
|
||||
|
||||
# Necessary for jcef_helper to find libcef.so.
|
||||
if [ -n "$LD_LIBRARY_PATH" ]; then
|
||||
LD_LIBRARY_PATH="$LIB_PATH:${LD_LIBRARY_PATH}"
|
||||
else
|
||||
LD_LIBRARY_PATH="$LIB_PATH"
|
||||
fi
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
# Preload libcef.so to avoid crashes.
|
||||
LD_PRELOAD=libcef.so java -cp "${DIR}/bin:${DIR}/bin/*" -Djava.library.path="$LIB_PATH" tests.${EXAMPLE}.MainFrame "$@"
|
||||
Reference in New Issue
Block a user