Deepal,

Thanks, I'll give it a try.

Yves

On Tue, 2005-10-25 at 09:21 +0600, Deepal Jayasinghe wrote:
> Hi Yvess;
> 
> The correct way is get the ServiceDescription from , MessageContxt and then 
> you can get the correct classloader for that service (which has all you lib 
> files) from serviceDescription
> ClassLoader cl = sd.getClassLoader();
> 
> next you can load the properties you want.
> 
> 
> Thanks,
>  Deepal
> ................................................................
> ~Future is Open~
> 
> ----- Original Message ----- 
> From: "Yves Langisch" <[EMAIL PROTECTED]>
> To: <axis-dev@ws.apache.org>
> Sent: Monday, October 24, 2005 7:42 PM
> Subject: [Axis2] Access a resource inside of a Axis2 archive
> 
> 
> > Hi
> >
> > I've a Axis2 archive file (.aar) which contains several libraries in
> > the /lib folder.  In my *PortSkeleton class I'm looking for a way to
> > load a properties file that is in one of this libs. I tried with
> > this.getClass().getResource("my.properties") (also with
> > "lib/my.properties") without success. How can I achieve this?
> >
> > Thanks
> > Yves
> >
> > 
> 
> 

Reply via email to