mirror of
https://gitee.com/jmix/cuba.git
synced 2024-11-30 18:27:56 +08:00
Speed up recurring compilation: build GWT only after clean
This commit is contained in:
parent
776e64712a
commit
ee5f71daa6
@ -42,13 +42,19 @@
|
||||
<fileset dir="${web.src.dir}" includes="**/*"/>
|
||||
</copy>
|
||||
|
||||
<condition property="do-build-gwt" value="true">
|
||||
<not>
|
||||
<available file="${widgets.out.dir}"/>
|
||||
</not>
|
||||
</condition>
|
||||
|
||||
<antcall target="build-gwt"/>
|
||||
|
||||
<jar basedir="${build.dir}/${module.name}" destfile="${build.dir}/${module.jar}"/>
|
||||
</target>
|
||||
|
||||
<target name="build-gwt">
|
||||
<echo>==> building gwt module...</echo>
|
||||
<target name="build-gwt" if="do-build-gwt">
|
||||
<echo>==> building GWT module</echo>
|
||||
<java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="128m">
|
||||
<arg value="-out"/>
|
||||
<arg value="${widgets.out.dir}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user