Calendar:Hacking: Difference between revisions

(→‎Getting the right tools: Download link for nightlies of stable core)
Line 150: Line 150:
=== Useful settings ===
=== Useful settings ===
* You can receive [[http://developer.mozilla.org/en/docs/Setting_up_extension_development_environment more debug messages]] with some preference settings.
* You can receive [[http://developer.mozilla.org/en/docs/Setting_up_extension_development_environment more debug messages]] with some preference settings.
* You can work within directories rather than JAR files. This eliminates the need to rebuild the jar files after a debug cycle. To work within <tt>chrome/calendar.jar</tt> extract this file to <tt>chrome/calendar</tt> and change the file <tt>calendar.manifest</tt> to:
* You can work within directories rather than JAR files. This eliminates the need to rebuild the jar files after a debug cycle. To work within <tt>chrome/calendar.jar</tt> extract this file to <tt>chrome/calendar</tt> and change the file <tt>calendar.manifest</tt> to:<code>ss</code>
  # Settings for working with a directory structure instead of calendar.jar  
  # Settings for working with a directory structure  
# instead of calendar.jar  
  skin calendar classic/1.0 calendar/skin/classic/calendar/
  skin calendar classic/1.0 calendar/skin/classic/calendar/
  content calendar calendar/content/calendar/
  content calendar calendar/content/calendar/
  content branding calendar/content/branding/ xpcnativewrappers=yes
  content branding calendar/content/branding/ xpcnativewrappers=yes
After setting this you should delete the two files <tt>XPC.mfl</tt> and <tt>XUL.mfl</tt> or the complete profile folder in the local directory, (shell:Local AppData\Mozilla\sunbird\profiles under Windows XP). Otherwise the old code from the jar file may be executed.


=== Other possibly useful links ===
=== Other possibly useful links ===
Confirmed users
59

edits