Revision 13805
trunk/binaries/build.xml | ||
---|---|---|
12 | 12 |
<description>Reorders the directory for the current platform, so that it |
13 | 13 |
can be used by gvSIG.</description> |
14 | 14 |
<echo> Sistema operativo: ${os.name}</echo> |
15 |
|
|
15 |
|
|
16 | 16 |
<condition property="isLinux"> |
17 | 17 |
<os family="unix"/> |
18 | 18 |
</condition> |
... | ... | |
29 | 29 |
<os family="mac"/> |
30 | 30 |
</condition> |
31 | 31 |
|
32 |
<condition property="is_OS_dectected"> |
|
33 |
<or> |
|
34 |
<istrue value="${isLinux}"/> |
|
35 |
<istrue value="${isWindows}"/> |
|
36 |
<istrue value="${isMac}"/> |
|
37 |
</or> |
|
38 |
|
|
39 |
</condition> |
|
40 |
|
|
41 |
|
|
32 | 42 |
<antcall target="linux" /> |
33 | 43 |
<antcall target="windows" /> |
34 | 44 |
<antcall target="mac" /> |
35 |
|
|
45 |
<antcall target="no_SO_Detected" /> |
|
36 | 46 |
|
47 |
|
|
37 | 48 |
</target> |
38 | 49 |
|
39 | 50 |
<target name="build-all"> |
... | ... | |
46 | 57 |
|
47 | 58 |
<target name="linux" if="isLinux"> |
48 | 59 |
<ant dir="linux" inheritAll="false" /> |
60 |
<echo> Compilando librerias linux </echo> |
|
49 | 61 |
</target> |
50 | 62 |
|
51 | 63 |
<target name="windows" if="isWindows"> |
... | ... | |
55 | 67 |
|
56 | 68 |
<target name="mac" if="isMac"> |
57 | 69 |
<ant dir="mac" inheritAll="false" /> |
70 |
<echo> Compilando librerias mac </echo> |
|
58 | 71 |
</target> |
59 | 72 |
|
73 |
<target name="no_SO_Detected" unless="is_OS_dectected"> |
|
74 |
<fail message="Error al detectar el Sistema Operativo"/> |
|
75 |
</target> |
|
76 |
|
|
60 | 77 |
<target name="clean"> |
61 | 78 |
<description> |
62 | 79 |
Restores the directory to its original shape. |
Also available in: Unified diff