Giter VIP home page Giter VIP logo

xnote's Introduction

XNote++ Thunderbird Add-on

This repository contains the code for the Thunderbird XNote++ add-on.

Getting started

  • You can find a build.xml for an Ant build within this directory. In order to configure it, you have to copy the build.properties.ori to build.properties and do the necessary changes.

  • If you configure the build process properly, the development cycle is to code, stop Thunderbird, run "ant run" and check for the changes. "ant run" copies the files to an extracted directory in your Thunderbird profile (see build.properties), not the xpi file, deletes the "startupCache" in the profile directory to force Thunderbird to consider the updated resources, and starts Thunderbird.

    In some cases, e.g., changes to the HTML of the options dialog, it is sufficient to run "ant deploy" to copy the files to the profile directory and then try to reload the resources in Thunderbird. For the options dialog, this works by closing the add-on settings dialog and reopen it.

  • The ant build process creates a "build" directory next to the source directory that will contain the add-on package in an xnote-<version>.xpi file. See the build.xml for details. If you would like to manually install the XPI file, e.g., to test the installation notice, call "ant package" to only build the xpi file but not copy the sources to the TB profile.

  • The build process uses JSHint to check for JavaScript errors. In order to get that working, install NodeJS and install JSHint through: npm install -g jshint

  • If you are not yet familiar with Apache Ant, you can download it from https://ant.apache.org/bindownload.cgi. Ant also requires Java to be installed on your computer. After you extracted the Ant package, it's probably best to add the path to your ANT_HOME/bin directory to your PATH variable so that you can call the "ant" command without its full path.

  • There are developer tools included in Thunderbird for debugging - menu is presumably called "Tools" or "Extra" and then "developer tools" (not using the English version).


vim:spelllang=en

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.