From d70c7f61fd13c78defc7ae5dbd5908fc035c291e Mon Sep 17 00:00:00 2001 From: Jani Laakso Date: Thu, 18 Oct 2007 17:33:18 +0000 Subject: [PATCH] multi-platform build.xml quite complete. feature browser changing. svn changeset:2560/svn branch:trunk --- .../layouts/featurebrowser-mainlayout.html | 0 .../layouts/img/header.png | Bin .../layouts/img/hide_properties.png | Bin .../layouts/img/m_bg.png | Bin .../layouts/img/show_properties.png | Bin .../layouts/img/tab_handle.png | Bin .../{demo => tests-featurebrowser}/styles.css | 0 build/build.xml | 205 ++++++++++-------- build/package/{project => .project} | 0 build/package/classpath-mac | 15 -- build/package/classpath-windows | 15 -- build/package/start-demo.bat | 2 +- .../tests/featurebrowser/FeatureBrowser.java | 4 +- start-demo.bat | 1 - start-demo.sh | 3 - start-demo.txt | 15 -- 16 files changed, 120 insertions(+), 140 deletions(-) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/featurebrowser-mainlayout.html (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/img/header.png (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/img/hide_properties.png (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/img/m_bg.png (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/img/show_properties.png (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/layouts/img/tab_handle.png (100%) rename WebContent/ITMILL/themes/{demo => tests-featurebrowser}/styles.css (100%) rename build/package/{project => .project} (100%) delete mode 100644 build/package/classpath-mac delete mode 100644 build/package/classpath-windows delete mode 100644 start-demo.bat delete mode 100644 start-demo.sh delete mode 100644 start-demo.txt diff --git a/WebContent/ITMILL/themes/demo/layouts/featurebrowser-mainlayout.html b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/featurebrowser-mainlayout.html similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/featurebrowser-mainlayout.html rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/featurebrowser-mainlayout.html diff --git a/WebContent/ITMILL/themes/demo/layouts/img/header.png b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/header.png similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/img/header.png rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/header.png diff --git a/WebContent/ITMILL/themes/demo/layouts/img/hide_properties.png b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/hide_properties.png similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/img/hide_properties.png rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/hide_properties.png diff --git a/WebContent/ITMILL/themes/demo/layouts/img/m_bg.png b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/m_bg.png similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/img/m_bg.png rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/m_bg.png diff --git a/WebContent/ITMILL/themes/demo/layouts/img/show_properties.png b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/show_properties.png similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/img/show_properties.png rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/show_properties.png diff --git a/WebContent/ITMILL/themes/demo/layouts/img/tab_handle.png b/WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/tab_handle.png similarity index 100% rename from WebContent/ITMILL/themes/demo/layouts/img/tab_handle.png rename to WebContent/ITMILL/themes/tests-featurebrowser/layouts/img/tab_handle.png diff --git a/WebContent/ITMILL/themes/demo/styles.css b/WebContent/ITMILL/themes/tests-featurebrowser/styles.css similarity index 100% rename from WebContent/ITMILL/themes/demo/styles.css rename to WebContent/ITMILL/themes/tests-featurebrowser/styles.css diff --git a/build/build.xml b/build/build.xml index d4902a50b9..13d0801e1d 100644 --- a/build/build.xml +++ b/build/build.xml @@ -1,6 +1,6 @@ - + - + + + + + + + + + + + + + + + @@ -36,7 +52,9 @@ + + We are on ${platform} platform, using build/gwt/${platform}/${lib-gwt-dev}. @@ -69,41 +87,43 @@ - + + + + + + + + + + - - - - - - - Building package for Windows platform. - - - - - + + Creating package for Windows platform. + + + + - + - - + + - + - - Building package for Linux platform. - - - - + + Creating package for Linux platform. + + + @@ -117,12 +137,11 @@ - - Building package for Mac platform. - - - - + + Creating package for Mac platform. + + + @@ -134,10 +153,22 @@ + - - + + + + + + + + @@ -146,44 +177,63 @@ - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + - - + + + + + + @@ -211,6 +261,7 @@ + @@ -219,7 +270,7 @@ - + Copying src directory and processing copied files. Replacing <version> tag with build version for java/html/css/xml files. @@ -264,23 +315,6 @@ WebContent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - - Adding Eclipse workspace files, replacing <version> tag with build version - - - - - - - - - - - - Adding demo sources to WebContent/src @@ -311,16 +345,7 @@ Compiling src (server-side) - - - - - - - - - - + @@ -358,7 +383,11 @@ + + + + Compiling src (client-side) com.itmill.toolkit.terminal.gwt.DefaultWidgetSet @@ -404,7 +433,7 @@ - + Building demo Adding demo class files. @@ -468,7 +497,7 @@ - + @@ -488,7 +517,7 @@ Documentation: Add Javadoc to doc - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> - + @@ -527,11 +556,11 @@ - + - + diff --git a/build/package/project b/build/package/.project similarity index 100% rename from build/package/project rename to build/package/.project diff --git a/build/package/classpath-mac b/build/package/classpath-mac deleted file mode 100644 index 62b2763dd6..0000000000 --- a/build/package/classpath-mac +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/build/package/classpath-windows b/build/package/classpath-windows deleted file mode 100644 index 42ff093572..0000000000 --- a/build/package/classpath-windows +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/build/package/start-demo.bat b/build/package/start-demo.bat index d6eb6096dd..b4f879f91b 100644 --- a/build/package/start-demo.bat +++ b/build/package/start-demo.bat @@ -1 +1 @@ -@java -cp "lib\itmill-5.0.0-alpha.jar;lib\jetty\jetty-6.1.5.jar;lib\jetty\jetty-util-6.1.5.jar;lib\jetty\servlet-api-2.5-6.1.5.jar;WebContent\WEB-INF\classes" com.itmill.toolkit.launcher.ITMillDesktopLaunch +@java -cp "lib\jetty\jetty-6.1.5.jar;lib\jetty\jetty-util-6.1.5.jar;lib\jetty\servlet-api-2.5-6.1.5.jar;WebContent\WEB-INF\classes" com.itmill.toolkit.launcher.ITMillDesktopLaunch diff --git a/src/com/itmill/toolkit/tests/featurebrowser/FeatureBrowser.java b/src/com/itmill/toolkit/tests/featurebrowser/FeatureBrowser.java index e7c1014a57..bb0632f1c2 100644 --- a/src/com/itmill/toolkit/tests/featurebrowser/FeatureBrowser.java +++ b/src/com/itmill/toolkit/tests/featurebrowser/FeatureBrowser.java @@ -73,10 +73,10 @@ public class FeatureBrowser extends CustomComponent implements // Theme selector mainlayout.addComponent(themeSelector, "themes"); - themeSelector.addItem("demo"); + themeSelector.addItem("tests-featurebrowser"); themeSelector.addListener(this); - themeSelector.select("demo"); + themeSelector.select("tests-featurebrowser"); themeSelector.setImmediate(true); // Restart button diff --git a/start-demo.bat b/start-demo.bat deleted file mode 100644 index d6eb6096dd..0000000000 --- a/start-demo.bat +++ /dev/null @@ -1 +0,0 @@ -@java -cp "lib\itmill-5.0.0-alpha.jar;lib\jetty\jetty-6.1.5.jar;lib\jetty\jetty-util-6.1.5.jar;lib\jetty\servlet-api-2.5-6.1.5.jar;WebContent\WEB-INF\classes" com.itmill.toolkit.launcher.ITMillDesktopLaunch diff --git a/start-demo.sh b/start-demo.sh deleted file mode 100644 index 3a7b612f15..0000000000 --- a/start-demo.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -java -cp lib/jetty/jetty-6.1.5.jar:lib/jetty/jetty-util-6.1.5.jar:lib/jetty/servlet-api-2.5-6.1.5.jar:WebContent/WEB-INF/classes com.itmill.toolkit.launcher.ITMillDesktopLaunch diff --git a/start-demo.txt b/start-demo.txt deleted file mode 100644 index b8433aecf2..0000000000 --- a/start-demo.txt +++ /dev/null @@ -1,15 +0,0 @@ -Starting Toolkit demos - - -1) Under Windows environment - -Doubleclick start-demo.bat - - -2) Under Linux or OSX environment - -Open shell and execute "sh start-demo.sh" - - -This starts an integrated Servlet Container which runs Toolkit demo -applications. Your default web browser should be opened automatically. -- 2.39.5