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

Keith Wall edited comment on PROTON-217 at 2/18/13 1:13 PM:
------------------------------------------------------------

Build system changed so that 'make install' installs all JARs (and shared 
objects) into the install tree.

The install locations are controlled by the following CMake variables:

JAVA_INSTALL_DIR  "Installation directory for all JARs except those using JNI"  
 (defaults to ${SHARE_INSTALL_DIR}/java)
JNI_INSTALL_DIR "Installation directory for all JARs utilising JNI" (defaults 
to ${LIB_INSTALL_DIR}/java)
JNI_SHARED_LIB_INSTALL_DIR "Installation directory for shared objects used by 
JNI JARs" (defaults to ${LIB_INSTALL_DIR})

Variables default values are based on the fundamental install variables 
SHARE_INSTALL_DIR and LIB_INSTALL_DIR, so any change to the install prefix will 
be incorporated automatically.
                
      was (Author: k-wall):
    CMakeLists.txts have been enhanced to install the JARs and shared-objects 
resulting from the build.  All install locations are override-able at build 
time using -D arguments (or via the edit_cache).

The following variables are used:

JAVA_INSTALL_DIR  "Installation directory for all JARs except those using JNI"
JNI_INSTALL_DIR "Installation directory for all JARs utilising JNI"
JNI_SHARED_LIB_INSTALL_DIR "Installation directory for shared objects used by 
JNI JARs"


                  
> cmake build system should include "install" target for Java binaries
> --------------------------------------------------------------------
>
>                 Key: PROTON-217
>                 URL: https://issues.apache.org/jira/browse/PROTON-217
>             Project: Qpid Proton
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Philip Harvey
>            Assignee: Philip Harvey
>            Priority: Minor
>             Fix For: 0.4
>
>
> The cmake build system was recently modified in PROTON-194 to include 
> compilation of the Java artefacts.  However, we don't yet have a target to 
> install them.  
> Further discussion is required to decide where they should be installed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to