blob: e5904f5ede9849669541759fe3cf5adf0ca75710 [file] [log] [blame]
<project name="dist-common">
<property name="gwt.root" location="../.." />
<property name="project.tail" value="distro-source/${dist.platform}" />
<import file="${gwt.root}/common.ant.xml" />
<property name="project.distname" value="gwt-${dist.platform}-${gwt.version}" />
<property name="project.staging" location="${gwt.build.staging}/${project.distname}" />
<patternset id="chmod.executables">
<include name="*Creator" />
<include name="benchmarkViewer" />
</patternset>
<patternset id="chmod.not.executables">
<exclude name="*Creator" />
<exclude name="benchmarkViewer" />
</patternset>
<target name="filter" description="Filters distro files for versioning">
<!-- These files must be filtered for versioning -->
<mkdir dir="${project.build}" />
<copy todir="${project.build}">
<fileset dir="../core/src" />
<filterset>
<filter token="GWT_VERSION" value="${gwt.version}" />
</filterset>
</copy>
</target>
<target name="clean" description="Cleans this project's intermediate and output files">
<delete dir="${project.build}" failonerror="false" />
<delete dir="${project.staging}" failonerror="false" />
<delete file="${project.dist}" failonerror="false" />
</target>
</project>