Synchronization not working for version 1.3.6

Here you can discuss the universal Integrated Development Environment for OpenVMS
Post Reply

Topic author
cgoodwin
Contributor
Posts: 15
Joined: Wed Aug 21, 2019 8:43 am
Reputation: 0
Status: Offline

Synchronization not working for version 1.3.6

Post by cgoodwin » Thu Dec 19, 2019 11:09 am

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.


sergey_vorfolomeev
VSI Expert
Active Contributor
Posts: 29
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Synchronization not working for version 1.3.6

Post by sergey_vorfolomeev » Thu Dec 26, 2019 2:35 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.


Topic author
cgoodwin
Contributor
Posts: 15
Joined: Wed Aug 21, 2019 8:43 am
Reputation: 0
Status: Offline

Re: Synchronization not working for version 1.3.6

Post by cgoodwin » Fri Dec 27, 2019 7:33 am

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": ""


sergey_vorfolomeev
VSI Expert
Active Contributor
Posts: 29
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Synchronization not working for version 1.3.6

Post by sergey_vorfolomeev » Thu Jan 09, 2020 12:04 am

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


astroid
Visitor
Posts: 2
Joined: Fri Jan 10, 2020 7:03 am
Reputation: 0
Status: Offline

Re: Synchronization not working for version 1.3.6

Post by astroid » Tue Jan 14, 2020 4:04 am

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.

Post Reply