You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/01/24 17:33:00 UTC

[jira] [Resolved] (THRIFT-4178) Java libraries missing from package when using cmake

     [ https://issues.apache.org/jira/browse/THRIFT-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III resolved THRIFT-4178.
----------------------------------------
       Resolution: Fixed
         Assignee: James E. King, III
    Fix Version/s: 0.12.0

Resolved by commit 7004a61e44fe538805b44c3fb66bd5cb872548d4.

> Java libraries missing from package when using cmake
> ----------------------------------------------------
>
>                 Key: THRIFT-4178
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4178
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process, Java - Library
>            Reporter: Arnaud Lacombe
>            Assignee: James E. King, III
>            Priority: Major
>             Fix For: 0.12.0
>
>
> The CMake infrastructure fails to include the java libraries in the generated package. Instead, the libraries are wrongly installed on the build host. The problem is likely due to the following line:
> lib/java/CMakeLists.txt:
> {noformat}
>     [...]
>     # Hook the ant install task into CMake install                                                                                                                                                                  
>     install(CODE "execute_process(
>         COMMAND ${Ant_EXECUTABLE} ${ANT_FLAGS} install                                                                                                                                                              
>         -Dbuild.dir=\"${CMAKE_CURRENT_BINARY_DIR}\"
>         -Dinstall.path=\"${JAVA_INSTALL_DIR}\" -Dinstall.javadoc.path=\"${JAVA_DOC_INSTALL_DIR}\" -f build.xml
>         WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}                                                                                                                                                               
>     )")
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)