From fdc6638b1c43740ef74c365927602b9c9e55a837 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Wed, 4 Nov 2009 09:49:58 -0500 Subject: Add more documentation to module --- Modules/FindJava.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake index 3f19921..7eb6d900c 100644 --- a/Modules/FindJava.cmake +++ b/Modules/FindJava.cmake @@ -13,6 +13,20 @@ # Java_VERSION_TWEAK = The tweak version of the package found (after '_') # 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 #============================================================================= # Copyright 2002-2009 Kitware, Inc. -- cgit v0.12