Preference build system. - Mozilla

This is a discussion on Preference build system. - Mozilla ; I build an extension and i follow the tutorial : https://developer.mozilla.org/en/Cre...a_Build_System but in my extension i have an directory defaults/preferences with a javascript file, when i build the extension, the directory defaults/ preference is doesn't buil in $Path/dist/bin/myextension. Thanks Sorry ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Preference build system.

  1. Preference build system.

    I build an extension and i follow the tutorial :
    https://developer.mozilla.org/en/Cre...a_Build_System
    but in my extension i have an directory defaults/preferences with a
    javascript file, when i build the extension, the directory defaults/
    preference is doesn't buil in $Path/dist/bin/myextension.

    Thanks

    Sorry for my very bad english.

  2. Re: Preference build system.

    Thanks

    On 22 mai, 23:38, Nils Maier wrote:
    > On 20.05.2009 15:44, Eddy wrote:
    >
    > > I build an extension and i follow the tutorial :
    > >https://developer.mozilla.org/en/Cre...x_Extensions_w...
    > > but in my extension i have an directory defaults/preferences with a
    > > javascript file, when i build the extension, the directory defaults/
    > > preference is doesn't buil in $Path/dist/bin/myextension.

    >
    > > Thanks

    >
    > > Sorry for my very bad english.

    >
    > You should use PREF_JS_EXPORTS in your Makefile.in, like so:
    > PREF_JS_EXPORTS = $(srcdir)/defaults/preferences/prefs.js
    > or even PREF_JS_EXPORTS = $(srcdir)/prefs.js
    >
    > See:http://mxr.mozilla.org/mozilla-centr.../rules.mk#1594
    >
    > Cheers
    > Nils



+ Reply to Thread