Logic around default install dir
|Reported by:||oranfry||Owned by:||oranfry|
Do some writability tests to smartly choose a default install dir at runtime in the installer. First try for the system-wide location (c:\program file, /usr/local), then resort to the user location (%USERDIR%, $HOME). The code will probably go in the java code for the <directory> element of ant-installer, or as a backup could go in the wrapper c++ code passing the result to java as a property.