|However, initially, Jetty still expects files, which are best arranged in a
|hierarchy and assosciated with Jetty.

Ok so let's imagine that we pack a jar hierarchy of files and pack that in
sar.

Then how do you reference these files?  You mention referencing the top of
the file hierarchy but how do you know where to find it?  The only simple
solution that I can think of is you doing a getResource() on your
classloader that would point to the top of the hierarchy and you can work
from there. I would strongly recommend not making that "anchor" file a
configuration file (something widespread in jboss) since the configurations
can be located to URL.

So the first part is mine, if you ship a filesystem.jar under META-INF I
will know to unpack it from the $jboss-home/SAR/files directory  your
classloader will point to there and if you do a "getResource" it will
correctly find it under that directory.

The last point is where to get the name for the sar directory (I don't know
that you are going to deploy "jetty").  This probably means that we will
need to introduce a sar.xml that is a collection of the jcml information and
some self descripting stuff such as the name of the "sar" (in our case
"jetty"). hmmmm

Maybe I should read that service proposal thing.  Can anyone provide a
pointer.

marcf


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to