Subversion Repositories eFlore/Applications.del

Rev

Rev 6 | Rev 157 | Go to most recent revision | Details | Compare with Previous | 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
 
30 benjamin 33
	<target name="generate-vocabulary" depends="init">
34
 
35
		<java classname="com.google.gwt.i18n.tools.I18NSync" fork="true" >
36
			<arg value="org.tela_botanica.del.client.i18n.Vocabulary" />
37
			<classpath>
38
				<path>
39
					<pathelement location="${gwt-path}/gwt-user.jar" />
40
					<pathelement location="${gwt-path}/gwt-dev.jar" />
41
					<pathelement location="src" />
42
				</path>
43
			</classpath>
44
		</java>
45
	</target>
46
 
1 aurelien 47
	<target name="build-and-deploy-test" depends="gwt-compile">
6 benjamin 48
		<ftp action="del" server="${server-url}" remotedir="${server-dir}" userid="${server-login}" password="${server-password}">
49
			<fileset dir="*">
50
				<include name="**" />
51
			</fileset>
52
		</ftp>
2 benjamin 53
		<ftp server="${server-url}" remotedir="${server-dir}" userid="${server-login}" password="${server-password}">
6 benjamin 54
			<fileset dir="war" excludes="*.svn" />
1 aurelien 55
		</ftp>
56
	</target>
57
 
58
</project>