Revision 34470 trunk/extensions/extHelp/build.xml

View differences:

build.xml
19 19
    <!-- Create the build directory structure used by compile -->
20 20
    <mkdir dir="${build}"/>
21 21
    <mkdir dir="${dist}"/>
22
    <mkdir dir="${dist}/manuals"/>
22 23

  
23 24
  </target>
24 25

  
25 26
	<target name="batch-build"
26 27
		description="compile the sources, create the jar file"
27
		depends="init,compile,create-jar,copy-data-files,help-documentation-zip,move-to-andami">
28
		depends="init,compile,create-jar,copy-data-files,move-to-andami">
28 29
	</target>
29 30

  
30 31
	<target name="compile" description="compile the source" >
......
39 40

  
40 41
	<target name="generate-without-source"
41 42
  		description="generate the distribution without the source file"
42
	  	depends="init,create-jar,copy-data-files,help-documentation-zip,move-to-andami">
43
	  	depends="init,create-jar,copy-data-files,move-to-andami">
43 44

  
44 45
	</target>
45 46

  
......
59 60

  
60 61
	</target>
61 62

  
62
	<target name="help-documentation-zip">
63 63

  
64
		 <!--get src="http://"
65
		 	dest="${mydist}/gvSIG/manual-de-usuario.zip"
66
	 	 /-->
67

  
68

  
69
		<unzip src="${mydist}/gvSIG/manual-de-usuario.zip"
70
		       dest="${mydist}/gvSIG">
71
		    <patternset>
72
		        <include name="manual-de-usuario/es/map.jhm"/>
73
		    </patternset>
74
		</unzip>
75

  
76
		<loadfile property="add_text"
77
		      srcFile="${mydist}/gvSIG/map.jhm.add"/>
78
		<loadfile property="end_text"
79
		      srcFile="${mydist}/gvSIG/end.add"/>
80

  
81
		<property name="total" value="${add_text}${end_text}"/>
82

  
83
		<replace file="${mydist}/gvSIG/manual-de-usuario/es/map.jhm" value="${total}">
84
			  <replacetoken><![CDATA[</map>]]></replacetoken>
85
		</replace>
86

  
87
		<zip destfile="${dist}/gvSIG/manual-de-usuario.zip"
88
  	  		 basedir="${mydist}/gvSIG"
89
  			 includes="manual-de-usuario/**/**"
90
			 excludes="**/*.db"
91
		 	 update="true"/>
92
	</target>
93

  
94 64
	<target name="move-to-andami">
95 65
		<move todir="${extension-dir}/${plugin}/">
96 66
			<fileset dir="${dist}" includes="**/**"/>

Also available in: Unified diff