This repository includes sample minimalistic Caché project, which is developed and maintained out of Caché
environment, directly in the file system. By running import.bat script the project imports to Caché.
To get more advanced example, please check the extended version tree.
This project includes DevProject.Robot class with Message() method. Any other classes should go
in hierarchy under the source/cls
directory.
Requires Git and Caché 2016.2+ to be installed.
- Clone this repository to your local file system.
- Use
git clone https://github.com/ZitRos/cache-dev-projectto clone the project. - Then enter cloned project's directory:
cd cache-dev-project.
- Use
- Edit import.bat (Windows) or import.sh (*nix) script:
- Set
CACHE_DIRvariable to the directory of installed Caché in your system. Do not add whitespaces before or after=symbol. - Set
NAMESPACEvariable to the namespace you want to import project to. - Set
USERNAMEandPASSWORDvariables if Caché instance requires ones.
- Set
- Each next time just run the
import.*script!- You should receive build and import log, saying
IMPORT STATUS: OKat the end. - After successful import, run
do ##class(DevProject.Robot).Message()in Caché terminal to check if project imported.
- You should receive build and import log, saying
Feel free to improve and upgrade this repository, just keep it minimalistic.