Subversion Repositories eFlore/Applications.del

Rev

Rev 974 | Rev 1459 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 974 Rev 1012
Line 62... Line 62...
62
 
62
 
63
		<!-- Avant de redeployer supprime sur le serveur tous les fichiers et repertoires sauf ceux configures pour apache-->
63
		<!-- Avant de redeployer supprime sur le serveur tous les fichiers et repertoires sauf ceux configures pour apache-->
64
		<ftp action="del" server="${server-url}" remotedir="${server-dir}/" userid="${server-login}" password="${server-password}">
64
		<ftp action="del" server="${server-url}" remotedir="${server-dir}/" userid="${server-login}" password="${server-password}">
65
			<fileset>
65
			<fileset>
66
				<include name="**/*" />
66
				<include name="**/*" />
67
				<exclude name="jrest/.htaccess" />
67
				<exclude name="services/framework.php" />
68
				<exclude name="jrest/jrest.ini.php" />
68
				<exclude name="services/configurations/*" />
69
			</fileset>
69
			</fileset>
70
		</ftp>
70
		</ftp>
Line 71... Line 71...
71
	</target>
71
	</target>
Line 87... Line 87...
87
			</fileset>
87
			</fileset>
88
		</ftp>
88
		</ftp>
89
	</target>
89
	</target>
Line 90... Line 90...
90
 
90
 
91
	<target name="copy-php-files-to-server" depends="init-server-properties">
-
 
92
		<ftp server="${server-url}" remotedir="${server-dir}/jrest" userid="${server-login}" password="${server-password}">
-
 
93
			<fileset dir="jrest" excludes="*.svn">
-
 
94
				<include name="**/*" />
-
 
95
				<exclude name=".htaccess" />
-
 
96
				<exclude name="jrest.ini.php" />
-
 
97
			</fileset>
-
 
98
		</ftp>
-
 
99
		
91
	<target name="copy-php-files-to-server" depends="init-server-properties">
100
		<ftp server="${server-url}" remotedir="${server-dir}/services" userid="${server-login}" password="${server-password}">
92
		<ftp server="${server-url}" remotedir="${server-dir}/services" userid="${server-login}" password="${server-password}">
101
			<fileset dir="services" excludes="*.svn">
93
			<fileset dir="services" excludes="*.svn">
-
 
94
				<include name="**/*" />
-
 
95
				<exclude name="configurations/*" />
102
				<include name="**/*" />
96
				<exclude name="framework.php" />
103
			</fileset>
97
			</fileset>
104
		</ftp>
98
		</ftp>
Line 105... Line 99...
105
	</target>
99
	</target>
Line 132... Line 126...
132
		<copy todir="${local-deploy-path}">
126
		<copy todir="${local-deploy-path}">
133
			<fileset dir="war" excludes="*.svn">
127
			<fileset dir="war" excludes="*.svn">
134
			</fileset>
128
			</fileset>
135
		</copy>
129
		</copy>
Line 136... Line -...
136
 
-
 
137
		<copy todir="${local-deploy-path}/jrest">
-
 
138
			<fileset dir="jrest" excludes="*.svn" />
-
 
139
		</copy>
-
 
140
 
130
 
141
		<antcall target="filter-local-config-files">
131
		<antcall target="filter-local-config-files">
142
		</antcall>
132
		</antcall>
143
		<copy todir="${local-deploy-path}/config" filtering="true">
133
		<copy todir="${local-deploy-path}/config" filtering="true">
144
			<fileset dir="war/config" excludes="*.svn" />
134
			<fileset dir="war/config" excludes="*.svn" />