We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My build.xml:
build.xml
<project name="build.env Test" default="" basedir="." > <property name="local.property" value="local setting" /> <target name="test" > <echo message="local.property = ${local.property}" /> <echo message="ENV_VAR1 = ${ENV_VAR1}" /> <echo message="ENV_VAR2 = ${ENV_VAR2}" /> </target> </project>
My build.env:
build.env
ENV_VAR1=my setting ENV_VAR2=C:\some\path
My settings for the env vars file:
All files are in the same root folder from which I run the target.
Output:
test: [echo] local.property = local setting [echo] ENV_VAR1 = ${ENV_VAR1} [echo] ENV_VAR2 = ${ENV_VAR2} BUILD SUCCESSFUL Total time: 0 seconds
test: [echo] local.property = local setting [echo] ENV_VAR1 = ${ENV_VAR1} [echo] ENV_VAR2 = ${ENV_VAR2}
BUILD SUCCESSFUL Total time: 0 seconds
As you can see, the variables from build.env are not loaded. Is there a way to fix this?
The text was updated successfully, but these errors were encountered:
Any progress on this? My environment variables don't load either.
Sorry, something went wrong.
No branches or pull requests
My
build.xml
:My
build.env
:My settings for the env vars file:
All files are in the same root folder from which I run the target.
Output:
As you can see, the variables from
build.env
are not loaded. Is there a way to fix this?The text was updated successfully, but these errors were encountered: