Hi Ben,

Can I ask why you're trying to do this? In the future, the installed location of extension files may change. You should also not be storing "persistent" data files in the extension directory. Keep the persistent datafile in <profiledir>/myextension.txt or some other arbitrary place that you decide and can maintain.

That is what we want to do, but there is no (apparent) way for the new installer system to take an arbitrary file from the XPI and add it into the <profiledir>.


The goal was here either:
a) Access it directly in place,
b) CopyTo() the profile directory ourselves

The only solution I could find was to add to the "/extension/defaults/" path and work with it manually from there.

We have the same issue copying icons into the "chrome/icons/default" directory. Ben Goodgers docs on the new extension format do illude to these issues.

If you're using only small bits of RDF, you can also keep information directly in the localstore RDF datasource.

Yep this is an RDF preference file, but it is likely to get far too big for localstore. Also, this is being remotely deployed so it make sense for it to be separate.


Cheers,


Neil Stansbury www.RedbackSystems.com _____________________________ Next Generation Web Platforms _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to