Rustam Ibragimov · Aug 31, 2016 go to post

Amir, I have implemented UDL support in CacheGitHubCI. You can check it out. 

P.S. udl branch

Rustam Ibragimov · Aug 30, 2016 go to post

Just now I realized that dfi files are in XML format even though you export it in UDL. The only difference is that I don't have several tags such as <Export> and <Document> in UDL. So I think better way would be to search for <Export> tag.

Rustam Ibragimov · Aug 5, 2016 go to post

fileStream is of type %FileCharacterStream and rtn.Code is of type %CharacterStream

This is the code: 

set rtn = ##class(%RoutineMgr).%OpenId(fileName)
 
  // write content to file
set fileStream = ##class(%FileCharacterStream).%New()
set fileStream.Filename = fileLocation
set status = fileStream.CopyFromAndSave(rtn.Code)

Rustam Ibragimov · Jul 20, 2016 go to post

Where can find GetInternalName method? My class extends from %SYS.Task.Definition.

And probably the path to the class will be different from the real name of the class. For example, the path is abc/qwe/file.cls but the name of the class is cache.hello.cls

Rustam Ibragimov · Jul 20, 2016 go to post

The problem is that $system.OBJ.Load expects a file which is in xml, %ro and cdl formats. I get "Unknown file type" error for udl.