From 96ca021c758da63ddfb00a7dff93f30417ebe616 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig System.getEnv
didn't
work. So we decided to start a command in a new process which prints
the environment variables, analyzes the output and creates the
- properties. Once Java 5 became our baseline we could have switched
- to getEnv
but it returned different results on some
- platforms so we stuck with the command approach to remain backwards
- compatible.
+ properties. With Ant 1.9.0 when we started to require Java 5 we switched back
+ to System.getEnv
even though it returned different results on some
+ platforms. The commands described below are still used on OpenVMS or
+ if System.getEnv
throws an exception.
There are commands for the following operating systems implemented in