racket/collects/htdch/idraw/installer.ss
Matthias Felleisen 75b33996b1 AColor went to IColor
svn: r7541
2007-10-20 17:47:27 +00:00

16 lines
585 B
Scheme

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