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-project
to 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_DIR
variable to the directory of installed Caché in your system. Do not add whitespaces before or after=
symbol. - Set
NAMESPACE
variable to the namespace you want to import project to. - Set
USERNAME
andPASSWORD
variables if Caché instance requires ones.
- Set
- Each next time just run the
import.*
script!- You should receive build and import log, saying
IMPORT STATUS: OK
at 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.