diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-02-06 15:59:44 +0100 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-02-27 06:49:09 +0000 |
commit | 0d2e3e90f1758b03266e9f5934d11995d7b9a728 (patch) | |
tree | 4b578d7cf92ef0084c8fa25440dba12217ca9d5d /java/CMakeLists.txt | |
parent | 30fb245914274df31263867d8c3f041d1fc158a8 (diff) |
Jvpp requirements cleanup
- minor bugfixes
- cleanup
Change-Id: I8aeb2688415ee223ec9faeec6509d2c6999cc947
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r-- | java/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index bd590e2..701a65c 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -49,7 +49,7 @@ add_custom_command(TARGET jvpp-registry-classes COMMAND mkdir -p jvpp-registry/target COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/jvpp-registry COMMAND ${Java_JAVAC_EXECUTABLE} - ARGS -d ${CMAKE_CURRENT_SOURCE_DIR}/jvpp-registry/target -h jvpp-registry ${files} + ARGS -source 1.8 -target 1.8 -d ${CMAKE_CURRENT_SOURCE_DIR}/jvpp-registry/target -h jvpp-registry ${files} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) @@ -90,7 +90,7 @@ function(japigen name) ARGS --plugin_name ${name} --root_dir jvpp-${name} -i ${ARGN} COMMAND find jvpp-${name} -name \*.java > jvpp-${name}/jvpp-${name}.files COMMAND ${Java_JAVAC_EXECUTABLE} - ARGS -cp ${CMAKE_CURRENT_BINARY_DIR}/jvpp-registry-${JAPI_LIB_VERSION}.jar -d + ARGS -source 1.8 -target 1.8 -cp ${CMAKE_CURRENT_BINARY_DIR}/jvpp-registry-${JAPI_LIB_VERSION}.jar -d ${CMAKE_CURRENT_SOURCE_DIR}/jvpp-${name}/target -h jvpp-${name} @jvpp-${name}/jvpp-${name}.files WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} @@ -282,7 +282,7 @@ set(CPACK_PACKAGE_NAME "vpp-api-java") set(CPACK_PACKAGE_VERSION "${JVPP_VERSION}") set(CPACK_PACKAGE_SECTION net) set(CPACK_PACKAGE_VENDOR "Cisco") -set(CPACK_PACKAGE_CONTACT "hc2vpp@lists.fd.io") +set(CPACK_PACKAGE_CONTACT "jvpp-dev@lists.fd.io") set(CPACK_OUTPUT_FILE_PREFIX build-root/packages) set(CPACK_PACKAGE_FILE_NAME "vpp-api-java_${JVPP_VERSION}") if (${RELEASE_ID} IN_LIST DebianBasedOS) |