Deployment not active CMAKE

Answered

Hello!

CLION 2021.2.3 Cmake remote project over sftp

Remote build works fine and file transfer log :

```

[25.10.2021, 19:51] Automatic upload
[25.10.2021, 19:51] Upload file '/JetBrain/untitled3/cmake-build-debug/CMakeFiles/clion-log.txt' to '/home/root/JetBrain/cmake-build-debug/CMakeFiles/clion-log.txt'
[25.10.2021, 19:51] Upload file '/JetBrain/untitled3/cmake-build-release/CMakeFiles/clion-log.txt' to '/home/root/JetBrain/cmake-build-release/CMakeFiles/clion-log.txt'
[25.10.2021, 19:51] Automatic upload completed in 202 ms: 2 files transferred (4.4 kbit/s)

 

```

But I can't download binary files from remote and deployment is not active:

everything worked before

3 comments
Comment actions Permalink

Hello!

Please open the Remote Hosts tool window (View | Tool Windows | Remote Hosts), select the required file and choose "Download from here" from the context menu of the selection. Does it work?

0
Comment actions Permalink

If I choose my create folder in project - deployment becomes active. If I choose  I generated folder like a "make-build- release" - deployment becomes deactivated.

If I open View | Tool Windows | Remote Hosts and choose "Download from here" on generated folder with BINARY file- in "File Transfer" window appears next text:

[25.10.2021, 20:18] Download from MKS remote host Release (de06bf4d-08dd-474a-b73f-6bb9ff6b74b0)
[25.10.2021, 20:18] Excluded path '/JetBrain/untitled3/cmake-build-release/prog/Makefile'
[25.10.2021, 20:18] 1 item excluded
[25.10.2021, 20:18] No files or folders found to process

0
Comment actions Permalink

Most probably this folder is excluded by default in File | Settings | Build, Execution, Deployment | Deployment > Excluded Paths Tab.

 
0

Please sign in to leave a comment.