testing/extensions/community/build.xml
author Mike Hommey <mh+mozilla@glandium.org>
Sat, 04 Aug 2012 08:48:56 +0200
changeset 104533 2ef51674316aadfe26a46877b16794f758bf4b6d
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.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>