Merge lp:~zorba-coders/zorba/bug1068323 into lp:zorba

Proposed by Rodolfo Ochoa
Status: Merged
Approved by: Chris Hillery
Approved revision: 11102
Merged at revision: 11108
Proposed branch: lp:~zorba-coders/zorba/bug1068323
Merge into: lp:zorba
Diff against target: 38 lines (+5/-6)
1 file modified
swig/java/CMakeLists.txt (+5/-6)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug1068323
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Juan Zacarias Approve
Review via email: mp+130434@code.launchpad.net

Commit message

This is working on linux very well, seems that cmake don't like quoted variables or file variables if they doesn't exist yet.

Description of the change

Fix for Linux installer

To post a comment you must log in.
Revision history for this message
Juan Zacarias (juan457) :
review: Approve
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug1068323-2012-10-24T08-58-48.013Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'swig/java/CMakeLists.txt'
--- swig/java/CMakeLists.txt 2012-09-19 21:16:15 +0000
+++ swig/java/CMakeLists.txt 2012-10-18 21:37:20 +0000
@@ -75,29 +75,28 @@
75 SET (JAVA_SITEARCH_DIR ${CMAKE_INSTALL_PREFIX}/share/java)75 SET (JAVA_SITEARCH_DIR ${CMAKE_INSTALL_PREFIX}/share/java)
76 ENDIF (${CMAKE_INSTALL_PREFIX} EQUAL "/usr/local")76 ENDIF (${CMAKE_INSTALL_PREFIX} EQUAL "/usr/local")
7777
78 FILE(GLOB JAVA_SWIG_FILES "${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar")78 SET(ZORBA_JAVA_JAR ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar PARENT_SCOPE )
79 SET(ZORBA_JAVA_JAR "${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar" PARENT_SCOPE )
8079
81 IF ( APPLE )80 IF ( APPLE )
82 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ZORBA_SWIG_LIB_PREFIX}libzorba_api.jnilib DESTINATION ${JAVA_SITEARCH_DIR})81 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ZORBA_SWIG_LIB_PREFIX}libzorba_api.jnilib DESTINATION ${JAVA_SITEARCH_DIR})
83 INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION ${JAVA_SITEARCH_DIR})82 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar DESTINATION ${JAVA_SITEARCH_DIR})
84 ELSE ( APPLE )83 ELSE ( APPLE )
85 IF(NOT WIN32)84 IF(NOT WIN32)
86 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzorba_api.so DESTINATION ${JAVA_SITEARCH_DIR})85 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzorba_api.so DESTINATION ${JAVA_SITEARCH_DIR})
87 INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION ${JAVA_SITEARCH_DIR})86 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar DESTINATION ${JAVA_SITEARCH_DIR})
88 ELSE(NOT WIN32)87 ELSE(NOT WIN32)
89 IF (MSVC_IDE)88 IF (MSVC_IDE)
90 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/zorba_api.dll 89 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/zorba_api.dll
91 DESTINATION share/java90 DESTINATION share/java
92 COMPONENT "java_swig")91 COMPONENT "java_swig")
93 INSTALL(FILES ${JAVA_SWIG_FILES} 92 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar
94 DESTINATION share/java93 DESTINATION share/java
95 COMPONENT "java_swig")94 COMPONENT "java_swig")
96 ELSE (MSVC_IDE)95 ELSE (MSVC_IDE)
97 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.dll 96 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.dll
98 DESTINATION share/java97 DESTINATION share/java
99 COMPONENT "java_swig")98 COMPONENT "java_swig")
100 INSTALL(FILES ${JAVA_SWIG_FILES} 99 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zorba_api.jar
101 DESTINATION share/java100 DESTINATION share/java
102 COMPONENT "java_swig")101 COMPONENT "java_swig")
103 ENDIF (MSVC_IDE)102 ENDIF (MSVC_IDE)

Subscribers

People subscribed via source and target branches