Re: Issue with JxtaSocket example
Mohamed Abdelaziz <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
I don't know why I overlooked the obvious (still in vacation mode), Since it is being loaded as resource, ensure it exists in the classpath. Mohamed Martin Gainty wrote: > 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 >>> >>> -- http://blogs.sun.com/roller/page/hamada http://weblogs.java.net/blog/hamada