equal
deleted
inserted
replaced
|
1 @echo off |
|
2 : |
|
3 : $Header: /opt/data/cvs/stx/goodies/xmlsuite/xquery/distutils/src-win32/bin/xquery-workspace.bat,v 1.1 2007-02-11 22:58:21 vranyj1 Exp $ |
|
4 : |
|
5 : startup script for smalltalk |
|
6 : actually, simply calls stx, passing all arguments. |
|
7 : |
|
8 : |
|
9 : In previous versions, smalltalk used to be the executable itself. |
|
10 : This lead to problems on systems, where things like the PATH |
|
11 : or STX_LIBDIR should be set in advance. |
|
12 : Now, here is a place to do such things ... |
|
13 : |
|
14 |
|
15 if {%1}=={--help} goto usage |
|
16 |
|
17 : |
|
18 : change the line below, if |
|
19 : the support stuff is not found in the |
|
20 : directory where stx.exe resides ... |
|
21 set STX_LIBDIR=..\lib |
|
22 set STX_PACKAGEPATH=..\applications\xquery-workspace\packages;..\packages |
|
23 |
|
24 stx %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 -f xquery-workspace.rc |
|
25 goto end |
|
26 |
|
27 :usage |
|
28 echo. |
|
29 echo usage: smalltalk stx-args |
|
30 echo. |
|
31 echo STX args: |
|
32 stx --help |
|
33 |
|
34 :end |