testing/extensions/community/build.xml
author ctalbert@mozilla.com
Mon, 10 Sep 2007 15:01:06 -0700
changeset 5843 79e8c861a0dd70389b8ea77092fbff989b24cd2f
parent 4259 e9d94436d695037e410e8dd96f180fa0d9a696a1
child 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 395466 Checking in patch by Ben_H for QA Extension

<?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="platform/**" 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>