Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 12 Generating Eclipse Help > 12.8 Packaging Eclipse Help files > 12.8.2 Specifying ZIP command parameters

### 12.8.2 Specifying ZIP command parameters

To specify parameters to the ZIP command (for example, for wzzip):

[EclipseHelpOptions]

; ZipParams = parameters to issue for ZipCommand

ZipParams = -a doc.zip *.htm *.jpg *.gif *.css

For parameters that are to be passed to the ZIP program, observe the following:

• Do not enclose parameter values in quotes.

• Use backslashes as separators in path-name parameters.

• Use a dash (“-”) instead of a forward slash to prefix a command option.

Note: The name of the file created by your ZIP program must be doc.zip.

If [Automation]WrapAndShip=Yes (see §35.2 Activating and logging production of deliverables), file specifications you list as parameters for ZipParams should be relative to the [Automation]WrapPath directory, otherwise to the project directory.

Or, you can specify absolute paths (for example, for wzzip):

[EclipseHelpOptions]

ZipParams = -a doc.zip -xg:\eh\_wrap\*.xml g:\eh\_wrap\*.*

This wzzip parameter list includes everything in directory g:\eh\_wrap except XML files. Do not include plugin.xml, toc.xml, index.xml, or any other Eclipse Help XML files in doc.zip. To archive files for storage or shipping, see §12.8.5 Archiving Eclipse Help files.