W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

adding new resources

From: Aaron Shtromas <ams@mci.net>
Date: Thu, 18 Jul 1996 15:00:25 -0400 (EDT)
To: www-jigsaw@w3.org
Message-ID: <Pine.SUN.3.91.960718142345.4393b-100000@coppi>
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?

now, when i'm trying to add the new resource (name = fancy, class = 
w3c.jigsaw.tutorial.FancyResource) jigsaw tells me:

    "Fill in the name of the extension, and the class that files having 
    this extension should be exported with."

alas, i don't understand why i get this, after all 'class' is an existing 
extension... and where am i to fill it in?

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? 

i apologise for being so dense and thank in advance whoever is willing to 
take time to help me.

-a


----------------------------------------------------------------------
Aaron Shtromas (ams@mci.net)                  MCI Internet Engineering
                                              2100 Reston Parkway
"chip-chip-chip... ja, Pantani is weg!"       Reston, VA 22091 
    (Belgian TV at L'Alpe d'Huez 1995 TdF)    (703) 715-7334
Received on Thursday, 18 July 1996 15:00:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT