Skip to content

Commit

Permalink
Add extension packaging code
Browse files Browse the repository at this point in the history
  • Loading branch information
zach@zachlipton.com committed Jul 30, 2007
1 parent ac46d67 commit 3fc611c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
32 changes: 32 additions & 0 deletions testing/extensions/community/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>

<!--
build.xml adapted from Shawn Wilsher's rtse
(http://shawnwilsher.com/extensions/rtse/)
-->


<project name="qa" default="createxpi">
<tstamp>
<format property="build.number" pattern="yyyyMMdd" offset="-1" unit="hour"/>
</tstamp>
<property name="build.version" value="0.1.${build.number}"/>
<target name="createxpi" depends="createjar">
<zip destfile="qa.xpi">
<zipfileset dir="" includes="chrome/qa.jar"/>
<zipfileset dir="" includes="chatzilla.jar"/>
<zipfileset dir="" includes="install.rdf"/>
<zipfileset dir="" includes="jar-chrome.manifest" fullpath="chrome.manifest"/>
<zipfileset dir="" includes="README" />
<zipfileset dir="" includes="defaults/**" excludes="**CVS"/>
<zipfileset dir="" includes="components/chatzilla-service.js" />
</zip>
</target>
<target name="createjar">
<zip destfile="chrome/qa.jar">
<zipfileset dir="chrome" includes="content/**" excludes="**CVS"/>
<zipfileset dir="chrome" includes="skin/**" excludes="**CVS"/>
<zipfileset dir="chrome" includes="locale/**" excludes="**CVS"/>
</zip>
</target>
</project>
10 changes: 10 additions & 0 deletions testing/extensions/community/jar-chrome.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
content qa jar:chrome/qa.jar!/content/
skin qa classic/1.0 jar:chrome/qa.jar!/skin/
locale qa en-US jar:chrome/qa.jar!/locale/en-US/

overlay chrome://browser/content/browser.xul chrome://qa/content/browserOverlays.xul

content chatzilla_qa jar:chatzilla.jar!/content/chatzilla/
skin chatzilla_qa modern/1.0 jar:chatzilla.jar!/skin/modern/chatzilla/
locale chatzilla_qa en-US jar:chatzilla.jar!/locale/en-US/chatzilla/
content chatzillaservice_qa components/chatzilla-service.js

0 comments on commit 3fc611c

Please sign in to comment.