Building sisc heaps ...

Roberto Brunelli <[email protected]> Wed, 27 Sep 2006 16:43:22 +0200
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Dear schemers,

I'm trying to build a custom heap with sisc 1.16.5.

Is using the 'script'  build-heapjar.scm  the correct way to go?
I've linked srfi-22.sh as scheme-r5rs in my path and tried to generate 
the heap with

scheme-src/build-heapjar.scm foo.shp

The size of 'foo.shp' is much smaller than that of the heap bundled with 
sisc and when I try to run sisc with it I get:

Error loading heap!
java.io.UTFDataFormatException: malformed input around byte 9
	at java.io.DataInputStream.readUTF(DataInputStream.java:612)
	at java.io.DataInputStream.readUTF(DataInputStream.java:522)
	at sisc.ser.Library.load(Unknown Source)
	at sisc.interpreter.AppContext.loadEnv(Unknown Source)
	at sisc.interpreter.AppContext.addHeap(Unknown Source)
	at sisc.REPL.main(Unknown Source)


Any help would be really appreciated, thanks!

	Roberto


-- 
	<r/>

| Roberto Brunelli, Research Scientist
| TeV Group - ITC-irst
|
|  'You cannot manipulate a marionette with only one string'
|                    from Chapterhouse Dune,  by F. Herbert
         							



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV