From: Tom Anderson on 29 Apr 2010 18:20 On Thu, 29 Apr 2010, Rhino wrote: > Tom Anderson <twic(a)urchin.earth.li> wrote in > news:alpine.DEB.1.10.1004290048090.18125(a)urchin.earth.li: > >> On Wed, 28 Apr 2010, markspace wrote: >> >>> Rhino wrote: >>> >>>> The comment above that line says only that the "default file output >>>> in the user's home directory" >>> >>> User's home directory! Like /usr/rhino or C:\Users\Rhino or >>> /home/rhino. >> >> Is there anywhere it would be /usr/rhino? >> >> More importantly, why on earth is java writing logs to home >> directories? That's dreadful behaviour! > > It may be dreadful behaviour but %h does indeed stand for the value > obtained from System.getProperty("user.home"). That is a bit unexpected > from my point of view too but what can you do? Moan about is on newsgroups, that's what! tom -- Formal logical proofs, and therefore programs - formal logical proofs that particular computations are possible, expressed in a formal system called a programming language - are utterly meaningless. To write a computer program you have to come to terms with this, to accept that whatever you might want the program to mean, the machine will blindly follow its meaningless rules and come to some meaningless conclusion. -- Dehnadi and Bornat
From: Tom Anderson on 29 Apr 2010 18:42 On Thu, 29 Apr 2010, Lew wrote: > markspace wrote: > >> To me, the "OS home directory" on windows is C:\Windows (drive letter >> may vary). I think I see what you an Arne are saying, it's just that >> the phrase "OS home directory" struck me as something different, and I >> thought I'd clear up any possibility of confusion. > > This is the first time in my decades in the profession I've heard the > phrase "OS home directory", and certainly the first I've heard > "C:\Windows" referred to as any kind of "home" directory. I have only > ever heard "home directory" used as defined in > <http://en.wikipedia.org/wiki/Home_directory> It's not an unreasonable leap to refer to the directory named by the JAVA_HOME environment variable as the 'Java home directory'. Ditto for ANT_HOME, JBOSS_HOME, and various other _HOMEs you may have. You could generalise that to referring to the system folder as the OS home. Although as you observed, people don't actually say that. >> I guess my answer to "Is there a difference?" is that yes, the two >> phrases are certainly different ("OS home" vs. "user's home") and could >> be construed to mean different things. > > Your usage is idiolectic. Yours is homodoxian. tom -- Formal logical proofs, and therefore programs - formal logical proofs that particular computations are possible, expressed in a formal system called a programming language - are utterly meaningless. To write a computer program you have to come to terms with this, to accept that whatever you might want the program to mean, the machine will blindly follow its meaningless rules and come to some meaningless conclusion. -- Dehnadi and Bornat
From: Lew on 29 Apr 2010 18:55 Lew wrote: >> Your usage is idiolectic. Tom Anderson wrote: > Yours is homodoxian. I don't think I'm alone in the practice of homodoxy, especially on Usenet. -- Lew
From: Jeff Higgins on 29 Apr 2010 19:25 On 4/29/2010 6:42 PM, Tom Anderson wrote: > On Thu, 29 Apr 2010, Lew wrote: >> Your usage is idiolectic. > > Yours is homodoxian. wow <http://quizlet.com/1189239/print/>
From: Arne Vajhøj on 29 Apr 2010 21:35 On 28-04-2010 22:39, markspace wrote: > Arne Vajh�j wrote: >> The above link says: >> >> "%h" the value of the "user.home" system property >> >> so it is OS home directory. > > getProperties() says it's the user's home directory, which doesn't > really say the same thing as the OS home directory, to me at least. Typo? > > <http://java.sun.com/javase/6/docs/api/java/lang/System.html#getProperties()> > > "user.home User's home directory" It is the dir that the OS has associated with the OS username. If somebody read "OS home directory" as the root dir of the OS, then I picked the wrong term. Arne
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: Handling extremely large input files Next: Head First Java vs. Think in Java |