adding new resources

Aaron Shtromas writes:
 > hi-
 > 
 > i've been slowly plugging through the tutorials and, unfortunately, i got 
 > stuck on adding the FancyResource. i compiled the FancyResource.java and 
 > i put it in the same directory where jigsaw.zip lives, namely, 
 > INST/Jigsaw/classes. i also added that directory to CLASSPATH so that
 > the CLASSPATH=INST/Jigsaw/classes/jigsaw.zip:INST/Jigsaw/classes, and 
 > restrted the server. the idea is to help jigsaw to find 
 > FancyResource.class, right?

Yep, but rather then to what you say, your CLASSPATH should be set to:

INST/Jigsaw/src/classes:INST/Jigsaw/classes/jigsaw.zip

 > then further on in the tutorial under "Installing the resource" i read:
 > 
 > "You are not supposed to have compiled the fancy resource class. What we 
 > want to do here, is actually using it in our exported space..."
 > 
 > hmm... so where do i place this FancyResource.java for the magic to 
 > happen? 

This is probably some talk-ish stuff, there is no mean to provide
Jigsaw a source file and to have it compile on the fly (at least not
at this point...)

Anselm.

Received on Thursday, 18 July 1996 15:05:52 UTC