Adding Directories and Files to Packages

Learn how to add directories and files to package.

To add a directory and all files in the directory to the package:

  1. Switch to the process.
  2. Click on next to Referenced Items and select Directory from the list.
  3. Select the directory on the source system you wish to include in the package in the dialog.
  4. Enter the Destination directory on the target system. The destination path can be absolute or relative to the CRM.cockpit directory on the target system.

    You can also use placeholders (e.g. "$WEB"). When importing the package, you are asked to select directories to replace your placeholders, see Importing Packages . If you are using the command line to import packages, define the target directories for placeholders in the XML file used to define the import settings, see Import Settings . While you can use any placeholder starting with '$', update recommends using $WEB for Aurea.CRM web and $WIN for Aurea.CRM win.

    Note: A placeholder cannot consist of only the $ character (e.g. '$' and '\$\foo' are invalid) and cannot contain multiple $ characters one after another (e.g. '$$FOO').
    Note: During the import process, the paths in file and directory items in the package are converted to the paths on the target system.
  5. You can enter a Filter to restrict the files that are included in the package (e.g. "*.xml" to only include XML files). If you do not enter a filter, all files in the directory are added to the package.
  6. Enable Include sub-folders to add all sub-folders in the source directory to the package as well. Any sub-folders missing on the target system are added when importing the files.
    Note: Directories whose name starts with a single period (.) are ignored.
  7. Click on Add Selected Items in the header to add the directory to the package.