Add extension packaging code
authorzach@zachlipton.com
Mon, 30 Jul 2007 13:17:57 -0700
changeset 4094 eeab85586990ecb2c772e795acce36589c59e265
parent 4093 6b61e24b217e7cc56fd7b12bf9e6203848ab552f
child 4095 e9d555cdef7827106f829c4036a8aa6b30da5b8c
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9a7pre
Add extension packaging code
testing/extensions/community/build.xml
testing/extensions/community/jar-chrome.manifest
new file mode 100644
--- /dev/null
+++ b/testing/extensions/community/build.xml
@@ -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>
new file mode 100644
--- /dev/null
+++ b/testing/extensions/community/jar-chrome.manifest
@@ -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
\ No newline at end of file