Line 27... |
Line 27... |
27 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
27 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
28 |
<arg line="-localWorkers 2 -style DETAILED ${projectName}"/>
|
28 |
<arg line="-localWorkers 2 -style DETAILED ${projectName}"/>
|
29 |
<!-- <arg line="-out build/gwtOutput"/> -->
|
29 |
<!-- <arg line="-out build/gwtOutput"/> -->
|
30 |
<classpath refid="gwt"/>
|
30 |
<classpath refid="gwt"/>
|
31 |
</java>
|
31 |
</java>
|
32 |
<exec resolveexecutable="true" executable="Coel-config" />
|
32 |
<exec resolveexecutable="true" executable="m4" input="war/config/apropos.js.m4" output="war/config/apropos.js">
|
- |
|
33 |
<arg line="-D _JREST_SERVICES_PATH_=jrest/services -D _SUFFIX_='${confparams}'" />
|
- |
|
34 |
</exec>
|
33 |
</target>
|
35 |
</target>
|
Line 34... |
Line 36... |
34 |
|
36 |
|
35 |
<target name="quick" depends="link-resources">
|
37 |
<target name="quick" depends="link-resources">
|
36 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
38 |
<java classname="com.google.gwt.dev.Compiler" fork="true">
|
37 |
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
|
39 |
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
|
38 |
<classpath refid="gwt"/>
|
40 |
<classpath refid="gwt"/>
|
39 |
</java>
|
41 |
</java>
|
Line 40... |
Line 42... |
40 |
</target>
|
42 |
</target>
|
41 |
|
- |
|
42 |
<!-- génération d'un fichier pour test:
|
43 |
|
43 |
cp war/config/apropos{.test,}.js
|
44 |
<!-- génération d'un fichier pour test:
|
44 |
ant -Dapropos=war/config/apropos.test.js -Dconfigparams="Version de test" config -->
|
45 |
ant -Dsuffix="Version de test" config -->
|
45 |
<target name="config">
|
46 |
<target name="config">
|
46 |
<echo message="mise à jour de ${apropos}"/>
|
47 |
<echo message="mise à jour de ${apropos}"/>
|
47 |
<exec resolveexecutable="true" executable="Coel-config">
|
48 |
<exec resolveexecutable="true" executable="m4" input="war/config/apropos.js.m4" output="war/config/apropos.js">
|
48 |
<arg line="${apropos} ${confparams}"/>
|
49 |
<arg line="-D _JREST_SERVICES_PATH_=jrest/services -D _SUFFIX_='${confparams}'" />
|
49 |
</exec>
|
50 |
</exec>
|
50 |
<echo message="please do # rsync -avuin --no-o --no-g --exclude=WEB-INF --exclude=config war/ ${desthost}:${destdir}/"/>
|
51 |
<echo message="please do # rsync -avuin --no-o --no-g --exclude=WEB-INF --exclude=config war/ ${desthost}:${destdir}/"/>
|