View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016001 | CMake | CMake | public | 2016-03-02 08:58 | 2016-06-10 14:31 | ||||
Reporter | Bartosz | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | All | OS | All | OS Version | All | ||||
Product Version | CMake 3.4.3 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016001: "cmake -E copy_directory" do not display error when directory to copy is not exists | ||||||||
Description | "cmake -E copy_directory" do not display error when directory to copy is not exists | ||||||||
Steps To Reproduce | Run Command and make sure that "dupa" directory is not exists: cmake -E copy_directory dupa target Currently: The copy_directory command will silently ignore, that "dupa" directory is not exists. Directory "target" will be created if not exists. Expected: Currently: The copy_directory command should display error, that "dupa" directory is not exists. Directory "target" will be created if not exists. | ||||||||
Additional Information | Confirmed on Cmake 3.5.0rc3 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040587) Bartosz (reporter) 2016-03-02 08:59 |
I would like to fix that. Please confirm if it is expected behaviour. |
(0040638) Brad King (manager) 2016-03-07 11:30 |
Yes, we should diagnose this and update the test suite to cover it. |
(0040654) Bartosz (reporter) 2016-03-09 09:51 |
Do we need to introduce new Policy (CMP) if we start implementing that? |
(0040655) Brad King (manager) 2016-03-09 09:53 |
Unfortunately policies do not help with command-line tool behavior because there is no scope in which to set the policy. Let's just change the behavior. If it breaks something important we can convert it to a warning instead. Please include a Help/release/dev/*.rst file with a release note calling attention to the behavior change. |
(0042953) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. 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-03-02 08:58 | Bartosz | New Issue | |
2016-03-02 08:59 | Bartosz | Note Added: 0040587 | |
2016-03-07 11:30 | Brad King | Note Added: 0040638 | |
2016-03-09 09:51 | Bartosz | Note Added: 0040654 | |
2016-03-09 09:53 | Brad King | Note Added: 0040655 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042953 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |