NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 61 - getDirectory("startup") returns empty string on OSX
getDirectory("startup") returns empty string on OSX
Status: RESOLVED FIXED
Product: ImageJ
Classification: Unclassified
Component: Launcher
unspecified
Macintosh Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2009-06-29 12:46 CDT by Christophe Leterrier
Modified: 2015-04-06 15:44 CDT
1 user (show)

See Also:

Description Christophe Leterrier 2009-06-29 12:46:53 CDT
If I use the macro function getDirectory("startup") with plain ImageJ, it will return the folder where ImageJ is installed. If I do the same with Fiji, the output is just "//" (that's two slashes). I would expect the output to be "/Applications/Fiji.app/" (I'm on a Mac), since the getDirectory("plugins") function returns "/Applications/Fiji.app/plugins" which is correct.
Comment 1 Greg Jefferis 2009-08-31 15:20:22 CDT
This behaviour has been changed according to Christophe's expectations in commit:

http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=fiji.git;a=commit;h=923b84a7693307e0d3a8508363b6598dac7491d9

See also:

http://repo.or.cz/w/imageja.git?a=commit;h=df5d6185ea68f4e30fc6ae4d5227fb579d35a4e6