Created
November 26, 2012 03:25
-
-
Save adorsk/4146455 to your computer and use it in GitHub Desktop.
jython launcher bat, w/ zxjdbc driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set CP= | |
for /r %%i in (javalib\*.jar) DO call :concat %%i | |
set JYTHONPATH=%CP% | |
set PYTHONPATH=%CP% | |
set CLASSPATH=%CP% | |
rem NEED TO RUN JYTHON via org.python.util.jython, otherwise zxJDBC can't find drivers on classpath. | |
java -classpath %CP%;jython.jar org.python.util.jython test.py | |
goto :eof | |
:concat | |
set CP=%CP%;%1 | |
goto :eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment