racket/collects/htdch/draw/pre-installer.ss
2008-02-24 21:27:36 +00:00

15 lines
515 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")
))))