diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-05-14 08:48:38 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-05-14 08:48:38 +0000 |
commit | a6f3192017e1433cc820031739c2af24275024aa (patch) | |
tree | 7d419e7a24dd81abe87840c7b978615d5aa7f682 /fop.bat | |
parent | c910166e0027df346ec0a61a64dec05e6e05d72f (diff) | |
download | xmlgraphics-fop-a6f3192017e1433cc820031739c2af24275024aa.tar.gz xmlgraphics-fop-a6f3192017e1433cc820031739c2af24275024aa.zip |
Teach FOP under NT/2000/XP to start when the user is in any directory, maybe not FOP's home, like ANT does it
Submitted by: Anton Tagunov <tagunov@motor.ru>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196420 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop.bat')
-rw-r--r-- | fop.bat | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ @ECHO OFF -set LIBDIR=lib -set LOCALCLASSPATH=build/fop.jar +rem %~dp0 is the expanded pathname of the current script under NT +set LOCAL_FOP_HOME= +if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 + +set LIBDIR=%LOCAL_FOP_HOME%lib +set LOCALCLASSPATH=%LOCAL_FOP_HOME%build/fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar |