File:  [mozdev] / pagenotes / src / build.xml
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Feb 13 11:01:24 2006 UTC (14 years ago) by aurelien
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

 <?xml version="1.0"?>
 <project name="pagenotes" default="createxpi">

   <target name="createxpi" depends="init, createjar">
     <zip destfile="pagenotes.xpi">
       <zipfileset dir="." includes="chrome/pagenotes.jar" />
       <zipfileset dir="." includes="install.rdf" />
       <zipfileset dir="." includes="chrome.manifest" />
     </zip>
   </target>

   <!-- Everything inside the chrome directory is zipped into "pagenotes.jar",
       which is then put back into the chrome directory. -->
   <target name="createjar">
     <zip destfile="chrome/pagenotes.jar">
       <zipfileset dir="chrome/" includes="content/**" />
     </zip>
   </target>

   <target name="init">
     <delete>
       <fileset dir="." includes="pagenotes*.xpi"/>
       <fileset dir="." includes="chrome/pagenotes.jar" />
     </delete>
   </target>

 </project>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>