diff options
author | Automerge <automerge@vaadin.com> | 2012-02-02 09:29:04 +0000 |
---|---|---|
committer | Automerge <automerge@vaadin.com> | 2012-02-02 09:29:04 +0000 |
commit | 7c200d4e869139ff72e848e973cd5ce5932908d8 (patch) | |
tree | 77b0529f872cb11dd08e42bd3518ec62d33625d7 /build/package | |
parent | c8dbc2549267d3660a1cca04630391dc8d6fd014 (diff) | |
download | vaadin-framework-7c200d4e869139ff72e848e973cd5ce5932908d8.tar.gz vaadin-framework-7c200d4e869139ff72e848e973cd5ce5932908d8.zip |
[merge from 6.7] #8311 Converted CRLF -> LF in css/html/xml files
svn changeset:22853/svn branch:6.8
Diffstat (limited to 'build/package')
-rw-r--r-- | build/package/build.xml | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/build/package/build.xml b/build/package/build.xml index b7ece66174..f270b3b7c3 100644 --- a/build/package/build.xml +++ b/build/package/build.xml @@ -1,80 +1,80 @@ -<!--
-
-Creates two packages:
-
-1. WAR package that can be deployed to application server or servlet container.
-
-2. JAR package which requires JRE only, includes embedded web server.
-
--->
-<project name="vaadin-examples" basedir="." default="package">
-
- <target name="init">
- <echo message="Creating two packages:" />
- <echo message="1. WAR package that can be deployed to application server or servlet container." />
- <echo message="2. JAR package which requires JRE only, includes embedded web server." />
- <property name="server.main.class" value="com.vaadin.demo.DesktopServer" />
- <property name="webserver.jar" value="WebServer/winstone-0.9.9.jar" />
- <property file="build.properties" />
- <mkdir dir="build" />
- </target>
-
- <target name="clean">
- <delete dir="build" />
- </target>
-
- <!-- Compiles your Vaadin application -->
- <target name="compile" depends="init">
- <echo message="Compiling Vaadin application sources." />
- <path id="compile.class.path">
- <fileset dir="WebContent">
- <include name="WEB-INF/lib/*.jar" />
- </fileset>
- <fileset dir="WebServer">
- <include name="*.jar" />
- </fileset>
- </path>
-
- <javac srcdir="WebContent/src" destdir="WebContent/WEB-INF/classes" classpathref="compile.class.path">
- </javac>
- <javac srcdir="WebServer/src" destdir="WebServer/classes" classpathref="compile.class.path">
- </javac>
- </target>
-
- <!-- Creates Vaadin WAR package (requires Application Server / Servlet Container)-->
- <target name="war-package" depends="compile">
- <echo message="Creating WAR package." />
- <war warfile="build/${ant.project.name}.war" webxml="WebContent/WEB-INF/web.xml">
- <fileset dir="WebContent">
- <include name="**/*" />
- <exclude name="WEB-INF/web.xml" />
- </fileset>
- </war>
- </target>
-
- <!-- Creates Vaadin JAR package that contains embedded WebServer -->
- <target name="jar-package" depends="war-package">
- <echo message="Creating JAR package." />
- <copy tofile="build/WebServer-temp/embedded.war" file="build/${ant.project.name}.war" />
- <unjar src="${webserver.jar}" dest="build/WebServer-temp" />
- <manifest file="build/WebServer-temp/META-INF/MANIFEST.MF">
- <attribute name="Main-Class" value="${server.main.class}" />
- </manifest>
- <copy todir="build/WebServer-temp">
- <fileset dir="WebServer/classes">
- <include name="**/*" />
- </fileset>
- </copy>
- </target>
-
- <!-- Creates both Vaadin WAR and JAR packages -->
- <target name="package" depends="jar-package">
- <jar destfile="build/${ant.project.name}.jar" basedir="build/WebServer-temp" manifest="build/WebServer-temp/META-INF/MANIFEST.MF" />
- <echo message="Created WAR-file to build/${ant.project.name}.war." />
- <echo message="Deploy this file to your application server or servlet container." />
- <echo message=" " />
- <echo message="Created JAR-file to build/${ant.project.name}.jar" />
- <echo message="Run your application using command like: java -jar build/${ant.project.name}.jar" />
- </target>
-
-</project>
+<!-- + +Creates two packages: + +1. WAR package that can be deployed to application server or servlet container. + +2. JAR package which requires JRE only, includes embedded web server. + +--> +<project name="vaadin-examples" basedir="." default="package"> + + <target name="init"> + <echo message="Creating two packages:" /> + <echo message="1. WAR package that can be deployed to application server or servlet container." /> + <echo message="2. JAR package which requires JRE only, includes embedded web server." /> + <property name="server.main.class" value="com.vaadin.demo.DesktopServer" /> + <property name="webserver.jar" value="WebServer/winstone-0.9.9.jar" /> + <property file="build.properties" /> + <mkdir dir="build" /> + </target> + + <target name="clean"> + <delete dir="build" /> + </target> + + <!-- Compiles your Vaadin application --> + <target name="compile" depends="init"> + <echo message="Compiling Vaadin application sources." /> + <path id="compile.class.path"> + <fileset dir="WebContent"> + <include name="WEB-INF/lib/*.jar" /> + </fileset> + <fileset dir="WebServer"> + <include name="*.jar" /> + </fileset> + </path> + + <javac srcdir="WebContent/src" destdir="WebContent/WEB-INF/classes" classpathref="compile.class.path"> + </javac> + <javac srcdir="WebServer/src" destdir="WebServer/classes" classpathref="compile.class.path"> + </javac> + </target> + + <!-- Creates Vaadin WAR package (requires Application Server / Servlet Container)--> + <target name="war-package" depends="compile"> + <echo message="Creating WAR package." /> + <war warfile="build/${ant.project.name}.war" webxml="WebContent/WEB-INF/web.xml"> + <fileset dir="WebContent"> + <include name="**/*" /> + <exclude name="WEB-INF/web.xml" /> + </fileset> + </war> + </target> + + <!-- Creates Vaadin JAR package that contains embedded WebServer --> + <target name="jar-package" depends="war-package"> + <echo message="Creating JAR package." /> + <copy tofile="build/WebServer-temp/embedded.war" file="build/${ant.project.name}.war" /> + <unjar src="${webserver.jar}" dest="build/WebServer-temp" /> + <manifest file="build/WebServer-temp/META-INF/MANIFEST.MF"> + <attribute name="Main-Class" value="${server.main.class}" /> + </manifest> + <copy todir="build/WebServer-temp"> + <fileset dir="WebServer/classes"> + <include name="**/*" /> + </fileset> + </copy> + </target> + + <!-- Creates both Vaadin WAR and JAR packages --> + <target name="package" depends="jar-package"> + <jar destfile="build/${ant.project.name}.jar" basedir="build/WebServer-temp" manifest="build/WebServer-temp/META-INF/MANIFEST.MF" /> + <echo message="Created WAR-file to build/${ant.project.name}.war." /> + <echo message="Deploy this file to your application server or servlet container." /> + <echo message=" " /> + <echo message="Created JAR-file to build/${ant.project.name}.jar" /> + <echo message="Run your application using command like: java -jar build/${ant.project.name}.jar" /> + </target> + +</project> |