Revision 14402 tags/tmp_build/install/build.xml

View differences:

build.xml
1 1
<?xml version="1.0" ?>
2 2
<project default="main">
3 3

  
4

  
4
    <defaultexcludes add="**/.svn"/>
5
	<defaultexcludes add="**/.svn/**"/>
6
	<defaultexcludes add="**/_svn"/>
7
	<defaultexcludes add="**/_svn/**"/>
5 8
	<property file="../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/build.number"/>
6 9
	<import file="../binaries/ant/utilities.xml"/>
7 10
	<taskdef name="jarbundler" classname="net.sourceforge.jarbundler.JarBundler" >
......
155 158
			</fileset>
156 159
		</copy>
157 160
		<chmod file="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher-Linux" perm="ugo+rx"/>
161
		<chmod file="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/install_jre.sh" perm="ugo+rx"/>
158 162

  
159 163
		<copy file="${DIR_LIN}/resources/launcher.ini.j15" tofile="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini"/>
160 164
		<replace file="${DIR_LIN}/${INSTALLER_DIR}/tmp_gvSIGInstall/launcher.ini" token="%JARNAME%" value="${JARNAME}"/>
......
163 167
		<tar destfile="${DIR_LIN}/${INSTALLER_DIR}/tmp.tgz"  compression="gzip">
164 168
			<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}" mode="755" >
165 169
				<include name="tmp_gvSIGInstall/launcher-Linux"/>
170
				<include name="tmp_gvSIGInstall/install_jre.sh"/>
166 171
			</tarfileset>
167 172
			<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}">
168 173
				<include name="tmp_gvSIGInstall/*"/>
169 174
				<exclude name="tmp_gvSIGInstall/launcher-Linux"/>
175
				<exclude name="tmp_gvSIGInstall/install_jre.sh"/>
170 176
			</tarfileset>
171 177
		</tar>
172 178
<!-- 		copiamos la jre y volvemos a comprimir en tmp_wjre.tgz -->
......
176 182
		<tar destfile="${DIR_LIN}/${INSTALLER_DIR}/tmp_wjre.tgz" compression="gzip">
177 183
			<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}" mode="755" >
178 184
				<include name="tmp_gvSIGInstall/launcher-Linux"/>
185
				<include name="tmp_gvSIGInstall/install_jre.sh"/>
179 186
			</tarfileset>
180 187
			<tarfileset dir="${DIR_LIN}/${INSTALLER_DIR}">
181 188
				<include name="tmp_gvSIGInstall/*"/>
182 189
				<exclude name="tmp_gvSIGInstall/launcher-Linux"/>
190
				<exclude name="tmp_gvSIGInstall/install_jre.sh"/>
183 191
			</tarfileset>
184 192
		</tar>
185 193
		<echo message="#!/bin/sh${line.separator}" file="${DIR_LIN}/${INSTALLER_DIR}/xx.tmp" />

Also available in: Unified diff