Chapter 10
301
7. Create the adempiere.dtd le in the locale\en-US folder and save the following
code in it:
<!ENTITY adempiereToolbar.label "ADempiere">
<!ENTITY adempiereToolbar.tooltip "Provides integration points
with various ADempiere functionalities">
This le contains the messages and string literals used in our program
8. Create the install.rdf le in the C:\ADempiere_TB_BasicAddOn folder and
save the following content in it:
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>adempiere.addon@walkingtree.in</em:id>
<em:name>ADempiere</em:name>
<em:version>0.1</em:version>
<em:description>ADempiere add-on</em:description>
<em:creator>Ajit Kumar</em:creator>
<em:iconURL>chrome://adempiere/content/AdempiereLogoNew.png</
em:iconURL>
<em:targetApplication>
<Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <!--
thunderbird -->
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.1.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
This le is required for Mozilla to be able to install the add-on. 3550f703-e582-
4d05-9a08-453d09bdfdc6
is the unique application ID to identify Thunderbird.
9. Create the chrome.manifest le in the C:\ADempiere_TB_BasicAddOn folder
and save the following content in it:
content adempiere content/
locale adempiere en-US locale/en-US/
skin adempiere classic/1.0 skin/
overlay chrome://messenger/content/messenger.xul chrome://
adempiere/content/mail-bar3-overlay.xul
style chrome://global/content/customizeToolbar.xul chrome://
adempiere/skin/overlay.css