> Can we use the prism preprocessor on windows?
I don't have a Windows machine to test it on, but it should be
straightforward to convert the usual prism.bat file to run the
preprocessor. Just change prism.PrismCL to prism.Preprocessor, as in the
script below.
Dave.
---
@echo off
rem Startup script for PRISM (Windows)
rem PRISM home directory
rem Default is .. so it can be run directly from the bin directory.
rem Change ".." to the actual PRISM directory to allow it to be run from
anywhere.
rem An example would be: set PRISM_DIR=c:\Program Files\prism-3.2
rem Note: Do not put quotes ("...") around the path.
set PRISM_DIR=..
rem Add PRISM to path
path=%PRISM_DIR%\lib;%path%
rem Set up CLASSPATH:
rem - PRISM jar file (for binary versions) (gets priority)
rem - classes directory (most PRISM classes)
rem - top-level directory (for images, dtds)
rem - lib/pepa.zip (PEPA stuff)
rem - lib/*.jar (all other jars)
set
CP=%PRISM_DIR%\lib\prism.jar;%PRISM_DIR%\classes;%PRISM_DIR%;%PRISM_DIR%\lib\pepa.zip;%PRISM_DIR%\lib\*
rem Run PRISM through Java
java -Djava.library.path="%PRISM_DIR%\lib" -classpath "%CP%"
prism.Preprocessor %*