You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by kk...@apache.org on 2008/07/04 15:05:43 UTC
svn commit: r674038 - in /servicemix/sandbox/gshell-web/gshell-gwt: ./
WebConsole-compile.bat WebConsole-shell.bat
Author: kkoehler
Date: Fri Jul 4 06:05:42 2008
New Revision: 674038
URL: http://svn.apache.org/viewvc?rev=674038&view=rev
Log:
* initial import of windows batch files to compile and start the webconsole.
* added www, tomcat and target directories to ignore list
Added:
servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-compile.bat
servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-shell.bat
Modified:
servicemix/sandbox/gshell-web/gshell-gwt/ (props changed)
Propchange: servicemix/sandbox/gshell-web/gshell-gwt/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jul 4 06:05:42 2008
@@ -0,0 +1,3 @@
+target
+tomcat
+www
Added: servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-compile.bat
URL: http://svn.apache.org/viewvc/servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-compile.bat?rev=674038&view=auto
==============================================================================
--- servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-compile.bat (added)
+++ servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-compile.bat Fri Jul 4 06:05:42 2008
@@ -0,0 +1,22 @@
+@echo off
+
+set CURRENT_DIR=%~dp0
+set PLATFORM=windows
+set GWT_HOME_DIR=D:\opensource-projects\gwt-windows-1.5.0
+
+if not exist "%GWT_HOME_DIR%" goto gwt_home
+
+@echo on
+java -Xmx256M -cp "%CURRENT_DIR%\src;%CURRENT_DIR%\bin;%CURRENT_DIR%\target\classes;%GWT_HOME_DIR%\gwt-user.jar;%GWT_HOME_DIR%\gwt-dev-%PLATFORM%.jar" com.google.gwt.dev.GWTCompiler -out "%CURRENT_DIR%\www" "$@" org.apache.servicemix.gshellweb.WebConsole
+
+@echo off
+goto end
+
+:gwt_home
+echo ==================================
+echo GWT_HOME_DIR not set correctly!
+echo please set within this batch file
+echo ==================================
+
+:end
+
Added: servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-shell.bat
URL: http://svn.apache.org/viewvc/servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-shell.bat?rev=674038&view=auto
==============================================================================
--- servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-shell.bat (added)
+++ servicemix/sandbox/gshell-web/gshell-gwt/WebConsole-shell.bat Fri Jul 4 06:05:42 2008
@@ -0,0 +1,21 @@
+@echo off
+
+set CURRENT_DIR=%~dp0
+set PLATFORM=windows
+set GWT_HOME_DIR=D:\opensource-projects\gwt-windows-1.5.0
+
+if not exist "%GWT_HOME_DIR%" goto gwt_home
+
+@echo on
+java -Xmx256M -cp "%CURRENT_DIR%\src;%CURRENT_DIR%\bin;%CURRENT_DIR%\target\classes;%GWT_HOME_DIR%\gwt-user.jar;%GWT_HOME_DIR%\gwt-dev-%PLATFORM%.jar" com.google.gwt.dev.GWTShell -out "%CURRENT_DIR%\www" "$@" org.apache.servicemix.gshellweb.WebConsole\WebConsole.html
+
+@echo off
+goto end
+
+:gwt_home
+echo ==================================
+echo GWT_HOME_DIR not set correctly!
+echo please set within this batch file
+echo ==================================
+
+:end
\ No newline at end of file