svn-gvsig-desktop / tags / v1_12_0_Build_1417 / install / deploy.xml
History | View | Annotate | Download (2.8 KB)
1 | 38072 | fpuga | <project name="Deploy gvSIG" default="createInstallersFromSource" basedir="../appgvSIG"> |
---|---|---|---|
2 | 38066 | fpuga | <description>
|
3 | Ant file to deploy gvSIG |
||
4 | </description>
|
||
5 | |||
6 | <!-- overides gvSIG_projects, mandatoryProjets-->
|
||
7 | <import file="../install/gvsig_default_installation_projects.xml"/> |
||
8 | <!-- be aware to not overwrite the appgvSIG targets -->
|
||
9 | <import file="../appgvSIG/build.xml"/> |
||
10 | |||
11 | 38072 | fpuga | |
12 | |||
13 | <!-- IMPORTANT. Change the location to match your settings -->
|
||
14 | <property name="launch4j.dir" location="/usr/local/development/launch4j" /> |
||
15 | |||
16 | <taskdef name="launch4j" |
||
17 | classname="net.sf.launch4j.ant.Launch4jTask" |
||
18 | classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar" /> |
||
19 | |||
20 | <target name="createWindowsExecutables"> |
||
21 | 38066 | fpuga | |
22 | 38072 | fpuga | <loadproperties srcFile="${basedir}/package.info"/> |
23 | <launch4j configFile="../install/launch4j/gvsig.xml" |
||
24 | fileVersion="${gvSIG-version}.${buildNumber}" |
||
25 | txtFileVersion="${gvSIG-version} build ${buildNumber}" |
||
26 | productVersion="${gvSIG-version}.${buildNumber}" |
||
27 | txtProductVersion="${gvSIG-version} build ${buildNumber}" |
||
28 | />
|
||
29 | |||
30 | <launch4j configFile="../install/launch4j/gvsig_package_installer.xml" |
||
31 | fileVersion="${gvSIG-version}.${buildNumber}" |
||
32 | txtFileVersion="${gvSIG-version} build ${buildNumber}" |
||
33 | productVersion="${gvSIG-version}.${buildNumber}" |
||
34 | txtProductVersion="${gvSIG-version} build ${buildNumber}" |
||
35 | />
|
||
36 | </target>
|
||
37 | |||
38 | <target name="buildFromSource"> |
||
39 | 38066 | fpuga | <!--
|
40 | TODO: ¿Delete ${dist}?. {Delete _fwAndami/lib and the remaining stuff in root _fwAndami?
|
||
41 | -->
|
||
42 | <antcall target="clean-all" inheritAll="false"> |
||
43 | <param name="gvSIG_projects" value="${gvSIG_dist}" /> |
||
44 | <param name="mandatoryProjets" value="${gvSIG_dist}" /> |
||
45 | </antcall>
|
||
46 | |||
47 | <ant antfile="../appgvSIG/build.xml" target="buildNumber" inheritall="false" /> |
||
48 | |||
49 | <!-- Build and move to _fwAndami all projects -->
|
||
50 | <!-- TODO:
|
||
51 | This target compile for 1.5. Maybe we should use 1.6
|
||
52 | Maybe "make-binary-distribution" should be used. That target makes: clean-all, build-number, build-all
|
||
53 | We should thing about debug=on and debug-level
|
||
54 | -->
|
||
55 | <antcall target="build-all" inheritAll="false"> |
||
56 | <param name="gvSIG_projects" value="${gvSIG_dist}" /> |
||
57 | <param name="mandatoryProjets" value="${gvSIG_dist}" /> |
||
58 | </antcall>
|
||
59 | 38387 | fpuga | <ant antfile="../gvsig_bindings/build.xml" inheritall="false" /> |
60 | 38066 | fpuga | |
61 | <!-- fpuga. Workaround to get the binaries "compiled" at the same time for both platforms -->
|
||
62 | <ant antfile="../binaries/w32/build.xml" inheritall="false" /> |
||
63 | <ant antfile="../binaries/linux/build.xml" inheritall="false" /> |
||
64 | 38072 | fpuga | </target>
|
65 | 38066 | fpuga | |
66 | 38072 | fpuga | <target name="createInstallers"> |
67 | <ant antfile="../install/installjammer/build.xml" inheritall="false" /> |
||
68 | </target>
|
||
69 | |||
70 | <target name="createInstallersFromSource" depends="buildFromSource,createWindowsExecutables,createInstallers"> |
||
71 | </target>
|
||
72 | 38066 | fpuga | |
73 | </project> |