Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_2_1_Build_1046 / binaries / build.xml @ 33778

History | View | Annotate | Download (1.77 KB)

1 9205 cesar
<project name="binaries" default="main" basedir=".">
2
    <description>
3
        Reorganiza el directorio binaries, para que pueda usarse directamente por gvSIG.
4
    </description>
5
6
        <target name="main">
7
                <description>Reorders the directory for the current platform, so that it
8
                        can be used by gvSIG.</description>
9
                <condition property="isLinux">
10
                        <os family="unix"/>
11
                </condition>
12
13
                <condition property="isWindows">
14
                        <or>
15
                                <os family="windows"/>
16
                                <os family="win9x"/>
17
                        </or>
18
                </condition>
19
20
                <condition property="isMac">
21
                        <os family="mac"/>
22
                </condition>
23 18953 jpiera
                <!--
24
                <echo>
25
                        isWindow=${isWindows}
26
                    isLinux=${isLinuSx}
27
                        isMac=${isMac}
28
                </echo>
29
                -->
30 9205 cesar
                <antcall target="linux" />
31
                <antcall target="windows" />
32
                <antcall target="mac" />
33
34
        </target>
35
36
        <target name="build-all">
37
                <description>Reorders the directory for all the platforms, so that it
38
                        can be used by gvSIG.</description>
39
                  <ant dir="linux"  inheritAll="false" />
40
                  <ant dir="w32"  inheritAll="false" />
41
                  <ant dir="mac"  inheritAll="false" />
42
        </target>
43
44
        <target name="linux" if="isLinux">
45 18953 jpiera
                <echo>Linux OS detected... calling linux/build.xml</echo>
46 9205 cesar
                  <ant dir="linux"  inheritAll="false" />
47
        </target>
48
49 18953 jpiera
        <target name="windows" if="isWindows">
50
                <echo>Win OS detected... calling w32/build.xml</echo>
51 9205 cesar
                  <ant dir="w32"  inheritAll="false" />
52
        </target>
53
54 18953 jpiera
        <target name="mac" if="isMac">
55
                <echo>Mac OSX detected... calling mac/build.xml</echo>
56 9205 cesar
                  <ant dir="mac"  inheritAll="false" />
57
        </target>
58
59
        <target name="clean">
60
                <description>
61
                        Restores the directory to its original shape.
62
                </description>
63
                  <ant target="clean" dir="linux"  inheritAll="false" />
64
                  <ant target="clean" dir="w32"  inheritAll="false" />
65
                  <ant target="clean" dir="mac"  inheritAll="false" />
66
        </target>
67
</project>