Sysprogs forums › Forums › VisualGDB › Exclude specific folders
- This topic has 9 replies, 4 voices, and was last updated 6 years, 3 months ago by yurik.
-
AuthorPosts
-
September 14, 2014 at 09:23 #800AnonymousParticipant
Hi,
I’m trying out VisualGDB-4.2r4 for a small open source project that I’ve checkout out from Git. The problem I have is that no matter what I do I either have to transfer the whole project including .git folder! or only folders get submitted.
I have attached the settings I have now.
Basically I can only exclude files in the ‘Files to transfer’ dialog, but if I use the exclude some folders feature then only the selected folders get submitted, not the files under root. There is no way I have found to properly transfer my files and have VisualGDB detect things have changed without also sending my .git directory.Any ideas?
P.S. using a shared folder does work, but then when I debug visual studio opens a new read-only version of the file with the breakpoint which is less than ideal.
January 15, 2018 at 08:37 #13447kurtParticipantIs there an option to select “Include all directories”, but then add an “Except for these folders” exclusion option?
My scenario is similar to the OP’s, where I want to include everything except for “.git” and one other personal folder. The exclude list is a minority, so it is a hassle to check every folder using “Included selected directories only”, especially when the project is very big.
January 16, 2018 at 00:17 #13466supportKeymasterHi,
VisualGDB 4.2 is more than 3 years old and is naturally missing many usability features. Please install the latest VisualGDB 5.3 – it allows excluding specific subdirectories using the ‘-‘ syntax, e.g.:
-.git;*
This syntax will recursively upload all files from all directories, automatically skipping over .git (and its subdirectories).
August 11, 2018 at 00:41 #21643yurikParticipantHi,
I have VisualGDB 5.3R8… and it seems that it still doesn’t work =(
For example, in my source tree there is folder ‘.builds’. I tried options ‘*;-.builds’ and ‘-.builds;*’, but in all cases VisualGDB transferred all files from the source tree to the remote machine without exceptions.
August 11, 2018 at 23:57 #21652supportKeymasterHi,
Strange. Would you be able to create a basic repro project and send it to us? That should be the easiest way for us to see what is going on.
August 13, 2018 at 15:13 #21660yurikParticipantThanks for response! I prepared small CMake project and then imported it using VisualGDB. The result in the attachment (password: vgdb). As you can see, the directory ‘.builds’ was transferred to the remote machine.
Attachments:
You must be logged in to view attached files.August 13, 2018 at 19:03 #21664supportKeymasterHi,
Thanks for the repro project. It looks like you are trying to exclude a directory using the mask for files.
Instead please choose “include selected subdirectories only” and select all subdirectories instead of .build.
We are also working on an improved file transfer engine that will allow specifying more complex rules instead of the current files/directories settings, so feel free to get check back in a few weeks and try the next preview build once we release it.
August 13, 2018 at 22:10 #21667yurikParticipantWell, now I see. The problem is that you can not choose “include selected subdirectories only” in the appropriate wizard, there is just no such option =)
Screenshot of the wizard window in the attachment. This option becomes available only for existing projects in the settings window.
Attachments:
You must be logged in to view attached files.August 13, 2018 at 22:16 #21669supportKeymasterHi,
No problem. We will consider updating the wizard controls as a part of introducing the new transfer engine.
August 13, 2018 at 22:26 #21670yurikParticipantThe wizard immediately downloads files, so it’s not obvious that there are more options available.
Thanks for the help!
-
AuthorPosts
- You must be logged in to reply to this topic.