Re: Trying to embed mozilla, can't getGREPathWithProperties
Javier Pedemonte <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <XoWdnaUSZtGZ5IvbnZ2dnUVZ_oDinZ2d__48763.1086529747$1175883775$gmane$org@mozilla.org> |
Ray Kiddy wrote: > The getGREPathWithProperties() is probably looking on the application's > framework search path. > > If this is true, than Javier is correct in that /Library/Frameworks and > ~/Library/Frameworks are the usual suspects on the framework search path > that people care about. > > Note, however, that if one puts a framework inside an application > bundle, that framework will be picked up first. Correct. Mozilla.getGREPathWithProperties() looks in the app bundle first, then in ~/Library/Frameworks, and then in /Library/Frameworks. You can see that code here: http://mxr.mozilla.org/mozilla/source/extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java#187. javier