MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013568 | CMake | CMake | public | 2012-10-02 10:41 | 2016-06-10 14:31 |
Reporter | mefoster | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Linux | OS | Fedora | OS Version | 17 |
Product Version | CMake 2.8.9 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013568: Source-file extension magic in UseJava.cmake doesn't work as intended | ||||
Description | In UseJava.cmake, it appears that the intention is that if a jar/war/ear/sar file is included in the argument to ADD_JAR, it should be appended to the CLASSPATH: elseif (_JAVA_EXT MATCHES ".jar" OR _JAVA_EXT MATCHES ".war" OR _JAVA_EXT MATCHES ".ear" OR _JAVA_EXT MATCHES ".sar") list(APPEND CMAKE_JAVA_INCLUDE_PATH ${_JAVA_SOURCE_FILE}) However, this doesn't seem to be happening; the only way I can get jar files into the CLASSPATH is by explicitly setting CMAKE_JAVA_INCLUDE_PATH myself before the ADD_JAR command. | ||||
Steps To Reproduce | |||||
Additional Information | This is with cmake-2.8.9-1.fc18.x86_64 on Fedora 17 (I installed the F18 development version of cmake to get the latest Java macros). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-10-02 10:41 | mefoster | New Issue | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042128 | |||
2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|