[izpack-devel] USER_NAME variable broken in 3.8.1
Oliver Kiddle
okiddle at yahoo.co.uk
Thu Jan 12 16:37:03 CET 2006
The USER_NAME variable appears to have been broken in release 3.8.1
of izpack (a line of code went missing).
Oliver
--- src/lib/com/izforge/izpack/installer/InstallerBase.java.orig 2006-01-12 16:31:59.000000000 +0100
+++ src/lib/com/izforge/izpack/installer/InstallerBase.java 2006-01-12 16:32:00.000000000 +0100
@@ -164,6 +164,7 @@
installdata.setVariable(ScriptParser.JAVA_HOME, System.getProperty("java.home"));
installdata.setVariable(ScriptParser.CLASS_PATH, System.getProperty("java.class.path"));
installdata.setVariable(ScriptParser.USER_HOME, System.getProperty("user.home"));
+ installdata.setVariable(ScriptParser.USER_NAME, System.getProperty("user.name"));
installdata.setVariable(ScriptParser.IP_ADDRESS, IPAddress);
installdata.setVariable(ScriptParser.HOST_NAME, hostname);
installdata.setVariable(ScriptParser.FILE_SEPARATOR, File.separator);
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the izpack-devel
mailing list