gecko/testing/extensions/community/build.xml

33 lines
1.2 KiB
XML
Raw Normal View History

2007-07-30 13:17:57 -07:00
<?xml version="1.0"?>
<!--
build.xml adapted from Shawn Wilsher's rtse
2007-07-30 13:17:57 -07:00
(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">
2007-07-30 13:17:57 -07:00
<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>
2007-07-30 13:17:57 -07:00
</target>
</project>