- Documentation (2.5.1-local-20221102182706)
- Release Notes
- Tutorials
- Reference
- Introduction
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildnumber
- buildobr
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- report
- repreport
- resolve
- resources
- retrieve
- settings
- var
- Using standalone
- OSGi
- Developer doc
properties
Tag: properties
Loads a properties file into Ivy variables. See the variables chapter above for details about Ivy variables.
(since 2.0) It is possible to access environment variables. This can be done by specifying the environment attribute. This attribute specifies the prefix which can be used to access these environment variables. For instance, if you specify environment="env"
, you can access the PATH
environment variable with the env.PATH
property name.
Attributes
Attribute | Description | Required |
---|---|---|
file |
a path to a properties file to load |
One of these |
environment |
the prefix to use when retrieving environment variables (since 2.0) |
|
override |
indicates if the variable found in the properties file should override its previous value, if any (since 1.3) |
No, defaults to true |