[plt-scheme] Tool module the wrong shape?
Hi folks,
I'm working on a tool and started by copying the sample tool in the user manual:
http://download.plt-scheme.org/doc/tools/tools-Z-H-2.html#node_chap_2
When I run "Setup PLT.exe" I get an error:
C:\Program Files\PLT>"Setup PLT.exe"
setup-plt: Setup version is 370 [3m]
setup-plt: Available variants: 3m
setup-plt: Main collection path is C:\Program Files\PLT\collects
setup-plt: Collection search path is
setup-plt: C:\Documents and Settings\grettke\Application Data\PLT Scheme\370\c
ollects
setup-plt: C:\Program Files\PLT\collects
setup-plt: Warning: get-info: info file does not contain a module of the right s
hape: "C:\Documents and Settings\grettke\Application Data\PLT Scheme\370\collect
s\drsyncnsave\info.ss"
The two files are copy and paste out of the manual, though. Here they
are, info.ss and tools.ss
info.ss
; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
(module drsyncnsave (lib "infotab.ss" "setup")
(define name "DrSyncnsave")
(define tools (list (list "tool.ss"))))
tools.ss
; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
; $LastChangedDate$
; $LastChangedRevision$
; $HeadURL$
(module drsyncnsave mzscheme
(require (lib "tool.ss" "drscheme")
(lib "mred.ss" "mred")
(lib "unitsig.ss"))
(provide tool@)
(define tool@
(unit/sig drscheme:tool-exports^
(import drscheme:tool^)
(define (phase1)
(message-box "tool example" "phase1"))
(define (phase2)
(message-box "tool example" "phase2")))))
What am I doing wrong?