@echo off rem This version does automatic recompilation using CompilngClassLoader. rem It uses classlib rather than jar/scheme.jar. rem 0. Where java is. set JAVA=d:\tool\jdk1.2.2 set PATH=%JAVA%\bin;%PATH% rem Add the compiler. set CLASSPATH=%CLASSPATH%;%JAVA%\lib\rt.jar;%JAVA%\lib\tools.jar rem 1. Set the following to where SILK actually is. set SILK=d:/java/silk rem 1.1 Set CLASSPATH to see build.CompilingClassLoader. set CLASSPATH=%CLASSPATH%;%SILK% rem 2. Set up your CLASSPATH the way you want it: rem 3. Change directory to where you want to be when running. d: cd \java\elf rem 4. Set java parameters, including scheme.root. set D=-Dscheme.root=%SILK% set D=%D% -Dbootstrap.path=%SILK%\classlib,%SILK%\src rem 5. Compile CompilingClassLoader if necessary. %JAVA%\bin\javac -d %SILK% %SILK%\build\CompilingClassLoader.java rem 6. Invoke java starting silk through ClassLoader, rem loading the generic extension. %JAVA%\bin\java %D% build.CompilingClassLoader silk.Scheme %SILK%/src/generic/load.scm