svn-gvsig-desktop / tags / v1_0_2_Build_909 / binaries / build.xml @ 11150
History | View | Annotate | Download (1.51 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 | |||
24 | <antcall target="linux" /> |
||
25 | <antcall target="windows" /> |
||
26 | <antcall target="mac" /> |
||
27 | |||
28 | </target>
|
||
29 | |||
30 | <target name="build-all"> |
||
31 | <description>Reorders the directory for all the platforms, so that it
|
||
32 | can be used by gvSIG.</description>
|
||
33 | <ant dir="linux" inheritAll="false" /> |
||
34 | <ant dir="w32" inheritAll="false" /> |
||
35 | <ant dir="mac" inheritAll="false" /> |
||
36 | </target>
|
||
37 | |||
38 | <target name="linux" if="isLinux"> |
||
39 | <ant dir="linux" inheritAll="false" /> |
||
40 | </target>
|
||
41 | |||
42 | <target name="windows" if="${isWindows}"> |
||
43 | <ant dir="w32" inheritAll="false" /> |
||
44 | </target>
|
||
45 | |||
46 | <target name="mac" if="${isMac}"> |
||
47 | <ant dir="mac" inheritAll="false" /> |
||
48 | </target>
|
||
49 | |||
50 | <target name="clean"> |
||
51 | <description>
|
||
52 | Restores the directory to its original shape. |
||
53 | </description>
|
||
54 | <ant target="clean" dir="linux" inheritAll="false" /> |
||
55 | <ant target="clean" dir="w32" inheritAll="false" /> |
||
56 | <ant target="clean" dir="mac" inheritAll="false" /> |
||
57 | </target>
|
||
58 | </project> |