racket/collects/profj/libs/java/util/installer.ss
2005-05-27 18:56:37 +00:00

18 lines
478 B
Scheme

(module installer mzscheme
(require (lib "compile.ss" "profj"))
(provide installer)
(define (installer plthome)
(let ([java.util (build-path
(collection-path "profj" "libs" "java" "util"))])
(let ([javac
(lambda (file)
(parameterize ([current-load-relative-directory
java.util])
(compile-java 'file
'file
'full
(build-path java.util file)
#f
#f)))])
(javac "Random.java")))))