Subject: Re: Weird problem with NetBeans
To: Tracy Nelson <tnelson158@attbi.com>
From: Sam <ssac@shaw.ca>
List: netbsd-help
Date: 05/21/2002 11:21:50
I ran into the same problem...I ended up using the Java
System.getProperty method to find true paths. For example,
System.getProperty("user.home") will return the current user's home
directory, not the /emul/linux one. Then you can add on whatever other
directories you need. There are a couple more of these properties that
might also be useful. But depending on what you're trying to do, this
may not solve your problem...
Cheers
Sam
Tracy Nelson wrote:
>
> Hi! I was working on getting NetBeans set up last night, when I ran across
> some strange behavior. When attempting to register a file with the file
> browser, I was getting very strange results. To make a long story short,
> what was happening was, I was browsing in the Linux compatability tree,
> which is set up with its own root hierarchy (i.e., I thought I was browsing
> /usr/local, when I was really browsing /emul/linux/usr/local).
>
> My question is, how does everyone else handle this? Should I just use
> symbolic links to re-direct empty directories to their "real" counterparts?
> Or should I just copy the parts of the hierarchy I need into the emulated
> filesystem? I can see pros and cons for each approach, is one way better
> than another, or is there another possibility I didn't think of?
>
> Thanks for any clues!
> -- Tracy Nelson