diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-24 16:34:59 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-24 16:34:59 -0400 |
commit | 74b3924eddc5ddeaa03ad5190f251ab3294c14ea (patch) | |
tree | 7e529a3898a04b9a9a87f529946e1bf7f1954dd8 /Tests/Java | |
parent | 4b87fdada45d66e92e83eb84b270bdecb5235fcf (diff) | |
download | cmake-74b3924eddc5ddeaa03ad5190f251ab3294c14ea.tar.gz |
try and get this java test to work
Diffstat (limited to 'Tests/Java')
-rw-r--r-- | Tests/Java/CMakeCheckJavaPath.java | 8 | ||||
-rw-r--r-- | Tests/Java/CMakeLists.txt | 8 |
2 files changed, 1 insertions, 15 deletions
diff --git a/Tests/Java/CMakeCheckJavaPath.java b/Tests/Java/CMakeCheckJavaPath.java deleted file mode 100644 index c838435972..0000000000 --- a/Tests/Java/CMakeCheckJavaPath.java +++ /dev/null @@ -1,8 +0,0 @@ -class CMakeCheckJavaPath -{ - public static void main(String args[]) - { - System.out.println(System.getProperty("sun.boot.class.path", "(none)")); - } -} - diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt index 8736b74690..8acfbb8987 100644 --- a/Tests/Java/CMakeLists.txt +++ b/Tests/Java/CMakeLists.txt @@ -2,13 +2,7 @@ PROJECT(hello Java) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(OLD_CUSTOM_COMMAND_WAY ) IF(NOT OLD_CUSTOM_COMMAND_WAY) - CONFIGURE_FILE(${hello_SOURCE_DIR}/CMakeCheckJavaPath.java - ${hello_BINARY_DIR}/CMakeCheckJavaPath.java IMMEDIATE) - EXEC_PROGRAM(${CMAKE_Java_COMPILER} ${hello_BINARY_DIR} - ARGS CMakeCheckJavaPath.java) - EXEC_PROGRAM(${CMAKE_Java_RUNTIME} ${hello_BINARY_DIR} - ARGS CMakeCheckJavaPath OUTPUT_VARIABLE OUT) - INCLUDE_DIRECTORIES(${hello_SOURCE_DIR} ${OUT} + INCLUDE_DIRECTORIES(${hello_SOURCE_DIR} ${hello_BINARY_DIR} ) ADD_LIBRARY(hello A.java HelloWorld.java) ENDIF(NOT OLD_CUSTOM_COMMAND_WAY) |