Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: doublefint/cache-udl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.2
Choose a base ref
...
head repository: doublefint/cache-udl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 24, 2016

  1. Update README.md

    doublefint authored Nov 24, 2016
    Copy the full SHA
    003350c View commit details

Commits on Nov 28, 2016

  1. Copy the full SHA
    b8d67ba View commit details
  2. Copy the full SHA
    78ba86b View commit details

Commits on Jan 22, 2017

  1. Folder structure for classes

    Package.Name.cls->/Package/Name.cls
    evshvarov committed Jan 22, 2017
    Copy the full SHA
    bd96d22 View commit details
  2. Fixed directory scanning

    evshvarov committed Jan 22, 2017
    Copy the full SHA
    4f8d9ea View commit details
  3. Merge pull request #4 from intersystems-ru/master

    Folder structure for classes
    doublefint authored Jan 22, 2017
    Copy the full SHA
    14c600f View commit details
  4. rename project

    doublefint authored Jan 22, 2017
    Copy the full SHA
    0a97193 View commit details
  5. Update README.md

    doublefint authored Jan 22, 2017
    Copy the full SHA
    6b87325 View commit details

Commits on Jan 23, 2017

  1. move mkdir to export

    doublefint committed Jan 23, 2017
    Copy the full SHA
    4d9580f View commit details
  2. Copy the full SHA
    0dc7e2e View commit details
  3. Delete .DS_Store

    evshvarov authored Jan 23, 2017
    Copy the full SHA
    253771d View commit details
  4. Create .gitignore

    evshvarov authored Jan 23, 2017
    Copy the full SHA
    10b87f8 View commit details
  5. Copy the full SHA
    bdf8f33 View commit details
  6. Copy the full SHA
    2d05105 View commit details

Commits on Jan 26, 2017

  1. Fixed bug with importUpdated

    fixed codename to let codets expression be calculated properly
    evshvarov committed Jan 26, 2017
    Copy the full SHA
    b84bfed View commit details
  2. Copy the full SHA
    79f48b6 View commit details
  3. Merge pull request #5 from intersystems-ru/master

    Delete .DS_Store
    doublefint authored Jan 26, 2017
    Copy the full SHA
    8951e12 View commit details

Commits on Jan 31, 2017

  1. Copy the full SHA
    8b658a9 View commit details

Commits on Feb 7, 2017

  1. move to another project

    doublefint committed Feb 7, 2017
    Copy the full SHA
    e5998ca View commit details
  2. remove duplication

    doublefint committed Feb 7, 2017
    Copy the full SHA
    68a13da View commit details
  3. rebranding

    doublefint committed Feb 7, 2017
    Copy the full SHA
    fad0d3a View commit details
  4. fix readme

    doublefint committed Feb 7, 2017
    Copy the full SHA
    c3136b2 View commit details
  5. rename class

    doublefint committed Feb 7, 2017
    Copy the full SHA
    fa0501e View commit details
  6. fix doc

    doublefint committed Feb 7, 2017
    Copy the full SHA
    f56b6b5 View commit details

Commits on Apr 7, 2017

  1. Fixed error logging for importUpdated.

    Log beautifing
    evshvarov committed Apr 7, 2017
    Copy the full SHA
    30a9651 View commit details

Commits on Apr 8, 2017

  1. Merge pull request #11 from intersystems-ru/master

    Fixed error logging for importUpdated
    doublefint authored Apr 8, 2017
    Copy the full SHA
    23dfd49 View commit details
  2. closes #10

    doublefint committed Apr 8, 2017
    Copy the full SHA
    11f7654 View commit details
  3. closes #8

    doublefint committed Apr 8, 2017
    Copy the full SHA
    a5ee336 View commit details
  4. Copy the full SHA
    a50f634 View commit details

Commits on Apr 14, 2017

  1. Introduced .gitignore filter support

    fixed file logs
    evshvarov committed Apr 14, 2017
    Copy the full SHA
    731345a View commit details

Commits on Apr 21, 2017

  1. Update README.md

    evshvarov authored Apr 21, 2017
    Copy the full SHA
    4432684 View commit details

Commits on May 19, 2017

  1. Added $TRASH filter

    evshvarov committed May 19, 2017
    Copy the full SHA
    d0b50ad View commit details

Commits on May 20, 2017

  1. Copy the full SHA
    001d03c View commit details
  2. fix gitignore

    evshvarov committed May 20, 2017
    Copy the full SHA
    2733cb4 View commit details
  3. again

    evshvarov committed May 20, 2017
    Copy the full SHA
    b180862 View commit details
  4. Copy the full SHA
    4fff793 View commit details

Commits on May 21, 2017

  1. Merge pull request #12 from intersystems-ru/master

    Introduced .gitignore filter support, $TRASH export filter, Compile after loading in import
    doublefint authored May 21, 2017
    Copy the full SHA
    5f15436 View commit details

Commits on Jun 24, 2017

  1. Error log fixed, extensions fixed - all in lowercase now, default ext…

    …ensions for import mode introduced
    evshvarov committed Jun 24, 2017
    Copy the full SHA
    b5248bd View commit details

Commits on Jul 7, 2017

  1. Merge pull request #16 from intersystems-ru/master

    Error log fixed, extensions fixed - all in lowercase now, default ext…
    doublefint authored Jul 7, 2017
    Copy the full SHA
    b0db90f View commit details

Commits on Aug 3, 2017

  1. Copy the full SHA
    6640598 View commit details

Commits on Aug 7, 2017

  1. Update README.md

    evshvarov authored Aug 7, 2017
    Copy the full SHA
    4c0fc8b View commit details

Commits on Jan 23, 2018

  1. export in xml added

    gevorg95 committed Jan 23, 2018
    Copy the full SHA
    097fe96 View commit details
  2. Merge pull request #18 from intersystems-ru/master

    Added init, release and compile methods to support project releases
    doublefint authored Jan 23, 2018
    Copy the full SHA
    d566289 View commit details
Showing with 322 additions and 284 deletions.
  1. +4 −0 .gitignore
  2. +43 −5 README.md
  3. +0 −153 sc.all.cls
  4. +0 −126 sc.all.sub.cls
  5. +275 −0 sc.code.cls
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS*

dev.md

48 changes: 43 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,53 @@
# all.udl
Export/Import all sources in UDL format for ISC Caché 2016
# cache-udl
Export/Import sources in UDL format for [ISC Caché 2016.2](http://www.intersystems.com/our-products/cache/cache-overview/)

# Installation
Download code and run
```
do $System.OBJ.ImportDir("/dir/cache-udl","*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","ck",,1)
```
or
import the [release](https://github.com/intersystems-ru/cache-udl/releases) 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.all).workdir("/path/to/your/working/directory/")
NS> w ##class(sc.code).workdir("/path/to/your/working/directory/")
```
## Export to working directory:
```
NS> d ##class(sc.all).export()
NS> d ##class(sc.code).export()
```
## Import:
```
NS> d ##class(sc.all).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()
```





153 changes: 0 additions & 153 deletions sc.all.cls

This file was deleted.

126 changes: 0 additions & 126 deletions sc.all.sub.cls

This file was deleted.

Loading