View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015936 | CMake | Modules | public | 2016-01-26 06:50 | 2016-06-10 14:21 | ||||
Reporter | Erik Hanspers | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | CMake 3.5 | Fixed in Version | CMake 3.5 | ||||||
Summary | 0015936: UseJava add_jar incorrect documentation for target property | ||||||||
Description | The UseJava module documents a CLASS_DIR target property being set. The code actually sets a property CLASSDIR, without the underscore. | ||||||||
Steps To Reproduce | add_jar(foo SOURCES blah.java) get_target_property(foo_classdir foo CLASS_DIR) -> not set get_target_property(foo_classdir foo CLASSIER) -> we got the path! | ||||||||
Additional Information | Suggest revising documentation not to break currently successful use of the CLASSDIR property. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040325) Erik Hanspers (reporter) 2016-01-26 06:53 |
In the steps to reproduce my spelling correction helpfully suggested CLASSIER, where I wanted CLASSDIR which would've been the correct and working example. Sorry 'bout that. |
(0040326) Brad King (manager) 2016-01-26 09:35 |
Thanks for pointing this out. Fixed: UseJava: Fix documented name of `CLASSDIR` property https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1053db7b [^] |
(0041275) Kitware Robot (administrator) 2016-06-10 14:21 |
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-26 06:50 | Erik Hanspers | New Issue | |
2016-01-26 06:53 | Erik Hanspers | Note Added: 0040325 | |
2016-01-26 09:35 | Brad King | Note Added: 0040326 | |
2016-01-26 09:35 | Brad King | Assigned To | => Brad King |
2016-01-26 09:35 | Brad King | Status | new => resolved |
2016-01-26 09:35 | Brad King | Resolution | open => fixed |
2016-01-26 09:35 | Brad King | Fixed in Version | => CMake 3.5 |
2016-01-26 09:35 | Brad King | Target Version | => CMake 3.5 |
2016-06-10 14:21 | Kitware Robot | Note Added: 0041275 | |
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |