Giter Club home page Giter Club logo

extract-clearbasic's Introduction

This script extracts ClearBasic code from a Clarify database.
It extracts from code as well as global code modules.
It also builds a CBI file (clearbasic directives file for use with cbex)

For customer-defined code, it creates a new directory, "ClearBasic", and creates all files in this directory.
For baseline code, it creates a new directory, "ClearBasic.Baseline", and creates all files in this directory.

Files:
	extract_cb.cbs: Main routine 
	extract_cb.bat: Wraps the call to cbbatch; includes path to cbbatch executable 
	clarify.env: contains database connectiion information

Configuration:
	
	1. Verify (and modify for your environment) the database connection information in clarify.env
	
	2. Verify (and modify for your environment) the path to cbbatch.exe defined in extract_cb.bat

	3. Extract all ClearBasic code or just code for one resource config?
			By default, all ClearBasic code will be extracted.
			If you wish to only extract ClearBasic code for a certain resource config,
			then set the ResourceConfig constant within extract_cb.cbs to be the
			name of the resource config. 
			If the ResourceConfig constant is set to empty string, then all clearbasic will be extracted

	4. Extract baseline ClearBasic code or customer-defined code?
			By default, customer-defined ClearBasic code will be extracted.
			If you wish to extract baseline ClearBasic code,
			then set the IsCustomerDefined constant within extract_cb.cbs to be 0
			
To execute from a command line:
	Windows (DOS): 	extract_cb.bat

extract-clearbasic's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

girish407

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.