2012-08-23 09:43:24 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2013-06-10 19:15:35 +02:00
|
|
|
<project name="vaadin-client-compiler" basedir="." default="publish-local" xmlns:ivy="antlib:org.apache.ivy.ant">
|
2013-05-30 16:06:30 +02:00
|
|
|
<description>
|
2013-06-10 19:15:35 +02:00
|
|
|
Compiles build helpers used when building other
|
|
|
|
modules.
|
2013-05-30 16:06:30 +02:00
|
|
|
</description>
|
|
|
|
<include file="../common.xml" as="common" />
|
|
|
|
<include file="../build.xml" as="vaadin" />
|
|
|
|
<include file="../gwt-files.xml" as="gwtfiles" />
|
2012-08-23 09:43:24 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<!-- global properties -->
|
|
|
|
<property name="module.name" value="vaadin-client-compiler" />
|
|
|
|
<property name="module.symbolic" value="com.vaadin.client-compiler" />
|
|
|
|
<property name="result.dir" value="result" />
|
|
|
|
<path id="classpath.compile.custom">
|
|
|
|
<fileset file="${gwt.dev.jar}" />
|
|
|
|
</path>
|
2012-08-23 09:43:24 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<union id="compiler.includes">
|
|
|
|
<union refid="client-compiler.gwt.includes" />
|
|
|
|
<fileset dir="${result.dir}">
|
|
|
|
<include name="com/google/gwt/dev/About.properties" />
|
|
|
|
</fileset>
|
|
|
|
</union>
|
2012-08-31 15:13:18 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<target name="jar">
|
|
|
|
<!-- Get Git revision -->
|
2013-06-10 19:15:35 +02:00
|
|
|
<exec executable="git" outputproperty="git.revision" failifexecutionfails="false" errorproperty="">
|
2013-05-30 16:06:30 +02:00
|
|
|
<arg value="describe" />
|
|
|
|
<arg value="--tags" />
|
|
|
|
<arg value="--always" />
|
|
|
|
<arg value="HEAD" />
|
|
|
|
</exec>
|
2012-09-05 09:29:34 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version}
|
|
|
|
gwt.svnrev=${git.revision}</echo>
|
2012-08-31 15:13:18 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<antcall target="common.jar">
|
|
|
|
<reference refid="compiler.includes" torefid="extra.jar.includes" />
|
|
|
|
</antcall>
|
2012-09-12 14:18:08 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
</target>
|
2012-08-23 09:43:24 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<target name="publish-local" depends="jar">
|
|
|
|
<antcall target="common.sources.jar">
|
|
|
|
<reference torefid="extra.jar.includes" refid="compiler.includes" />
|
|
|
|
</antcall>
|
|
|
|
<antcall target="common.javadoc.jar" />
|
2012-09-05 09:29:34 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<antcall target="common.publish-local" />
|
|
|
|
</target>
|
2012-08-23 09:43:24 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<target name="clean">
|
|
|
|
<antcall target="common.clean" />
|
|
|
|
</target>
|
2012-08-31 15:13:18 +02:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<target name="checkstyle">
|
|
|
|
<antcall target="common.checkstyle">
|
|
|
|
<param name="cs.src" location="src" />
|
|
|
|
</antcall>
|
|
|
|
</target>
|
2012-12-10 12:09:34 +01:00
|
|
|
|
2013-05-30 16:06:30 +02:00
|
|
|
<target name="test" depends="checkstyle">
|
|
|
|
<!--<antcall target="common.test.run" /> -->
|
|
|
|
<echo>WHAT? No tests for ${module.name}!</echo>
|
|
|
|
</target>
|
2012-08-31 12:54:26 +02:00
|
|
|
|
2013-09-04 20:03:12 +02:00
|
|
|
</project>
|