Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dileepagayan opened this issue Dec 10, 2019 · 0 comments
Open

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

dileepagayan opened this issue Dec 10, 2019 · 0 comments

Comments

@dileepagayan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant