File:  [mozdev] / foxgame / build.xml
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Thu Jul 3 21:26:31 2008 UTC (10 years, 8 months ago) by frisco82
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

<project basedir="src" default="jar">

    <target name="us">
    	<delete dir="build"/>
        <mkdir dir="build/chrome"/>
        <zip destfile="build/chrome/foxgame.jar" compress="false" basedir="chrome" excludes="CVS*,Nuevo*,locale/**" />
        <zip destfile="build/chrome/foxgame.jar" compress="false" basedir="chrome" includes="locale/en-US/**" update="true"/>    	
    	<copy file="install-US.rdf" tofile="build/install.rdf"/>
    	<copy file="install-US.js" tofile="build/install.js"/>
    	<copy todir="build/defaults">
    		<fileset dir="defaults"/>
    	</copy>
    	<copy file="chrome.manifest-US" tofile="build/chrome.manifest"/>    	
    	<zip destfile="foxgame-US.xpi" basedir="build" excludes="CVS*" level="9"/>
    	<delete dir="build"/>
    </target>

    <target name="main">
    	<delete dir="build"/>    	
        <mkdir dir="build/chrome"/>
        <zip destfile="build/chrome/foxgame.jar" compress="false" basedir="chrome" excludes="CVS*,Nuevo*" />    	
    	<copy file="install-GL.rdf" tofile="build/install.rdf"/>
    	<copy file="install-GL.js" tofile="build/install.js"/>
    	<copy todir="build/defaults">
    		<fileset dir="defaults"/>
    	</copy>
    	<copy file="chrome.manifest-GL" tofile="build/chrome.manifest"/>    	
    	<zip destfile="foxgame.xpi" basedir="build" excludes="CVS*" level="9"/>
    	<delete dir="build"/>
    </target>

	<target name="jar" depends="main" />
</project>

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