Re: Issue with JxtaSocket example
"Martin Gainty" <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Agreed - $CWD will change Following the principle of aliases in httpd.conf I would suggest setting up a property or predefined environment variable and use the property or env variable for your relative path Martin- ----- Original Message ----- From: "Mohamed Abdelaziz" <[email protected]> To: <[email protected]> Sent: Monday, August 22, 2005 4:31 PM Subject: Re: [JXTA user] Issue with JxtaSocket example >I suggest you specify the full canonical path of the file instead. IDE's >usually alter the $CWD, which would result in the behavior you're seeing. > > Mohamed > > Bruce Rosenthal wrote: > >> Unfortuneatly, I have it in $CWD, $CWD/.jxta, $CWD/client (just to cover >> my bases). >> >> I also tried forcing the issue by invoking InputStream is as follows: >> >> InputStream is = getResourceInputStream(System.getProperty("user.dir") >> + "\\" + fname); >> >> and that also doesn't work. >> >> I can show you vai a WebEx if you want. >> >> Mohamed Abdelaziz wrote: >> >>> sounds like "PlatformConfig.master" does not exist in $CWD >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >