ExportUDL adds extra line at the end of class
Hi,
so we introduced GIT in our workflow and we exported all files with $SYSTEM.OBJ.ExportUDL
Everything fine so far. But for some reason the export adds an extra line for classes (Routines are OK as far as I can see):
.png)
On Serverside it isn't there
.png)
The Problem is now that when we checkout a branch and a class changed we automatically compile it from the repository to a namespace that is made for the developer. E.g. DEV_001, DEV_002 and so on.
Now when the class get's compiled the objectscript plugin replaces the local version with the version that the server compiled, so the last line get's removed. And now GIT says there is a change in the file:
.png)
Discarding the change in GIT
results in a new change in the file wich is detected by the plugin and starts a new compile. Again, the compile removes the last line. So we are in a loop.
What are we doing wrong here? Can't be working as intended.
Objectscript-Plugin Version 3.0.6
BR
Jochen
Comments
@Jochen Roese This is a known bug in ExportUDL() that has been fixed in IRIS 2024.1.2+ and 2024.2+. You can work around this by solely using VS Code instead of mixing in ExportUDL(). VS Code does not have the bug.
Thank you. I thought im stupid because I introduced GIT in another company and we didnt had that bug.
Now I need to find a way to fix it in the repo without cousing too much trouble