VS Code Object Script - Problems Using Import and Compile or Import without Compilation
I checked out a Git-Branch and want to Import all Objectscript-Objects to my localhost.
While using Import without Compilation I receive a lot of errors.
request to http://127.0.0.1:57772/api/atelier/v3/TSTCBW/doc/MusLT01LCOD.int?ignoreC... failed, reason: connect ECONNREFUSED 127.0.0.1:57772
While using Import and Compile I receive much more of this errors.
Is there a setting, that I have to key in?
Or how can I synchronize my namespace to test my changes?
Product version: Caché 2018.1
$ZV: Cache for Windows (x86-64) 2018.1.2 (Build 309_5_19250U) Tue Sep 10 2019 10:49:14 EDT
How many files are you trying to import this way?
Unfortunately VSCode not so good for such a task, and even any editor.
In fact, the best way will be to do it directly with Caché. Just using $system.OBJ.LoadDir, will do it much better.
Bin dem Vorschlag $system. OBJ.LoadDir in Cache zu verwenden gefolgt und habe das im Server Command Menue eingebunden. Klappt sehr gut. Gibt es eine Möglichkeit, die Directory des Workspaces auszulesen?
VSCode and Cache server can be far from each other, on different machines, so, it’s not as easy to implement. And as I said, it’s not a task for VSCode, it’s mostly a deployment task, which have to be done separately.
@Andrea Schecker-Krauss do you also get ECONNREFUSED if you try to import a single file?
Nein, das ist wirklich ein Mengenproblem. Bei bis zu 20 Objekten keine Probleme.