Page 1 of 1

Synchronization not working for version 1.3.6

Posted: Thu Dec 19, 2019 11:09 am
by cgoodwin
Between version 1.3.5 and 1.3.6, synchronization has broken. When I execute a synchronization, the status in the lower left status bar updates as if it is working (shows the number of files and all), but then it just displays in my Ouput window "Synchronization [ok]". It doesn't tell me it downloaded any of my files (and when I check the directory, none of the files are downloaded. Downgrading to version 1.3.5 fixes the issue.

Re: Synchronization not working for version 1.3.6

Posted: Thu Dec 26, 2019 2:35 am
by sergey_vorfolomeev
Strange.
May be files are already the same?
If no files downloaded from VMS side, check this setting (vmssoftware.synchronizer-settings.json):

Code: Select all

"synchronize": {
        "downloadNewFiles": "overwrite",
Must not be "skip".

Added in 2 minutes 58 seconds:
Also, can you show me the file masks? Glob mask handling has been changed.

Re: Synchronization not working for version 1.3.6

Posted: Fri Dec 27, 2019 7:33 am
by cgoodwin
sergey_vorfolomeev wrote:
Thu Dec 26, 2019 2:38 am
Strange.
May be files are already the same?
If no files downloaded from VMS side, check this setting (vmssoftware.synchronizer-settings.json):

Code: Select all

"synchronize": {
        "downloadNewFiles": "overwrite",
Must not be "skip".

Added in 2 minutes 58 seconds:
Also, can you show me the file masks? Glob mask handling has been changed.
The setting is set to overwrite; and I do quite a bit of odd masking, so that may make sense if masking changed. Here's how I do my masking:

Code: Select all

	"break": "C",
        "builders": "builderpath/*.com",
        "exclude": "**/{.vscode}/**",
        "headers": "",
        "listing": "lis/*.lis,obj/*.map",
        "outdir": ".",
        "projectName": "ProjectName",
        "projectType": "executable",
        "resource": "**/resource/**",
        "root": "../my/rootpath",
        "source": "sourcepath/**",
        "addLibraries": "",
        "addIncludes": ""

Re: Synchronization not working for version 1.3.6

Posted: Thu Jan 09, 2020 12:04 am
by sergey_vorfolomeev
Hi
Sorry for late answer, I was on holidays
  • "root": "../my/rootpath" is incorrect, because "root - Directory of the project on the remote OpenVMS machine in UNIX format relative to the home folder." so you cannot point out of your home directory
  • "outdir": "." is incorrect too. it is supposed to be a folder for all output files. "outdir - Output directory where object, listing and executable files will be stored when built. Is also used for temporary files. NOTE: Should be only the name of the folder, not a full or relative path." but if you are using own build procedure it is not big matter
* bold text is copied from https://wiki.vmssoftware.com/Project_Settings

Re: Synchronization not working for version 1.3.6

Posted: Tue Jan 14, 2020 4:04 am
by astroid
It's a bit tricky to get it working and the wiki could use a more complete setup guide. Was thinking of creating one but am myself stuck at trying to get debugging working/creating a compilation script since I need to precompile with oracle rdp sql.