ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@mad.scientist.com>
Subject Re: Working Directory Woes ... or Not ?
Date Wed, 05 Jul 2000 16:20:45 GMT
At 12:34  5/7/00 +0200, you wrote:
>Hi Peter,
>
>maybe I didn't understand what you've tried. The appended little
>program sets user.dir to whatever you provide on the command line, and
>invokes pwd after that. The result on my linux box with Blackdown's
>JDK 1.2.2RC4:
>
>bodewig@sbodewig ~ >pwd 
>/home/bodewig
>bodewig@sbodewig ~ >java Cd /tmp
>/home/bodewig

No but what I was trying to say is that it seems that you can change
working directory in the process. ie so that -- new File("blah.txt") -- can
refer to different things depedning on what the working directory is at the
time you access file. 
Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message