View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015936CMakeModulespublic2016-01-26 06:502016-06-10 14:21
ReporterErik Hanspers 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 3.5Fixed in VersionCMake 3.5 
Summary0015936: UseJava add_jar incorrect documentation for target property
DescriptionThe UseJava module documents a CLASS_DIR target property being set. The code actually sets a property CLASSDIR, without the underscore.
Steps To Reproduceadd_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 InformationSuggest revising documentation not to break currently successful use of the CLASSDIR property.
TagsNo tags attached.
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team