Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Export/Import all sources in UDL format for ISC Caché 2016

License

NotificationsYou must be signed in to change notification settings

doublefint/cache-udl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Export/Import sources in UDL format forISC Caché 2016.2

Installation

Download code and run

do $System.OBJ.ImportDir("/dir/cache-udl","*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","ck",,1)

orimport therelease to the namespace.

Map sc package to %All namespace to make it visible in any namespace.

Usage

Setup working directory ( optional )

NS> w ##class(sc.code).workdir("/path/to/your/working/directory/")

Export to working directory:

NS> d ##class(sc.code).export()

Import:

NS> d ##class(sc.code).import()

Compile and Release:

Introduce cos.json file in the source root directory with settings for the code mask and for the name of the project. e.g.

cos.json "compileList": "Classes*.INC,classes*.CLS,*.DFI", "projectName": "myproject"

Run init method to initialize project settings:

NS> d ##class(sc.code).init()

Then run release to export all the classes in comileList into one "myproject.xml" release file. It will export it into the default for current Namespace directory.

NS> d ##class(sc.code).release()

Or compile it whenever you want to compile all the proejct related resources.

NS> d ##class(sc.code).compile()

[8]ページ先頭

©2009-2025 Movatter.jp