Interface CustomBuildServices


  • public interface CustomBuildServices

    CustomBuildServices provides methods for classes extending CustomCodeAction to access InstallAnywhere build settings, add action dependencies and work with access paths.

    An instance of CustomBuildServices is provided to CustomCodeActions at build time.

    See Also:
    CustomCodeActionBuilder
    • Method Detail

      • addDependency

        void addDependency​(java.lang.String path)

        The addDependency() method adds a dependecy file to the installer archive. The files included using this method will be added to installer classpath.

        Parameters:
        path - Dependency file path (zip or jar file)
      • createPathBasedOnAccessPath

        java.lang.String createPathBasedOnAccessPath​(java.lang.String filePath)

        Takes a path and removes the portions represented by the path variable (replacing it with an access path variable).

        Parameters:
        path - File path
      • getSubstitutedFilePath

        java.lang.String getSubstitutedFilePath​(java.lang.String filePath)

        Removes the access path variables and substitute them with the path represented by the variable.

        Parameters:
        path - File path