[1761] info on the commit
Niclas Hedhman
niclas at hedhman.org
Sat Feb 12 00:33:10 EST 2005
On Saturday 12 February 2005 03:25, Stephen McConnell wrote:
Overall - very good, and I am very happy to see that both Windows and Nix
environments gets a 'native feel' to it.
Regarding 'preferences'. There is a package in JDK that deals with this, but I
have never dealt with it. Is it something we should at all bother with?
> P.S. I would like to resolve the question concerning the default directory
> mapping for DPML_SYSTEM on a Unix platform - Niclas, any opinions on that?
Ok, on Nix systems there is normally a distinction between a 'system-wide'
installation and a 'user' installation of an application. The distinction is
often done just by checking $USER=root which is required for a system-wide
install.
I have not seen any 'standards' on how to install blindly for a 'user'.
Typically the installer would ask, and suggest /home/$USER/$APP and sometimes
ask whether a symlink to the executable to be placed somewhere, often
suggesting /home/$USER/bin, which is often mapped into the $PATH.
For system-wide installs there are many :o( accepted and non-accepted
standards for placing immutable application data in;
/usr/local/$APP
/usr/share/$APP
/usr/local/share/$APP
/usr/lib/$APP
I have also seen
/opt/$APP
/opt/lib/$APP
/home/$APP
I would recommend /usr/share/$APP as I think most Linux distros uses this
nowadays.
So I guess I have some work to catch up with...
Cheers
Niclas
More information about the dev-dpml
mailing list