summaryrefslogtreecommitdiff
path: root/build.xml
blob: 2b3702736464f617256e5422a1ddc82166672ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== 
     Dec 21, 2009 5:30:28 PM

     SyncKolab    
     Sync your contacts with imap
                   
     gargan
     ====================================================================== -->
<project name="SyncKolab" default="default">
    <description>
            Sync your contacts with imap
    </description>
	<property name="version" value="2.0.2"/>	

    <!-- ================================= 
          target: default              
         ================================= -->
    <target name="default" depends="depends" description="Sync your contacts with imap">
    	<delete>
    		<fileset dir="build">
        		<include name="**/*.*"/>
    		</fileset>
    	</delete>
        <copy todir="build">
        	<fileset dir="src">
        		<include name="**/*.*"/>
        		<exclude name="**/*.orig"/>
        	</fileset>
        </copy>
    	<zip destfile="build/chrome/synckolab.jar" basedir="build/chrome"/>
    	<zip destfile="synckolab-${version}.xpi" basedir="build"/>
    </target>

	<target name="nightly" description="nighlty build">
		
        <copy todir="build">
        	<fileset dir="src">
        		<include name="**/*.*"/>
        	</fileset>
        </copy>
		<replace dir="build" value="http://www.gargan.org/extensions/update.rdf">
			<include name="**/*.*"/>
		</replace>
		
    	<zip destfile="synckolab-AMO-${version}.xpi"/>
	</target>
    <!-- - - - - - - - - - - - - - - - - - 
          target: depends                      
         - - - - - - - - - - - - - - - - - -->
    <target name="depends">
    </target>

</project>