Skip to content

Support for loading environment variables from a configuration file #1

@mkwan01

Description

@mkwan01

@ThePrez The cdimascio/dotenv-java project already has support for loading env variables from a Java properties file. This is to add the same support to the DotEnv-Java-IBMi project. We will add the following API:

public static synchronized Dotenv loadDotEnv(File configFile) throws DotenvException;

This API will merge the env variables from the config file with the ones from the system. It will persist the env settings in the static instance s_dotEnv,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions