You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2003/05/14 10:47:41 UTC

cvs commit: xml-fop fop.bat

jeremias    2003/05/14 01:47:41

  Modified:    .        Tag: fop-0_20_2-maintain fop.bat
  Log:
  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 <ta...@motor.ru>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.9   +6 -2      xml-fop/fop.bat
  
  Index: fop.bat
  ===================================================================
  RCS file: /home/cvs/xml-fop/fop.bat,v
  retrieving revision 1.4.2.8
  retrieving revision 1.4.2.9
  diff -u -r1.4.2.8 -r1.4.2.9
  --- fop.bat	10 Dec 2002 22:28:02 -0000	1.4.2.8
  +++ fop.bat	14 May 2003 08:47:41 -0000	1.4.2.9
  @@ -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
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org