Converted all ant files to unix line endings.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@113 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/distro-source/build.xml b/distro-source/build.xml
index bfc6d13..62604a5 100755
--- a/distro-source/build.xml
+++ b/distro-source/build.xml
@@ -1,10 +1,10 @@
-<project name="dist" default="build" basedir=".">
- <property name="gwt.root" location=".." />
- <property name="project.tail" value="distro-source" />
- <import file="${gwt.root}/platforms.ant.xml" />
-
- <target name="clean" description="Cleans this project's intermediate and output files">
- <delete dir="${gwt.build.dist}" failonerror="false" />
- <delete dir="${gwt.build.staging}" failonerror="false" />
- </target>
-</project>
+<project name="dist" default="build" basedir=".">
+ <property name="gwt.root" location=".." />
+ <property name="project.tail" value="distro-source" />
+ <import file="${gwt.root}/platforms.ant.xml" />
+
+ <target name="clean" description="Cleans this project's intermediate and output files">
+ <delete dir="${gwt.build.dist}" failonerror="false" />
+ <delete dir="${gwt.build.staging}" failonerror="false" />
+ </target>
+</project>
diff --git a/distro-source/common.ant.xml b/distro-source/common.ant.xml
index 4c0c54a..5f344c9 100755
--- a/distro-source/common.ant.xml
+++ b/distro-source/common.ant.xml
@@ -1,88 +1,88 @@
-<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}" />
-
- <!-- copies a single sample into the staging directory -->
- <macrodef name="stage.sample">
- <attribute name="lname" />
- <attribute name="uname" />
- <sequential>
- <mkdir dir="${project.staging}/samples/@{uname}" />
- <copy todir="${project.staging}/samples/@{uname}">
- <fileset dir="${gwt.root}/samples/@{lname}">
- <include name="src/**" />
- </fileset>
- <fileset dir="${gwt.build.out}/samples/@{lname}">
- <include name="bin/**" />
- <include name="www/**" />
- </fileset>
- <fileset dir="${gwt.build.out}/samples/@{lname}/scripts/${dist.platform}">
- <include name="*" />
- </fileset>
- </copy>
- <chmod perm="a+x">
- <fileset dir="${project.staging}/samples/@{uname}">
- <include name="@{uname}-compile*" />
- <include name="@{uname}-shell*" />
- </fileset>
- </chmod>
- </sequential>
- </macrodef>
-
- <target name="stage" description="Copies items into the staging area">
- <mkdir dir="${project.staging}" />
-
- <copy todir="${project.staging}">
- <fileset file="${gwt.build.lib}/gwt-dev-${dist.platform}.jar" />
- <fileset file="${gwt.build.lib}/gwt-user.jar" />
- <fileset file="${gwt.build.lib}/gwt-servlet.jar" />
- <fileset dir="${gwt.build.jni}/${dist.platform}" />
- <fileset dir="src" />
- </copy>
-
- <mkdir dir="${project.staging}/doc" />
- <copy todir="${project.staging}/doc">
- <fileset dir="${gwt.build.out}/doc">
- <include name="html/**" />
- <include name="css/**" />
- <include name="javadoc/**" />
- </fileset>
- </copy>
-
- <copy todir="${project.staging}">
- <fileset dir="../core/src" />
- <filterset>
- <filter token="GWT_VERSION" value="${gwt.version}" />
- </filterset>
- </copy>
-
- <stage.sample lname="dynatable" uname="DynaTable" />
- <stage.sample lname="hello" uname="Hello" />
- <stage.sample lname="i18n" uname="I18N" />
- <stage.sample lname="json" uname="JSON" />
- <stage.sample lname="kitchensink" uname="KitchenSink" />
- <stage.sample lname="mail" uname="Mail" />
- <stage.sample lname="simplexml" uname="SimpleXML" />
-
- <antcall target="stage.platform" />
- <chmod perm="a+r">
- <dirset dir="${project.staging}" />
- <fileset dir="${project.staging}" />
- </chmod>
- <chmod perm="a+x">
- <dirset dir="${project.staging}" />
- <fileset dir="${project.staging}">
- <include name="*Creator*" />
- </fileset>
- </chmod>
- </target>
-
- <target name="clean" description="Cleans this project's intermediate and output files">
- <delete dir="${project.staging}" failonerror="false" />
- <delete file="${project.dist}" failonerror="false" />
- </target>
-</project>
+<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}" />
+
+ <!-- copies a single sample into the staging directory -->
+ <macrodef name="stage.sample">
+ <attribute name="lname" />
+ <attribute name="uname" />
+ <sequential>
+ <mkdir dir="${project.staging}/samples/@{uname}" />
+ <copy todir="${project.staging}/samples/@{uname}">
+ <fileset dir="${gwt.root}/samples/@{lname}">
+ <include name="src/**" />
+ </fileset>
+ <fileset dir="${gwt.build.out}/samples/@{lname}">
+ <include name="bin/**" />
+ <include name="www/**" />
+ </fileset>
+ <fileset dir="${gwt.build.out}/samples/@{lname}/scripts/${dist.platform}">
+ <include name="*" />
+ </fileset>
+ </copy>
+ <chmod perm="a+x">
+ <fileset dir="${project.staging}/samples/@{uname}">
+ <include name="@{uname}-compile*" />
+ <include name="@{uname}-shell*" />
+ </fileset>
+ </chmod>
+ </sequential>
+ </macrodef>
+
+ <target name="stage" description="Copies items into the staging area">
+ <mkdir dir="${project.staging}" />
+
+ <copy todir="${project.staging}">
+ <fileset file="${gwt.build.lib}/gwt-dev-${dist.platform}.jar" />
+ <fileset file="${gwt.build.lib}/gwt-user.jar" />
+ <fileset file="${gwt.build.lib}/gwt-servlet.jar" />
+ <fileset dir="${gwt.build.jni}/${dist.platform}" />
+ <fileset dir="src" />
+ </copy>
+
+ <mkdir dir="${project.staging}/doc" />
+ <copy todir="${project.staging}/doc">
+ <fileset dir="${gwt.build.out}/doc">
+ <include name="html/**" />
+ <include name="css/**" />
+ <include name="javadoc/**" />
+ </fileset>
+ </copy>
+
+ <copy todir="${project.staging}">
+ <fileset dir="../core/src" />
+ <filterset>
+ <filter token="GWT_VERSION" value="${gwt.version}" />
+ </filterset>
+ </copy>
+
+ <stage.sample lname="dynatable" uname="DynaTable" />
+ <stage.sample lname="hello" uname="Hello" />
+ <stage.sample lname="i18n" uname="I18N" />
+ <stage.sample lname="json" uname="JSON" />
+ <stage.sample lname="kitchensink" uname="KitchenSink" />
+ <stage.sample lname="mail" uname="Mail" />
+ <stage.sample lname="simplexml" uname="SimpleXML" />
+
+ <antcall target="stage.platform" />
+ <chmod perm="a+r">
+ <dirset dir="${project.staging}" />
+ <fileset dir="${project.staging}" />
+ </chmod>
+ <chmod perm="a+x">
+ <dirset dir="${project.staging}" />
+ <fileset dir="${project.staging}">
+ <include name="*Creator*" />
+ </fileset>
+ </chmod>
+ </target>
+
+ <target name="clean" description="Cleans this project's intermediate and output files">
+ <delete dir="${project.staging}" failonerror="false" />
+ <delete file="${project.dist}" failonerror="false" />
+ </target>
+</project>
diff --git a/distro-source/linux/build.xml b/distro-source/linux/build.xml
index 62523d7..cefc2cb 100755
--- a/distro-source/linux/build.xml
+++ b/distro-source/linux/build.xml
@@ -1,26 +1,26 @@
-<project name="dist-linux" default="build" basedir=".">
- <property name="dist.platform" value="linux" />
- <import file="../common.ant.xml" />
- <property name="project.dist" location="${gwt.build.dist}/${project.distname}.tar.gz" />
-
- <target name="stage.platform" description="Copies platform-specific items into the staging area">
- <gwt.untar src="${gwt.tools.redist}/mozilla/mozilla-1.7.12.tar.gz" dest="${project.staging}" />
- <copy todir="${project.staging}">
- <fileset dir="${gwt.tools.lib}/eclipse">
- <include name="libswt-*gtk-3235.so" />
- </fileset>
- </copy>
- </target>
-
- <target name="build" depends="stage" description="Packages the distro staging area">
- <mkdir dir="${gwt.build.dist}" />
- <!-- GNU tar handles permissions and symlinks correctly -->
- <exec executable="tar" failonerror="true">
- <arg value="-cpzf" />
- <arg value="${project.dist}" />
- <arg value="-C" />
- <arg file="${gwt.build.staging}" />
- <arg value="${project.distname}" />
- </exec>
- </target>
-</project>
+<project name="dist-linux" default="build" basedir=".">
+ <property name="dist.platform" value="linux" />
+ <import file="../common.ant.xml" />
+ <property name="project.dist" location="${gwt.build.dist}/${project.distname}.tar.gz" />
+
+ <target name="stage.platform" description="Copies platform-specific items into the staging area">
+ <gwt.untar src="${gwt.tools.redist}/mozilla/mozilla-1.7.12.tar.gz" dest="${project.staging}" />
+ <copy todir="${project.staging}">
+ <fileset dir="${gwt.tools.lib}/eclipse">
+ <include name="libswt-*gtk-3235.so" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="build" depends="stage" description="Packages the distro staging area">
+ <mkdir dir="${gwt.build.dist}" />
+ <!-- GNU tar handles permissions and symlinks correctly -->
+ <exec executable="tar" failonerror="true">
+ <arg value="-cpzf" />
+ <arg value="${project.dist}" />
+ <arg value="-C" />
+ <arg file="${gwt.build.staging}" />
+ <arg value="${project.distname}" />
+ </exec>
+ </target>
+</project>
diff --git a/distro-source/mac/build.xml b/distro-source/mac/build.xml
index 07e8b96..4c9d901 100755
--- a/distro-source/mac/build.xml
+++ b/distro-source/mac/build.xml
@@ -1,28 +1,28 @@
-<project name="dist-mac" default="build" basedir=".">
- <property name="dist.platform" value="mac" />
- <import file="../common.ant.xml" />
- <property name="project.dist" location="${gwt.build.dist}/${project.distname}.tar.gz" />
-
- <target name="stage.platform" description="Copies platform-specific items into the staging area">
- <gwt.untar src="${gwt.tools.redist}/webkit/WebKit-418.9.tar.gz" dest="${project.staging}" />
- <copy todir="${project.staging}">
- <fileset dir="${gwt.tools.lib}/eclipse">
- <include name="libswt-*carbon-3235.jnilib" />
- <!-- User our modified version instead of this stock version -->
- <exclude name="libswt-webkit-carbon-3235.jnilib" />
- </fileset>
- </copy>
- </target>
-
- <target name="build" depends="stage" description="Packages the distro staging area">
- <mkdir dir="${gwt.build.dist}" />
- <!-- GNU tar handles permissions and symlinks correctly -->
- <exec executable="tar" failonerror="true">
- <arg value="-cpzf" />
- <arg value="${project.dist}" />
- <arg value="-C" />
- <arg file="${gwt.build.staging}" />
- <arg value="${project.distname}" />
- </exec>
- </target>
-</project>
+<project name="dist-mac" default="build" basedir=".">
+ <property name="dist.platform" value="mac" />
+ <import file="../common.ant.xml" />
+ <property name="project.dist" location="${gwt.build.dist}/${project.distname}.tar.gz" />
+
+ <target name="stage.platform" description="Copies platform-specific items into the staging area">
+ <gwt.untar src="${gwt.tools.redist}/webkit/WebKit-418.9.tar.gz" dest="${project.staging}" />
+ <copy todir="${project.staging}">
+ <fileset dir="${gwt.tools.lib}/eclipse">
+ <include name="libswt-*carbon-3235.jnilib" />
+ <!-- User our modified version instead of this stock version -->
+ <exclude name="libswt-webkit-carbon-3235.jnilib" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="build" depends="stage" description="Packages the distro staging area">
+ <mkdir dir="${gwt.build.dist}" />
+ <!-- GNU tar handles permissions and symlinks correctly -->
+ <exec executable="tar" failonerror="true">
+ <arg value="-cpzf" />
+ <arg value="${project.dist}" />
+ <arg value="-C" />
+ <arg file="${gwt.build.staging}" />
+ <arg value="${project.distname}" />
+ </exec>
+ </target>
+</project>
diff --git a/distro-source/windows/build.xml b/distro-source/windows/build.xml
index 9e2843e..38361a3 100755
--- a/distro-source/windows/build.xml
+++ b/distro-source/windows/build.xml
@@ -1,22 +1,22 @@
-<project name="dist-windows" default="build" basedir=".">
- <property name="dist.platform" value="windows" />
- <import file="../common.ant.xml" />
- <property name="project.dist" location="${gwt.build.dist}/${project.distname}.zip" />
-
- <target name="stage.platform" description="Copies platform-specific items into the staging area">
- <copy todir="${project.staging}">
- <fileset dir="${gwt.tools.lib}/eclipse">
- <include name="swt-*win32-3235.dll" />
- </fileset>
- </copy>
- </target>
-
- <target name="build" depends="stage" description="Packages the distro staging area">
- <mkdir dir="${gwt.build.dist}" />
- <zip destfile="${project.dist}">
- <fileset dir="${gwt.build.staging}">
- <include name="${project.distname}/**" />
- </fileset>
- </zip>
- </target>
-</project>
+<project name="dist-windows" default="build" basedir=".">
+ <property name="dist.platform" value="windows" />
+ <import file="../common.ant.xml" />
+ <property name="project.dist" location="${gwt.build.dist}/${project.distname}.zip" />
+
+ <target name="stage.platform" description="Copies platform-specific items into the staging area">
+ <copy todir="${project.staging}">
+ <fileset dir="${gwt.tools.lib}/eclipse">
+ <include name="swt-*win32-3235.dll" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="build" depends="stage" description="Packages the distro staging area">
+ <mkdir dir="${gwt.build.dist}" />
+ <zip destfile="${project.dist}">
+ <fileset dir="${gwt.build.staging}">
+ <include name="${project.distname}/**" />
+ </fileset>
+ </zip>
+ </target>
+</project>