svn-gvsig-desktop / tags / v2_0_0_Build_2028 / extHelp / build.xml @ 35595
History | View | Annotate | Download (1.76 KB)
1 | 28837 | cordinyana | <project name="Generar extension en Andami" default="help-documentation-zip" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Prepara el manual de usuario para el plugin de de Ayuda de gvSIG en Andami. |
||
4 | 16273 | afraile | </description>
|
5 | 28837 | cordinyana | <!-- set global properties for this build -->
|
6 | <property name="dist" location="dist-temp" /> |
||
7 | <property name="plugin" value="org.gvsig.help" /> |
||
8 | <property name="extension-dir" location="../build/product/gvSIG/extensiones" /> |
||
9 | <property name="mydist" location="dist" /> |
||
10 | <import file="../binaries/ant/utilities.xml" /> |
||
11 | 16273 | afraile | |
12 | 28837 | cordinyana | <target name="init"> |
13 | <!-- Create the time stamp -->
|
||
14 | <tstamp /> |
||
15 | <!-- Create the build directory structure used by compile -->
|
||
16 | <mkdir dir="${dist}" /> |
||
17 | 16273 | afraile | </target>
|
18 | |||
19 | <target name="help-documentation-zip"> |
||
20 | 16340 | jmvivo | |
21 | 28837 | cordinyana | <!--get src="http://"
|
22 | 16340 | jmvivo | dest="${mydist}/gvSIG/manual-de-usuario.zip"
|
23 | 16273 | afraile | /-->
|
24 | 16340 | jmvivo | |
25 | 28837 | cordinyana | <unzip src="${mydist}/gvSIG/manual-de-usuario.zip" dest="${mydist}/gvSIG"> |
26 | <patternset>
|
||
27 | <include name="manual-de-usuario/es/map.jhm" /> |
||
28 | </patternset>
|
||
29 | 16273 | afraile | </unzip>
|
30 | 16340 | jmvivo | |
31 | 28837 | cordinyana | <loadfile property="add_text" srcFile="${mydist}/gvSIG/map.jhm.add" /> |
32 | <loadfile property="end_text" srcFile="${mydist}/gvSIG/end.add" /> |
||
33 | 16340 | jmvivo | |
34 | 28837 | cordinyana | <property name="total" value="${add_text}${end_text}" /> |
35 | 16340 | jmvivo | |
36 | <replace file="${mydist}/gvSIG/manual-de-usuario/es/map.jhm" value="${total}"> |
||
37 | 28837 | cordinyana | <replacetoken>
|
38 | <![CDATA[</map>]]></replacetoken> |
||
39 | 16273 | afraile | </replace>
|
40 | 16340 | jmvivo | |
41 | 28837 | cordinyana | <zip destfile="${dist}/gvSIG/manual-de-usuario.zip" basedir="${mydist}/gvSIG" includes="manual-de-usuario/**/**" excludes="**/*.db" update="true" /> |
42 | 16273 | afraile | </target>
|
43 | |||
44 | <target name="move-to-andami"> |
||
45 | <move todir="${extension-dir}/${plugin}/"> |
||
46 | 28837 | cordinyana | <fileset dir="${dist}" includes="**/**" /> |
47 | 16273 | afraile | </move>
|
48 | </target>
|
||
49 | 16340 | jmvivo | |
50 | <target name="clean"> |
||
51 | 28837 | cordinyana | <delete dir="${dist}" failonerror="no" /> |
52 | 16273 | afraile | </target>
|
53 | |||
54 | 28837 | cordinyana | </project> |