diff options
author | Henri Sara <henri.sara@itmill.com> | 2011-08-12 12:20:29 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2011-08-12 12:20:29 +0000 |
commit | 0d3a679452d7024ab7137a31dea270bdd75f8096 (patch) | |
tree | ce8d0014a4f77c345d0ba62632e03f367313cd2a /build | |
parent | ba003dc821d870b2cc7376fa83976ebe8868b681 (diff) | |
download | vaadin-framework-0d3a679452d7024ab7137a31dea270bdd75f8096.tar.gz vaadin-framework-0d3a679452d7024ab7137a31dea270bdd75f8096.zip |
#7178 removed AddressBook, demo themes and many other demo related files
svn changeset:20359/svn branch:6.7
Diffstat (limited to 'build')
-rw-r--r-- | build/build.xml | 51 | ||||
-rw-r--r-- | build/package/WebContent/WEB-INF/web.xml | 14 |
2 files changed, 0 insertions, 65 deletions
diff --git a/build/build.xml b/build/build.xml index 0b8a47d69a..99f6a8bd84 100644 --- a/build/build.xml +++ b/build/build.xml @@ -191,9 +191,6 @@ <exclude name="**/gwt-dev.jar"/> <exclude name="**/gwt-user.jar"/> </fileset> - <fileset dir="lib/demo"> - <include name="**/*.jar"/> - </fileset> <fileset dir="lib/tests"> <include name="**/*.jar"/> </fileset> @@ -316,7 +313,6 @@ </filterchain> <fileset dir="WebContent"> <exclude name="**/.svn" /> - <exclude name="windoweddemos.html" /> <include name="release-notes.html" /> <include name="*.html" /> <include name="license/*.html" /> @@ -406,12 +402,10 @@ <!-- Source directories in the project are * src (Vaadin core) - * demo/src (Demos and examples) * tests/src (Test cases) These are copied to * {$result-path}/src/core - * {$result-path}/src/demo * {$result-path}/src/tests Java/HTML/CSS/XML files are filtered so the license is added and the version is set. @@ -424,7 +418,6 @@ <mkdir dir="${result-path}/src" /> <mkdir dir="${result-path}/src/core" /> - <mkdir dir="${result-path}/src/demo" /> <mkdir dir="${result-path}/src/tests" /> <patternset id="preprocessable-files"> @@ -432,7 +425,6 @@ <include name="**/*.html" /> <include name="**/*.css" /> <include name="**/*.xml" /> - <exclude name="src/com/vaadin/demo/tools/*"/> </patternset> <patternset id="non-preprocessable-files"> <exclude name="**/.svn" /> @@ -461,13 +453,6 @@ </fileset> </copy> - <copy todir="${result-path}/src/demo"> - <filterset refid="version-and-license"/> - <fileset dir="demo/src"> - <patternset refid="preprocessable-files" /> - </fileset> - </copy> - <antcontrib:if> <isset property="build.include.tests"/> <then> @@ -491,11 +476,6 @@ <patternset refid="non-preprocessable-files" /> </fileset> </copy> - <copy todir="${result-path}/src/demo"> - <fileset dir="demo/src"> - <patternset refid="non-preprocessable-files" /> - </fileset> - </copy> <antcontrib:if> <isset property="build.include.tests"/> <then> @@ -516,11 +496,6 @@ <!-- copy 3rd part libraries used by demo --> <copy todir="${output-dir}/WebContent/demo/lib"> - <fileset dir="lib/demo"> - <include name="gwt-maps/**/*" /> - </fileset> - </copy> - <copy todir="${output-dir}/WebContent/demo/lib"> <fileset dir="lib/core"> <include name="jetty/**/*" /> </fileset> @@ -531,17 +506,6 @@ </fileset> </copy> - <!-- Add demo sources --> - <echo>Adding demo sources to WebContent/WEB-INF/src</echo> - <copy todir="${output-dir}/WebContent/WEB-INF/src"> - <fileset dir="${result-path}/src/demo"> - <include name="**/*" /> - </fileset> - </copy> - - <echo>Creating demo source html files</echo> - <java2html srcdir="${output-dir}/WebContent/WEB-INF/src/${toolkit-package}/demo" destdir="${output-dir}/WebContent/docs/example-source/${toolkit-package}/demo" includes="**/*.java" style="eclipse" showLineNumbers="false" showFileName="true" showTableBorder="false" /> - <!-- Add WebContent --> <echo>Adding VAADIN/themes, demo and hsqldb.jar files.</echo> <copy todir="${output-dir}/WebContent"> @@ -582,7 +546,6 @@ <mkdir dir="${result-path}/classes" /> <javac source="1.5" target="1.5" classpathref="compile.classpath.server-side" destdir="${result-path}/classes" debug="true" encoding="UTF-8"> <src path="${result-path}/src/core"/> - <src path="${result-path}/src/demo"/> <src path="${result-path}/src/tests"/> <exclude name="${toolkit-package}/tests/**" unless="build.include.tests"/> @@ -660,7 +623,6 @@ <pathelement location="${lib-gwt-validation-src}" /> <pathelement location="${result-path}/classes" /> <pathelement location="${result-path}/src/core" /> - <pathelement location="${result-path}/src/demo" /> </path> <target name="compile-widgetset" description="Compiles the widgetset given as the first parameter"> @@ -778,7 +740,6 @@ </manifest> <fileset dir="${result-path}/classes"> <patternset> - <exclude name="${toolkit-package}/demo/**" /> <exclude name="${toolkit-package}/tests/**"/> <exclude name="${toolkit-package}/launcher/**" /> </patternset> @@ -830,7 +791,6 @@ <echo>Adding demo class files.</echo> <copy todir="${output-dir}/WebContent/WEB-INF/classes"> <fileset dir="${result-path}/classes"> - <include name="${toolkit-package}/demo/**/*" /> <include name="${toolkit-package}/tests/integration/**/*" /> <!-- user might want to tweak launcher classes --> <include name="${toolkit-package}/launcher/**" /> @@ -843,17 +803,6 @@ <include name="${toolkit-package}/tests/integration/*.gif" /> </fileset> </copy> - - <echo>Adding source for demos</echo> - <copy todir="${output-dir}/WebContent/WEB-INF/src"> - <fileset dir="${result-path}/src/demo"> - <include name="${toolkit-package}/demo/**/*" /> - </fileset> - <fileset dir="${result-path}/src/core"> - <!-- user might want to tweak launcher classes --> - <include name="${toolkit-package}/launcher/**" /> - </fileset> - </copy> </target> <!-- ================================================================== --> diff --git a/build/package/WebContent/WEB-INF/web.xml b/build/package/WebContent/WEB-INF/web.xml index cc57e0d68f..b0a35d050b 100644 --- a/build/package/WebContent/WEB-INF/web.xml +++ b/build/package/WebContent/WEB-INF/web.xml @@ -30,25 +30,11 @@ <servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class> </servlet> - <!-- AddressBook demo application --> - <servlet> - <servlet-name>AddressBook</servlet-name> - <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class> - <init-param> - <param-name>application</param-name> - <param-value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</param-value> - </init-param> - </servlet> - <!-- Servlet Mappings below - see servlets for comments --> <servlet-mapping> <servlet-name>VaadinApplicationRunner</servlet-name> <url-pattern>/run/*</url-pattern> </servlet-mapping> - <servlet-mapping> - <servlet-name>AddressBook</servlet-name> - <url-pattern>/AddressBook/*</url-pattern> - </servlet-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> |