#### 44.6.1 Specifying a wrap directory

To specify a wrap directory where DITA2Go can place files for distribution:

    [Automation]
    WrapAndShip = Yes
    ; WrapPath = path to dir to contain the files for distribution,
    ;  relative OK
    WrapPath = path\to\wrap\directory

WrapPath can be an absolute path, or a path relative to the project directory. If the directory specified by WrapPath does not exist, DITA2Go creates it.

When you first set up a conversion project, by default DITA2Go includes the following setting for WrapPath in your new configuration file (see §44.3 Understanding path values for deliverables):

    WrapPath = .\_wrap

This path is relative to the project directory. You can change this setting to specify a different path, either relative or absolute. If the path contains spaces, you must enclose it in quotes. If the directory named by WrapPath does not exist, DITA2Go creates the directory.

To get rid of WrapPath entirely, you would have to set WrapPath to blank; if there is no setting at all the default value is .\_wrap, relative to the project directory.

Note: WrapPath 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

To make the wrap directory the same as your project directory, set WrapPath to blank:

    [Automation]
    WrapAndShip=Yes
    WrapPath =

You might want to use this setting for HTML Help or for WinHelp; see §44.10 Gathering and processing Help-system files.

Previous Topic: 44.6 Assembling files for distribution

Next Topic: 44.6.2 Emptying the wrap directory before copying

Parent Topic: 44.6 Assembling files for distribution

Sibling Topics:

44.6.2 Emptying the wrap directory before copying

44.6.3 Listing files to copy to the wrap directory

44.6.4 Understanding when to use other file copy settings

44.6.5 Understanding which files are copied from where

44.6.6 Listing extracurricular files to put in the wrap directory