make that "four" options to code for :P On 12 August 2010 19:34, Kevin Wright <[email protected]> wrote:
> There's only 3 platforms out there that you can target with a JavaFX rich > client. > > Okay, I know that there are multiple OSs based on the Linux kernel, and > that BSD is something different again, and then there's Solaris, etc. > but I'm just treating all *nix systems (except OSX) as a single platform > for argument's sake > > So detect the platform from system properties and use the appropriate > "standard" location for app data if it's Linux, Windows or OSX. > Anything else, assume the user is competent enough to know what they're > doing and prompt for the appropriate location. > > Seriously, that's only for options to code for, this kind of thing really > shouldn't be a problem! > > > > On 12 August 2010 19:08, Fabrizio Giudici > <[email protected]>wrote: > >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 8/12/10 19:58 , jahid wrote: >> > Paul, I already mentioned this before I think. Yes I can, I can use >> > "user.home" system variable for even OS independent use home >> > directory. But the point I am making is, putting the db on user >> > home will make the application really vulnarable. That's why you >> > do not see any db/important files of any application in your home >> > directory. All you see is user preferences. Which you can delete, >> > but still the application will run. Of course we can put >> > db/important app data on user home, but putting db on user home, >> > or putting app installation location on a properties file on user >> > home will make the application vulnarable. >> Apart from the fact that Paul mentioned AppData, which is a >> subdirectory of the user home and not the user home itself (on Mac OS >> X there's a similar >> $HOME/Library/Application Support/appname), I don't understand what >> you mean by "vulnerable". >> >> - -- >> Fabrizio Giudici - Java Architect, Project Manager >> Tidalwave s.a.s. - "We make Java work. Everywhere." >> java.net/blog/fabriziogiudici - www.tidalwave.it/people >> [email protected] >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.14 (Darwin) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkxkOIAACgkQeDweFqgUGxebyACbBNvSW27YwLMbsCCsxJSq2Nnq >> 5e4An0KiYvroTD7HH6UpTQthefbh/TH0 >> =ynlg >> -----END PGP SIGNATURE----- >> >> -- >> You received this message because you are subscribed to the Google Groups >> "The Java Posse" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<javaposse%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/javaposse?hl=en. >> >> > > > -- > Kevin Wright > > mail/google talk: [email protected] > wave: [email protected] > skype: kev.lee.wright > twitter: @thecoda > > -- Kevin Wright mail/google talk: [email protected] wave: [email protected] skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
