8,23 → 8,6 |
<pathelement location="src" /> |
</path> |
|
<target name="quick"> |
<java classname="com.google.gwt.dev.Compiler" fork="true"> |
<arg line="-style DETAILED -draftCompile ${projectTestName}" /> |
<classpath refid="gwt"/> |
</java> |
</target> |
|
<target name="compile"> |
<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> --> |
<java classname="com.google.gwt.dev.Compiler" fork="true"> |
<arg line="-localWorkers 4 -style DETAILED ${projectName}"/> |
<!-- <arg line="-out build/gwtOutput"/> --> |
<classpath refid="gwt"/> |
</java> |
</target> |
|
|
<target name="init-local-properties"> |
<property file="local.properties" /> |
<property name="gwt-path" value="${gwt-path}" /> |
40,7 → 23,7 |
<property name="webservices-root-url" value="${webservices-root-url}" /> |
</target> |
|
<target name="gwt-compile" depends="init-local-properties"> |
<target name="compile" depends="init-local-properties"> |
<java classname="com.google.gwt.dev.Compiler" fork="true"> |
<arg line="-logLevel INFO" /> |
<arg line="-style OBF" /> |
61,6 → 44,28 |
</java> |
</target> |
|
<target name="compile-quick" depends="init-local-properties"> |
<java classname="com.google.gwt.dev.Compiler" fork="true"> |
<arg line="-style DETAILED -draftCompile ${projectTestName}" /> |
<arg line="-logLevel INFO" /> |
<arg line="-style OBF" /> |
<arg value="org.tela_botanica.del.Del" /> |
<classpath> |
<path> |
<pathelement location="${gwt-path}/gwt-user.jar" /> |
<pathelement location="${gwt-path}/gwt-dev.jar" /> |
<pathelement location="${gwt-path}/validation-api-1.0.0.GA-sources.jar" /> |
<pathelement location="${gwt-path}/validation-api-1.0.0.GA.jar" /> |
<pathelement location="src" /> |
<pathelement location="war/WEB-INF/classes" /> |
<fileset dir="lib"> |
<include name="**/*.jar" /> |
</fileset> |
</path> |
</classpath> |
</java> |
</target> |
|
<target name="generate-vocabulary" depends="init-local-properties"> |
<java classname="com.google.gwt.i18n.tools.I18NSync" fork="true"> |
<arg value="org.tela_botanica.del.client.i18n.Vocabulary" /> |
84,7 → 89,6 |
</target> |
|
<target name="remove-server-files" depends="init-server-properties"> |
|
<!-- Avant de redeployer supprime sur le serveur tous les fichiers et repertoires sauf ceux configures pour apache--> |
<ftp action="del" server="${server-url}" remotedir="${server-dir}/" userid="${server-login}" password="${server-password}"> |
<fileset> |
138,8 → 142,6 |
</ftp> |
</target> |
|
|
|
<target name="build-and-deploy-local"> |
<antcall target="gwt-compile" /> |
<antcall target="deploy-local" /> |