You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2017/05/08 17:46:01 UTC

svn commit: r1794425 - /pivot/trunk/script.bat

Author: rwhitcomb
Date: Mon May  8 17:46:01 2017
New Revision: 1794425

URL: http://svn.apache.org/viewvc?rev=1794425&view=rev
Log:
Add a "script.bat" as a shortcut way of running ScriptApplication
conveniently from the command line on Windows.  The *nix script
has already been added.

Added:
    pivot/trunk/script.bat

Added: pivot/trunk/script.bat
URL: http://svn.apache.org/viewvc/pivot/trunk/script.bat?rev=1794425&view=auto
==============================================================================
--- pivot/trunk/script.bat (added)
+++ pivot/trunk/script.bat Mon May  8 17:46:01 2017
@@ -0,0 +1,6 @@
+@echo off
+if "%1" == "" (
+    echo Usage: %0 path_to_bxml_file
+    exit /b 1
+)
+java org.apache.pivot.wtk.ScriptApplication "--src=%1"