- Jan 21, 2005
- 17,722
- 6
- 81
I am working on porting a current project over to Java so that our client is functional on Windows and OSX. My question is -- how do I address differences between the operating systems, namely, the file structure? I coded a client that behaves similarly to Dropbox. I'd like to keep the logic and code as clean as possible, but the system folder and file paths are throwing me for a loop.
Am I going to have to put a flag of sorts into the app to designate what OS it is on, and assign paths appropriately? Any tips here are appreciated. There are other differences that I may not be figuring in.
Am I going to have to put a flag of sorts into the app to designate what OS it is on, and assign paths appropriately? Any tips here are appreciated. There are other differences that I may not be figuring in.
