Merge lp:~zorba-coders/zorba/install-symlink-jars into lp:zorba

Proposed by Chris Hillery
Status: Merged
Approved by: Chris Hillery
Approved revision: 11466
Merged at revision: 11466
Proposed branch: lp:~zorba-coders/zorba/install-symlink-jars
Merge into: lp:zorba
Diff against target: 16 lines (+5/-1)
1 file modified
cmake_modules/ZorbaModule.cmake (+5/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/install-symlink-jars
Reviewer Review Type Date Requested Status
Juan Zacarias Approve
Chris Hillery Approve
Review via email: mp+164993@code.launchpad.net

Commit message

If specified EXTERNAL jar is a symlink, install the target of the symlink.

To post a comment you must log in.
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Juan Zacarias (juan457) :
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 install-symlink-jars-2013-05-22T01-10-43.295Z 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 'cmake_modules/ZorbaModule.cmake'
--- cmake_modules/ZorbaModule.cmake 2013-03-28 01:00:17 +0000
+++ cmake_modules/ZorbaModule.cmake 2013-05-21 23:53:26 +0000
@@ -516,7 +516,11 @@
516 # Put absolute path into classpath file516 # Put absolute path into classpath file
517 FILE (APPEND "${_CP_FILE}" "${_jar_file}\n")517 FILE (APPEND "${_CP_FILE}" "${_jar_file}\n")
518 ELSE (JAR_EXTERNAL AND NOT ZORBA_PACKAGE_EXTERNAL_JARS)518 ELSE (JAR_EXTERNAL AND NOT ZORBA_PACKAGE_EXTERNAL_JARS)
519 # Copy jar to jars/ directory and add relative path to classpath file519 # Copy real jar (after following any symlinks) to jars/ directory
520 # and add relative path to classpath file
521 IF (IS_SYMLINK "${_jar_file}")
522 GET_FILENAME_COMPONENT (_jar_file "${_jar_file}" REALPATH)
523 ENDIF (IS_SYMLINK "${_jar_file}")
520 GET_FILENAME_COMPONENT (_output_filename "${_jar_file}" NAME)524 GET_FILENAME_COMPONENT (_output_filename "${_jar_file}" NAME)
521 ADD_COPY_RULE ("LIB" "${_jar_file}" "jars/${_output_filename}" "" 525 ADD_COPY_RULE ("LIB" "${_jar_file}" "jars/${_output_filename}" ""
522 "${JAR_TARGET}" 1 "${JAR_TEST_ONLY}")526 "${JAR_TARGET}" 1 "${JAR_TEST_ONLY}")

Subscribers

People subscribed via source and target branches