[Cmake-commits] [cmake-commits] malaterre committed FindJava.cmake 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Nov 4 09:50:01 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv13602

Modified Files:
	FindJava.cmake 
Log Message:
Add more documentation to module


Index: FindJava.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindJava.cmake,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** FindJava.cmake	4 Nov 2009 10:17:46 -0000	1.25
--- FindJava.cmake	4 Nov 2009 14:49:58 -0000	1.26
***************
*** 14,17 ****
--- 14,31 ----
  #  Java_VERSION            = This is set to: $major.$minor.$patch(.$tweak)
  #
+ # NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to be
+ # identical. For example some java version may return:
+ # Java_VERSION_STRING = 1.5.0_17
+ # and
+ # Java_VERSION        = 1.5.0.17
+ # 
+ # another example is the Java OEM, with:
+ # Java_VERSION_STRING = 1.6.0-oem
+ # and
+ # Java_VERSION        = 1.6.0
+ #
+ # NOTE: At the moment this script will look for javac and jar component,
+ # which means it will fail if javac or jar is not found.:w
+ # See Bug #9840
  
  #=============================================================================



More information about the Cmake-commits mailing list