[izpack-devel] Possible Bug in Target Panel
Tino Schwarze
berlios.de at tisc.de
Wed Jan 23 07:52:21 CET 2008
Hi Hal,
On Tue, Jan 22, 2008 at 03:41:57PM -0500, Hal Vaughan wrote:
> I wasn't sure of the best way to search for this without getting a high
> signal to noise ration, since search engines don't seem to handle
> symbols well.
>
> I set the default target directory for an install on *nix
> to "~/MyProgram". When it came up in the TargetPanel, I clicked
> between the "My" and the "Program" then highlighted "Program" and
> replaced it with "TestInstall". That gave me "~/MyTestInstall" in the
> text field. Then when I clicked "Next" the dialog said it would create
> the directory "/home/ha/~/MyTestInstall". In other words, it added my
> home directory to the path, but did NOT remove the "~" from the path
> name.
That is because the ~ is replaced by your shell, not the operating
system and therefore ~ is a valid file name. So, if you type ~/MyProgram,
this is similar to typing xzy/MyProgram - you'll end up with "current
directory"/xzy/MyProgram. Maybe we could extend the IzPack code to
handle the ~, but then we should support ~user/ as well.
HTH,
Tino.
--
www.craniosacralzentrum.de
www.spiritualdesign-chemnitz.de
Tino Schwarze * Lortzingstraße 21 * 09119 Chemnitz
More information about the izpack-devel
mailing list