generate-jobs
Command Reference
Description
Generate an initial set of job data files from the type templates.
Reads type definitions and generates an initial job.xml file suitable to load in the Jobcenter server with load-jobs.
Example:
ctl -p project -t ProjectBuilder -o object -c generate-objects --\ -type Type
Files will be written to directory: ${opts.basedir}/jobs
Usage
ctl -t ProjectBuilder -o <objectname> -c generate-jobs [-basedir <>] [-defaults <>] [-name <default>] [-overwrite] [-targetdir <>] [-templateDir <>] [-type <${context.module}>] [-upload]
Options
Option | Description | Type | Default |
---|---|---|---|
basedir | dir containing modules | string | ${entity.attribute.basedir} |
defaults | file containing defaults data | string | / ${entity.attribute.defaults} |
name | name to give job | string | default |
overwrite | overwrite existing files | boolean | |
targetdir | dir containing build | string | ${entity.attribute.targetdir} |
templateDir | file containing defaults data | string | / ${entity.attribute.templateDir} |
type |
type name
If type not specified, the object data for all types in basedir will be generated |
string | ${context.module} / ${context.type} |
upload | load objects after they are generated | boolean |