Subversion Repositories eFlore/Applications.del

Rev

Rev 1 | Rev 6 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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