component-installation-plugin / com.intershop.gradle.component.installation.tasks / InstallConfigManager / getTargetDir

getTargetDir

fun getTargetDir(vararg path: String): File

Get a target dir from path elements for this specific component.

See also the static method getTargetDir.

Parameters

path - path elements

Return
a file object from the input values

@JvmStatic fun getTargetDir(dir: File, vararg path: String): File

Get the target dir from a base dir and additional path elements. The path elements will be filtered and adapted. Empty elements or elements with forbidden characters will be removed, spaces replaced with an underscore.

Parameters

dir - the base dir

path - path elements

Return
a file object from the input values