avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: SarURLConnection...
Date Fri, 12 Oct 2001 23:59:59 GMT
On Sat, 13 Oct 2001 03:28, Toma, Mircea wrote:
> Hi,
>
> I created the classes that allow us to read nested jars located within .sar
> files. I can check them in 'org.apache.avalon.phoenix.tools.protocols.sar'
> package but I'm not sure if that's the right place?

Not sure. Chuck it in there and we can move it around later if need be ;)

> I created the URLStreamHandlerFactory but I think it's better to just set
> the new protocol package in 'java.protocol.handler.pkgs' system property!
> The reason is if the URL.setURLStreamHandlerFactory(..) it's already called
> it will throw an exception when called again.

Okay - we can do that for now and see how it works.

> If there are no major complaints I will go ahead and modify Installer to
> use the new protocol!

Check it in but I would change the separator to be something other than '-' 
as that is a fairly common occurence in file names.

-- 
Cheers,

Pete

---------------------------------------------------
"Marriage, Friends, Religon -- these are the demons 
you must slay in order to suceed in business.." 
                 -- Mr. Burns, The Simpsons 
---------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message