Table of Contents

Previous

Next


CLI Syntax and Reference

The ePublisher AutoMap command-line interface can run a job or an ePublisher project. The command-line interface uses the following syntax:

WebWorks.Automap.exe [-c] [-d=directory] [-f] [-k] [-l] [-n]
[-u=directory] [{[-s=directory] jobfile}|{[-t=targets] projectfile}]

The supported command-line options are defined in the following table.

 

Option

Description

-c

Deletes cached information and builds the output from scratch. Use this option only when passing an ePublisher project .wrp file. This option is equivalent to selecting Regenerate All. The default is to generate only what is needed and to use all available cached information. You can also specify this option as --clean.

-d=directory

Specifies an alternate deployment directory. This setting overrides the specified default values. You can also specify this option as
--deployfolder=directory.

-f

Does not send an email notification when this job is finished. This setting overrides the default value specified in the ePublisher AutoMap preferences. You can also specify this option as --nonotify.

-k

Displays the list of license keys installed in ePublisher AutoMap. You can also specify this option as --keys.

-l

Deletes all files in the deployment location before deploying the newly-generated output. This option ensures that all files in the deployment folder are from this last generation process. You can also specify this option as
--cleandeploy.

-n

Generates output and does not deploy it. This setting overrides the default deployment settings specified in the job or ePublisher project. You can also specify this option as --nodeploy.

-s=directory

Specifies the staging directory to use. Use this option only when passing a job .waj file. This setting overrides the default value specified in the ePublisher AutoMap preferences. You can also specify this option as
--stagingdir=directory.

-t=targets

Builds only the specified targets. Separate multiple targets with a comma and no space on either side of the comma. Use this option only when passing an ePublisher project .wrp file. The default is to build all targets. You can also specify this option as --target=targets.

-u=directory

Specifies the directory containing the user formats. This setting overrides the default value specified in the ePublisher AutoMap preferences. You can also specify this option as --userformats=directory.

jobfile

Specifies the name of the ePublisher AutoMap .waj job file.

project

Specifies the name of the ePublisher .wrp project file.

As with other command-line applications, specify the command-line options on the command line after the application name itself. Separate multiple command-line options with a space. Review the following additional notes concerning ePublisher AutoMap command-line options:

ePublisher/2008.3/Help/Preparing_and_Publishing_Content/Automating_Projects.4.39 (last edited 2008-10-11 06:33:56 by BenAllums)