[ 
https://issues.apache.org/jira/browse/THRIFT-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333324#comment-16333324
 ] 

Alexander Volanis commented on THRIFT-4178:
-------------------------------------------

I think I now understand what your issue is. The package you are failing to 
mention is the result of running `make package` after using cmake to configure 
the software. The resulting Debian package is the problem. I confirmed that in 
my pending pull request for THRIFT-4259 the generated 
`thrift-1.0.0-dev-Linux.deb` does indeed contain the directories 
`/usr/local/share/doc/java` and `/usr/local/lib/java` populated as expected. I 
will be able to call this fixed once that pull request is accepted into master.

> 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
>            Priority: Major
>
> 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)

Reply via email to