diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-10-09 15:02:49 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-10-09 16:09:19 -0400 |
commit | 983ab3e14afd74adefa5f0785e960ae20cc2709e (patch) | |
tree | 2ad6b875788529c4ff4fd7a137aeaeb5eda1716f | |
parent | 9e2f7ced0d01305896ae6fc25b10eb9b4bb39a89 (diff) | |
download | eclipse.platform.swt-983ab3e14afd74adefa5f0785e960ae20cc2709e.tar.gz eclipse.platform.swt-983ab3e14afd74adefa5f0785e960ae20cc2709e.tar.xz eclipse.platform.swt-983ab3e14afd74adefa5f0785e960ae20cc2709e.zip |
Bug 390699 - Table.showItem is broken on Linux - add build check
-rw-r--r-- | bundles/org.eclipse.swt/buildSWT.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml index 78b8aaef98..e85a10ad87 100644 --- a/bundles/org.eclipse.swt/buildSWT.xml +++ b/bundles/org.eclipse.swt/buildSWT.xml @@ -421,6 +421,24 @@ </exec> </target> + <target name="check_preprocessing"> + <property name="projectDir" value="${repo.src}/bundles/org.eclipse.swt"/> + <fileset id="badfilesid" dir="${projectDir}" includes="**/*.java" excludes="**/.build64/**/*.java"> + <or> + <contains text="int /*long*/" casesensitive="yes"/> + <contains text="float /*double*/" casesensitive="yes"/> + <contains text="int[] /*long[]*/" casesensitive="yes"/> + <contains text="float[] /*double[]*/" casesensitive="yes"/> + </or> + </fileset> + <property name="badfiles" refid="badfilesid"/> + <echo>${badfiles}</echo> + <condition property="failbadfiles"> + <length string="${badfiles}" trim="true" when="greater" length="0"/> + </condition> + <fail if="failbadfiles" message="There are files with the wrong long /*int*/ preprocessing."/> + </target> + <target name="check_compilation" depends="check_source_changed" if="source_changed"> <property name="tmpdir" value="${tmphome}/check.compile.${TAG}"/> <property name="projectDir" value="${repo.src}/bundles/org.eclipse.swt"/> @@ -433,6 +451,8 @@ <propertyfile file="${sha1_file}"> <entry key="SHA1" value="${HEAD_TAG}"/> </propertyfile> + + <antcall target="check_preprocessing"/> <!-- 64 bit --> <antcall target="build_classes"> |