How Ant echo environment variables

Ant has a build-in task Property that can access OS-specific environment variables, Property's parameter environment is the prefix to use when retrieving environment variables, plus the prefix and environment variables’name, we can directly echo or use its value.