44.4.1 Specifying when to delete old files from the project directory

To specify under which conditions certain old files should be deleted from the project directory before conversion:

[Automation]
WrapAndShip=Yes
; EmptyOutputDir = Never (default),
; or File (for running a single-file project with no external links).
EmptyOutputDir = Never

Values of EmptyOutputDir have the following effects: 

Never

Default. DITA2Go does not delete any files from the project directory before conversion.

File

DITA2Go deletes the specified files before conversion.

To determine which files to delete before conversion, see:

§44.4.2 Specifying which files to delete from the project directory

§44.4.3 Understanding when not to delete .ref and .htm files

Note:  EmptyOutputDir takes effect not only when WrapAndShip=Yes, but also when one of the following is true for the output type specified:

HTML Help: [Automation]CompileHelp=Yes

WinHelp: [Automation]CompileHelp=Yes

JavaHelp: [JavaHelpOptions]FTSCommand=path/to/indexer

Oracle Help: [OracleHelpOptions]FTSCommand=path/to/indexer

See §44.10 Gathering and processing Help-system files.

Previous Topic:  44.4 Clearing out old files before converting

Next Topic:  44.4.2 Specifying which files to delete from the project directory

Parent Topic:  44.4 Clearing out old files before converting

Sibling Topics:

44.4.2 Specifying which files to delete from the project directory

44.4.3 Understanding when not to delete .ref and .htm files

Table of ContentsIndex