|Mailing List • Forums • IRC • mattermost|
|Open • Help Wanted • Bug Day|
|Browse Source • Project Set File|
The bundles provided by JSDT debug for the Firebug / Crossfire support include:
- org.eclipse.wst.jsdt.debug.crossfire - the core Crossfire implementation, provides the Crossfire-specific implementation of JSDI
Installing the Crossfire Plugin
Setting up a Crossfire Development Workspace
Create a Development Profile
- Download your desired version of the source from http://fbug.googlecode.com/svn/
- Create a Firefox profile.
- Start Firefox with the following argument -ProfileManager - the profile manager will open up allowing you to select or create a profile
- Create a new profile, make a note of the location that profile information will be stored in
Once done you should have a new profile with your chosen name in your Mozilla directory. For example, in Linux the following directory is created: /home//.mozilla/firefox/ and in Windows 7: <user root>\AppData\Local\Mozilla\Firefox\Profiles. More information on profiles can be found at Mozillazine.
Finding Extension IDs
The next step requires you to find the ids of the extensions we want to load from source. To do so we have to look in the install.rdf files for each of the extensions. The install.rdf file is located in the root of the extension source, for example  is the install.rdf for the 1.6 branch of Firebug.
To collect the ID, open the install.rdf file in the directory of the extension you want to install (root, firebug, crossfire) and look for the ID in the section:
<Description about="urn:mozilla:install-manifest"> <em:id>email@example.com</em:id> <em:name>Crossfire</em:name
Create an Extension Link
Remembering the location of your new development profile, and with the ids of the extensions we want to be installed, we now must create link files to tell Firefox where to find your extensions.
We can do this as follows:
- Open your profile directory, for example /home//.mozilla/firefox/h34h5.dev
- Open the extensions subdirectory (create it if it doesn't exist), for example /home//.mozilla/firefox/h34h5.dev/extensions
- Create a new file named using the extension id (eg: "firstname.lastname@example.org"). Don't add any file extension.
- Inside the file put a single line containing the absolute path to your source extension
- Start Firefox with your new development profile and ensure your extensions have been installed properly.
- Start firefox with either -ProfileManager (and select your profile) or with -P
- Check the "add-ons" menu to see if your extension installed correctly
Building the Crossfire XPI
To install the Crossfire extension into Firefox you have two choices:
- grab the pre-built xpi file from 
- built it from the source
To build the xpi file from source there are only two steps:
- grab the source you want to package the xpi from
- run the handy Ant build file included in the Crossfire source, which can be found here