[Fwd: Re: [java-dev] [Fwd: A strange error...]]
Siska Ádám
sadam at startvox.hu
Mon Jul 9 12:28:30 MDT 2007
- Previous message: [Fwd: Re: [java-dev] [Fwd: A strange error...]]
- Next message: [java-dev] JXTA in mxj?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
public static final String SETTINGS_FILE = "settings.xml"; Thanks, Adam Nick Rothwell wrote: > > On 9 Jul 2007, at 15:39, Siska Ádám wrote: > >> The strange is, that the documentation page for java.io.File says >> that the first constructor I used resolves the given relative path >> against the current user directory, which can be accessed with >> System.getProperty ( "user.dir" ). > > That's not how I read it (albeit briefly): in the two-argument form, > the second argument is forced to be relative in a system-dependent > manner (whatever that may mean). What does your SETTINGS_FILE string > look like? > > -- N. > > > Nick Rothwell / Cassiel.com Limited > www.cassiel.com > www.myspace.com/cassieldotcom > www.loadbang.net > > > > > _______________________________________________ > java-dev mailing list > java-dev at cycling74.com > http://www.cycling74.com/mailman/listinfo/java-dev >
- Previous message: [Fwd: Re: [java-dev] [Fwd: A strange error...]]
- Next message: [java-dev] JXTA in mxj?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
