Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 aurelien 1
<project name="del" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
2
 
2 benjamin 3
	<target name="init">
4
		<property file="local.properties" />
5
		<property name="server-url" value="${server-url}" />
6
		<property name="server-login" value="${server-login}" />
7
		<property name="server-password" value="${server-password}" />
8
		<property name="server-dir" value="${server-dir}" />
9
		<property name="gwt-path" value="${gwt-path}" />
10
	</target>
11
 
12
	<target name="gwt-compile" depends="init">
1 aurelien 13
		<java classname="com.google.gwt.dev.Compiler" fork="true">
14
			<arg line="-logLevel INFO" />
15
			<arg line="-style OBF" />
16
			<arg value="org.tela_botanica.del.Del" />
17
			<classpath>
18
				<path>
19
					<pathelement location="${gwt-path}/gwt-user.jar" />
20
					<pathelement location="${gwt-path}/gwt-dev.jar" />
21
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
22
					<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
23
					<pathelement location="src" />
24
					<fileset dir="war/WEB-INF/lib">
25
						<include name="**/*.jar" />
26
						<include name="**/*.xml" />
27
					</fileset>
28
				</path>
29
			</classpath>
30
		</java>
31
	</target>
32
 
33
	<target name="build-and-deploy-test" depends="gwt-compile">
6 benjamin 34
		<ftp action="del" server="${server-url}" remotedir="${server-dir}" userid="${server-login}" password="${server-password}">
35
			<fileset dir="*">
36
				<include name="**" />
37
			</fileset>
38
		</ftp>
2 benjamin 39
		<ftp server="${server-url}" remotedir="${server-dir}" userid="${server-login}" password="${server-password}">
6 benjamin 40
			<fileset dir="war" excludes="*.svn" />
1 aurelien 41
		</ftp>
42
	</target>
43
 
44
</project>