Skip to content

File path for deployement.toml file getting null in windows #57

@dileepagayan

Description

@dileepagayan

Description:
Steps to re-produce

  1. Execute the ciphertool.bat -Dconfigure in the windows environment
  2. Deployment path for the deployment.toml file getting null from the following code segment.
    public static String getDeploymentFilePath() {
        String configFilePath = System.getProperty(Constants.DEPLOYMENT_CONFIG_FILE_PATH);
        if (StringUtils.isEmpty(configFilePath)) {
            configFilePath = Paths.get(System.getProperty(Constants.CARBON_CONFIG_DIR_PATH),
                             Constants.DEPLOYMENT_TOML_FILE).toString();
        }
       return configFilePath;
    }

The system property is getting null and executing the default encryption flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions