Subversion Repositories eFlore/Applications.cel

Rev

Rev 1370 | Rev 1868 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1370 aurelien 1
<project name="cel_GWT2" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
2
 
1857 raphael 3
  <property name="projectName" value="org.tela_botanica.cel2" />
4
  <property name="celhost" value="cel" /> <!-- ou localhost -->
1370 aurelien 5
 
1857 raphael 6
  <target name="init">
7
	<property file="local.properties" />
8
	<property name="server-url" value="${server-url}" />
9
	<property name="server-login" value="${server-login}" />
10
	<property name="server-password" value="${server-password}" />
11
	<property name="server-dir" value="${server-dir}" />
12
	<property name="gwt-path" value="${gwt-path}" />
13
  </target>
14
 
15
 
16
  <target name="generate-vocabulary" depends="init">
17
	<java classname="com.google.gwt.i18n.tools.I18NSync" fork="true">
18
	  <arg value="org.tela_botanica.client.i18n.VocabulaireMetadonnees" />
19
	  <classpath>
20
		<path>
21
		  <pathelement location="${gwt-path}/gwt-user.jar" />
22
		  <pathelement location="${gwt-path}/gwt-dev.jar" />
23
		  <pathelement location="src" />
24
		</path>
25
	  </classpath>
26
	</java>
27
  </target>
28
 
29
 
30
  <path id="gwt">
31
	<fileset includes="*.jar" dir="${user.home}/gwt/build/lib"/>
32
	<fileset includes="*.jar" dir="${user.home}/gwt-google-apis/maps/build/lib"/>
33
	<fileset includes="*.jar" dir="${user.home}/gwt-ext/build/lib"/>
34
	<fileset includes="*.jar" dir="${user.home}/gwt-ext-ux/build/lib"/>
35
	<pathelement location="src" />
36
  </path>
37
 
38
  <target name="compile">
39
	<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> -->
40
	<java classname="com.google.gwt.dev.Compiler" fork="true">
41
	  <arg line="-style DETAILED ${projectName}"/>
42
	  <!-- <arg line="-out build/gwtOutput"/> -->
43
	  <classpath refid="gwt"/>
44
	</java>
45
  </target>
46
 
47
  <target name="quick">
48
	<java classname="com.google.gwt.dev.Compiler" fork="true">
49
	  <arg line="-style DETAILED -draftCompile ${projectName}" />
50
	  <classpath refid="gwt"/>
51
	</java>
52
  </target>
53
 
54
 
55
  <target name="debug">
56
	<java classname="com.google.gwt.dev.Compiler" fork="true">
57
	  <arg line="-style DETAILED -logLevel DEBUG"/> <!-- TRACE -->
58
	  <arg value="${projectName}" />
59
	  <classpath refid="gwt"/>
60
	</java>
61
  </target>
62
 
63
 
64
  <target name="live">
65
	<java classname="com.google.gwt.dev.DevMode" spawn="true" fork="true">
66
	  <arg line="-startupUrl http://${celhost}/war/cel2.html -noserver -codeServerPort auto ${projectName}" />
67
	  <classpath refid="gwt"/>
68
	</java>
69
  </target>
70
 
71
 
72
</project>