[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-dev
Subject: [PATCH] bug 19466 Teach FOP to start from any dir on NT/2000/XP like Ant
From: Anton Tagunov <atagunov () mail ! cnt ! ru>
Date: 2003-04-30 11:32:24
[Download RAW message or body]
Hello, Developers!
Here's the patch that made my life with fop on win 2000 much happer :-)
WBR, Anton Tagunov
--- fop.bat.orig 2003-04-16 10:39:18.000000000 +0400
+++ fop.bat 2003-04-30 15:19:28.000000000 +0400
@@ -1,7 +1,11 @@
@ECHO OFF
-set LIBDIR=lib
-set LOCALCLASSPATH=build/fop.jar
+rem %~dp0 is expanded pathname of the current script under NT
+set HERE=
+if "%OS%"=="Windows_NT" set HERE=%~dp0
+
+set LIBDIR=%HERE%lib
+set LOCALCLASSPATH=%HERE%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
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic