racket/collects/htdch/draw/pre-installer.ss
2005-05-27 18:56:37 +00:00

15 lines
526 B
Scheme

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