Community
Participate
Working Groups
On my Mac, the performance plugin is looking for its .options file at: file:/Users/mcq/Desktop/eclipse/Eclipse.app/Contents/MacOS/.options Note that this is inside the application bundle.
DebugOptions uses the result of System.getProperty("user.dir") as the default location for the .options file. We need to figure out if this is returning the wrong thing or if this is indeed the current working directory when Eclipse is started on Mac.
Suggest you talk to Pascal. I remember him seeing something similar.
file:/Users/mcq/Desktop/eclipse/Eclipse.app/Contents/MacOS/ is Mac exe location. So the value of user.dir is correct. We encountered the same problem for the workspace before M5. A workaround could be to set the debug property in the config.ini of MacOs to be "../../../.options". This needs to be tried though.
I believe there is also the option of putting the .options in the workspace.
Moving confirmed bugs out of "inbox"
This should be readme'd for 3.1.
That means we leave it where it is (inside the app bundle)?
Yes
Mike/Andre where is the expected location for the .options file on the Mac?
Is Andre, vacationing? I don't know the right answer to this. Also, are there special rules on the Mac, as a side-effect of the "must start in first thread" command line option? Silenio, can you please coordinate with Pascal/DJ to get the right words for the readme?
No I'm not vacationing... I have no problems with having the .options file inside the application bundle. eclipse.ini is already there and is at least as important. The bigger issue is the "." in ".options". The contents of the application bundle is invisible by default, so making .options invisible too (on Mac) is not really necessary.
So is there anything to add to the readme here or is this a non-issue? We already have the "hidden files within hidden folders" issue in other places in the platform (for instance on *nix we have /.metadata/.plugins, etc) so I recommend not changing the file name in the Mac case.
Yes, Mac is Unix. So we should keep this consistent. Other than that we should document that the .options file must be created inside the application bundle in the Eclipse.app/Contents/MacOS directory (like the eclipse.ini).
Mike, please review for readme and forward to Jim for inclusion. Location for Debug Options File on Mac OS If you are running in debug mode on Mac OS, the default location for the .options file is inside the application bundle in the Eclipse.app/Contents/MacOS directory (like the eclipse.ini).
Fine with me. If you're happy with it Andre, I'll add it to the readme.
I'm happy, thank you both.
Added to README in build n2005-06-23. Closing since I don't believe we will be changing the location for lookup. Note that you can always specify the location with a path arg on the commandline. (use -debug <path> rather than just -debug)