Disable placeholder scanning

When importing a package, XL Deploy scans the artifacts contained in the package for placeholders that need to be resolved during a deployment. You can turn off placeholder scanning using one of the following methods described in this topic.

Disabling placeholder scanning for one file extension on a particular artifact type

XL Deploy looks for files to scan in artifact configuration items (CIs) based on the file extension. It is possible to exclude certain extensions from this process. To do this, edit the deployit-defaults.properties file and set the excludeFileNamesRegex property on the artifact CI type you want to exclude. For example:

file.Archive.excludeFileNamesRegex=.+\.js

You must restart the XL Deploy server for the change to take effect.

Disabling placeholder scanning for one file extension on all artifacts

XL Deploy looks for files to scan in artifact CIs based on the file extension. You can exclude certain extensions from this process. To do this, edit the deployit-defaults.properties file and set the excludeFileNamesRegex property on the artifact CI type you want to exclude. For example:

udm.BaseDeployableArchiveArtifact.excludeFileNamesRegex=.+\.js

You must restart the XL Deploy server for the change to take effect.

Disabling placeholder scanning for one CI instance

You can edit the deployment package manifest and change the scanPlaceholders property of the particular artifact:

<file.File name="sample" file="sample.txt">
	<scanPlaceholders>false</scanPlaceholders>
</file.File>

Disabling placeholder scanning for one CI type

You can edit the deployit-defaults.properties file and set the scanPlaceholders property for the CI type you want to exclude. For example:

file.Archive.scanPlaceholders=false

You must restart the XL Deploy server for the change to take effect.

Disabling placeholder scanning completely

You can edit the deployit-defaults.properties file and set the following property:

udm.BaseDeployableArtifact.scanPlaceholders=false

You must restart the XL Deploy server for the change to take effect.