File:  [mozdev] / delicious / build.xml
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Wed Apr 12 16:15:09 2006 UTC (13 years, 10 months ago) by danielfreitag
Branches: MAIN
CVS tags: v0_6_3_2, v0_6_3, v0_6_2, HEAD
minor updates

<project name="del.icio.us" default="update" basedir=".">
	<property file="build.properties"/>
    
	<target name="build">
	    <delete dir="build"/>
	    <mkdir dir="build/chrome"/>
        <zip destfile="build/chrome/delicious.jar"
           basedir="src/chrome"
        />
        
        <copy file="src/install.rdf" tofile="build/install.rdf">
            <filterset>
              <filter token="version" value="${version}"/>
            </filterset>
       	</copy>
        
        <copy todir="build/defaults">
        	<fileset dir="src/defaults"/>
        </copy>

		<zip destfile="build/delicious-${version}.xpi"
           basedir="build"
        />
	</target>

	<target name="update">
<!--
        <zip destfile="${dir.deploy.extension}/delicious.jar"
           basedir="src/chrome"
        />
-->
        <zip destfile="${dir.deploy.extension.firefox}/delicious.jar"
           basedir="src/chrome"
        />
 <!--       <zip destfile="${dir.deploy.extension.thunderbird}/delicious.jar"
           basedir="src/chrome"
        />
        <zip destfile="${dir.deploy.extension.firefox.test}/delicious.jar"
           basedir="src/chrome"
        />-->
	</target>
</project>

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