on 7afa310 help sign in
Idris-dev/test/reg029/Reg029Wrapper.java
17 lines 422 B history raw
1import java.util.Map;
3/**
4 * The Java back end uses properties
5 * instead of environment variables.
6 * This wrapper loads the env variables
7 * into the standard set of properties.
8 */
9public class Reg029Wrapper {
10 public static void main(String args[]) {
11 Map<String, String> env = System.getenv();
12 for (String key : env.keySet()) {
13 System.setProperty(key, env.get(key));
14 }
15 reg029.main(args);
16 }