forked from CloudStack-extras/CloudStack-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaf.bat
More file actions
executable file
·28 lines (23 loc) · 722 Bytes
/
waf.bat
File metadata and controls
executable file
·28 lines (23 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
if exist jython.jar goto runjython
if exist C:\Python26\Python.exe goto runpython
goto helprun
:helprun
echo To run waf with Python
echo 1. Download Python 2.6 for Windows from http://www.python.org/
echo 2. Install it in C:\Python2.6 (the default path)
echo 3. Use this batch file to run waf
echo ""
echo To run waf without installing Python
echo 1. Download the Jython installer from http://wiki.python.org/jython/
echo 2. Install it to this directory in standalone mode
echo 3. Ensure the java command is on your PATH variable
echo 3. Use this batch file to run waf
goto end
:runjython
java -jar jython.jar waf %*
goto end
:runpython
C:\Python26\Python.exe waf %*
goto end
:end