Line 6... |
Line 6... |
6 |
<fileset includes="*.jar" dir="${user.home}/src/gwt/gwt/build/lib"/>
|
6 |
<fileset includes="*.jar" dir="${user.home}/src/gwt/gwt/build/lib"/>
|
7 |
<fileset includes="cobogw-1.3.2.jar" dir="${user.home}/src/gwt"/>
|
7 |
<fileset includes="cobogw-1.3.2.jar" dir="${user.home}/src/gwt"/>
|
8 |
<pathelement location="src" />
|
8 |
<pathelement location="src" />
|
9 |
</path>
|
9 |
</path>
|
Line 10... |
Line -... |
10 |
|
- |
|
11 |
<target name="quick">
|
- |
|
12 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
- |
|
13 |
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
|
- |
|
14 |
<classpath refid="gwt"/>
|
- |
|
15 |
</java>
|
- |
|
16 |
</target>
|
- |
|
17 |
|
- |
|
18 |
<target name="compile">
|
- |
|
19 |
<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> -->
|
- |
|
20 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
- |
|
21 |
<arg line="-localWorkers 4 -style DETAILED ${projectName}"/>
|
- |
|
22 |
<!-- <arg line="-out build/gwtOutput"/> -->
|
- |
|
23 |
<classpath refid="gwt"/>
|
- |
|
24 |
</java>
|
- |
|
25 |
</target>
|
- |
|
26 |
|
- |
|
27 |
|
10 |
|
28 |
<target name="init-local-properties">
|
11 |
<target name="init-local-properties">
|
29 |
<property file="local.properties" />
|
12 |
<property file="local.properties" />
|
30 |
<property name="gwt-path" value="${gwt-path}" />
|
13 |
<property name="gwt-path" value="${gwt-path}" />
|
31 |
<property name="webservices-root-url" value="${webservices-root-url}" />
|
14 |
<property name="webservices-root-url" value="${webservices-root-url}" />
|
Line 38... |
Line 21... |
38 |
<property name="server-password" value="${server-password}" />
|
21 |
<property name="server-password" value="${server-password}" />
|
39 |
<property name="server-dir" value="${server-dir}" />
|
22 |
<property name="server-dir" value="${server-dir}" />
|
40 |
<property name="webservices-root-url" value="${webservices-root-url}" />
|
23 |
<property name="webservices-root-url" value="${webservices-root-url}" />
|
41 |
</target>
|
24 |
</target>
|
Line 42... |
Line 25... |
42 |
|
25 |
|
- |
|
26 |
<target name="compile" depends="init-local-properties">
|
- |
|
27 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
- |
|
28 |
<arg line="-logLevel INFO" />
|
- |
|
29 |
<arg line="-style OBF" />
|
- |
|
30 |
<arg value="org.tela_botanica.del.Del" />
|
- |
|
31 |
<classpath>
|
- |
|
32 |
<path>
|
- |
|
33 |
<pathelement location="${gwt-path}/gwt-user.jar" />
|
- |
|
34 |
<pathelement location="${gwt-path}/gwt-dev.jar" />
|
- |
|
35 |
<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" />
|
- |
|
36 |
<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" />
|
- |
|
37 |
<pathelement location="src" />
|
- |
|
38 |
<pathelement location="war/WEB-INF/classes" />
|
- |
|
39 |
<fileset dir="lib">
|
- |
|
40 |
<include name="**/*.jar" />
|
- |
|
41 |
</fileset>
|
- |
|
42 |
</path>
|
- |
|
43 |
</classpath>
|
- |
|
44 |
</java>
|
- |
|
45 |
</target>
|
- |
|
46 |
|
43 |
<target name="gwt-compile" depends="init-local-properties">
|
47 |
<target name="compile-quick" depends="init-local-properties">
|
- |
|
48 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
44 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
49 |
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
|
45 |
<arg line="-logLevel INFO" />
|
50 |
<arg line="-logLevel INFO" />
|
46 |
<arg line="-style OBF" />
|
51 |
<arg line="-style OBF" />
|
47 |
<arg value="org.tela_botanica.del.Del" />
|
52 |
<arg value="org.tela_botanica.del.Del" />
|
48 |
<classpath>
|
53 |
<classpath>
|
Line 82... |
Line 87... |
82 |
<antcall target="copy-php-files-to-server" />
|
87 |
<antcall target="copy-php-files-to-server" />
|
83 |
<antcall target="copy-config-files-to-server" />
|
88 |
<antcall target="copy-config-files-to-server" />
|
84 |
</target>
|
89 |
</target>
|
Line 85... |
Line 90... |
85 |
|
90 |
|
86 |
<target name="remove-server-files" depends="init-server-properties">
|
- |
|
87 |
|
91 |
<target name="remove-server-files" depends="init-server-properties">
|
88 |
<!-- Avant de redeployer supprime sur le serveur tous les fichiers et repertoires sauf ceux configures pour apache-->
|
92 |
<!-- Avant de redeployer supprime sur le serveur tous les fichiers et repertoires sauf ceux configures pour apache-->
|
89 |
<ftp action="del" server="${server-url}" remotedir="${server-dir}/" userid="${server-login}" password="${server-password}">
|
93 |
<ftp action="del" server="${server-url}" remotedir="${server-dir}/" userid="${server-login}" password="${server-password}">
|
90 |
<fileset>
|
94 |
<fileset>
|
91 |
<include name="**/*" />
|
95 |
<include name="**/*" />
|
Line 136... |
Line 140... |
136 |
<ftp server="${server-url}" remotedir="${server-dir}/config" userid="${server-login}" password="${server-password}">
|
140 |
<ftp server="${server-url}" remotedir="${server-dir}/config" userid="${server-login}" password="${server-password}">
|
137 |
<fileset dir="target/config" excludes="*.svn" />
|
141 |
<fileset dir="target/config" excludes="*.svn" />
|
138 |
</ftp>
|
142 |
</ftp>
|
139 |
</target>
|
143 |
</target>
|
Line 140... |
Line -... |
140 |
|
- |
|
141 |
|
- |
|
142 |
|
144 |
|
143 |
<target name="build-and-deploy-local">
|
145 |
<target name="build-and-deploy-local">
|
144 |
<antcall target="gwt-compile" />
|
146 |
<antcall target="gwt-compile" />
|
145 |
<antcall target="deploy-local" />
|
147 |
<antcall target="deploy-local" />
|