@echo off
:: j2h.bat - runs Java2HTML syntax highlighter
::
set _cp=%~dp0
REM Change this Script, to suit your needs
REM The next few line combine the command line args into one
set _j2h_parameter=
:GetParameter
if "%1" == "" goto end
set _j2h_parameter=%_j2h_parameter% %1
shift
goto GetParameter
:end
REM runs Java2HTML
set MBACKUP=%CLASSPATH%
set CLASSPATH=%_cp%java\j2h.jar;%CLASSPATH%;n:\kurssit\ohj2\ali\Ali.jar;n:\kurssit\ohj1\graphics\Graphics.jar;n:\kurssit\ohj2\gui\gui.jar
::;C:\devel\ee36\eclipse\plugins\org.junit_4.8.1.v4_8_1_v20100427-1100\junit.jar
echo NYT MENEE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
java j2h -jd "C:\Program Files\Java\jdk1.7.0_03\docs\api" http://java.sun.com/javase/7/docs/api/ -jd "n:\kurssit\ohj2\ali\doc" http://www.mit.jyu.fi/vesal/kurssit/ohj2/ali/doc -jd "n:\kurssit\ohj1\graphicsdoc" http://www.mit.jyu.fi/vesal/kurssit/ohj1/graphicsdoc -m 4 %_j2h_parameter%
set CLASSPATH=%MBACKUP%
set _cp=
set _j2h_parameter=