xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Tagunov <atagu...@mail.cnt.ru>
Subject [PATCH] bug 19466 Teach FOP to start from any dir on NT/2000/XP like Ant
Date Wed, 30 Apr 2003 11:32:24 GMT
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


Mime
View raw message