svn-gvsig-desktop / tags / gvSIG_3D_Animation_1_9_SNAPSHOT_build_13 / binaries / build.xml @ 40245
History | View | Annotate | Download (2.26 KB)
1 | 13295 | jmvivo | <project name="binaries_build" default="main" basedir="."> |
---|---|---|---|
2 | <dirname file="${ant.file.binaries}" property="ant.file.binaries.dir"/> |
||
3 | <import file="${basedir}/ant/utilities.xml"/> |
||
4 | 13125 | jmvivo | <description>
|
5 | Reorganiza el directorio binaries, para que pueda usarse directamente por gvSIG. |
||
6 | </description>
|
||
7 | 13295 | jmvivo | |
8 | <target name="batch-build" |
||
9 | depends="main"/> |
||
10 | |||
11 | 13125 | jmvivo | <target name="main"> |
12 | <description>Reorders the directory for the current platform, so that it
|
||
13 | can be used by gvSIG.</description>
|
||
14 | 13722 | fjp | <echo> Sistema operativo: ${os.name}</echo> |
15 | 13805 | jmvivo | |
16 | 13125 | jmvivo | <condition property="isLinux"> |
17 | 32076 | rgaitan | <and>
|
18 | <os family="unix"/> |
||
19 | <not>
|
||
20 | <os family="mac"/> |
||
21 | </not>
|
||
22 | </and>
|
||
23 | 13125 | jmvivo | </condition>
|
24 | 13295 | jmvivo | |
25 | 13125 | jmvivo | <condition property="isWindows"> |
26 | <or>
|
||
27 | <os family="windows"/> |
||
28 | <os family="win9x"/> |
||
29 | 13722 | fjp | <os name="Windows Vista"/> |
30 | 13125 | jmvivo | </or>
|
31 | </condition>
|
||
32 | 13295 | jmvivo | |
33 | 13125 | jmvivo | <condition property="isMac"> |
34 | <os family="mac"/> |
||
35 | </condition>
|
||
36 | 13295 | jmvivo | |
37 | 13805 | jmvivo | <condition property="is_OS_dectected"> |
38 | <or>
|
||
39 | <istrue value="${isLinux}"/> |
||
40 | <istrue value="${isWindows}"/> |
||
41 | <istrue value="${isMac}"/> |
||
42 | </or>
|
||
43 | |||
44 | </condition>
|
||
45 | |||
46 | |||
47 | 13125 | jmvivo | <antcall target="linux" /> |
48 | <antcall target="windows" /> |
||
49 | <antcall target="mac" /> |
||
50 | 13805 | jmvivo | <antcall target="no_SO_Detected" /> |
51 | 13125 | jmvivo | |
52 | 13805 | jmvivo | |
53 | 13125 | jmvivo | </target>
|
54 | 13295 | jmvivo | |
55 | 13125 | jmvivo | <target name="build-all"> |
56 | <description>Reorders the directory for all the platforms, so that it
|
||
57 | can be used by gvSIG.</description>
|
||
58 | <ant dir="linux" inheritAll="false" /> |
||
59 | <ant dir="w32" inheritAll="false" /> |
||
60 | <ant dir="mac" inheritAll="false" /> |
||
61 | </target>
|
||
62 | 13295 | jmvivo | |
63 | 13125 | jmvivo | <target name="linux" if="isLinux"> |
64 | <ant dir="linux" inheritAll="false" /> |
||
65 | 13805 | jmvivo | <echo> Compilando librerias linux </echo> |
66 | 13125 | jmvivo | </target>
|
67 | 13295 | jmvivo | |
68 | 13722 | fjp | <target name="windows" if="isWindows"> |
69 | 13125 | jmvivo | <ant dir="w32" inheritAll="false" /> |
70 | 13722 | fjp | <echo> Compilando librerias w32 </echo> |
71 | 13125 | jmvivo | </target>
|
72 | |||
73 | 13722 | fjp | <target name="mac" if="isMac"> |
74 | 13125 | jmvivo | <ant dir="mac" inheritAll="false" /> |
75 | 13805 | jmvivo | <echo> Compilando librerias mac </echo> |
76 | 13125 | jmvivo | </target>
|
77 | 13295 | jmvivo | |
78 | 13805 | jmvivo | <target name="no_SO_Detected" unless="is_OS_dectected"> |
79 | <fail message="Error al detectar el Sistema Operativo"/> |
||
80 | </target>
|
||
81 | |||
82 | 13125 | jmvivo | <target name="clean"> |
83 | <description>
|
||
84 | Restores the directory to its original shape. |
||
85 | </description>
|
||
86 | <ant target="clean" dir="linux" inheritAll="false" /> |
||
87 | <ant target="clean" dir="w32" inheritAll="false" /> |
||
88 | 32076 | rgaitan | <ant target="clean" dir="mac" inheritAll="false" /> |
89 | 13125 | jmvivo | </target>
|
90 | 32076 | rgaitan | </project> |