don�t have access to unix box so i can�t test it...
i�ll do the following if someone adds a absolutepath then i�ll check if it
has a '/' at beginning and add one if it�s missing
Roberto
----- Original Message -----
From: "Bordet, Simone" <[EMAIL PROTECTED]>
To: "'jBoss Developer'" <[EMAIL PROTECTED]>
Sent: Sunday, December 03, 2000 2:23 AM
Subject: RE: [jBoss-Dev] ClassPathExtension
Mah,
this will force all the ones that have "fixed" it with the prepended slash
to modify jboss.conf accordingly, not a big deal, anyway... maybe post on
jboss-user this change
Do you tested it also under Unix ?
Simon
> -----Original Message-----
> From: Roberto Leong [mailto:[EMAIL PROTECTED]]
> Sent: sabato 2 dicembre 2000 15:35
> To: jBoss Developer
> Subject: Re: [jBoss-Dev] ClassPathExtension
>
>
> if no one says anything against making the fix within the
> next 10 minutes
> i�ll commit a change
>
> Roberto
>
>
> ----- Original Message -----
> From: "Bordet, Simone" <[EMAIL PROTECTED]>
> To: "'jBoss Developer'" <[EMAIL PROTECTED]>
> Sent: Sunday, December 03, 2000 2:08 AM
> Subject: RE: [jBoss-Dev] ClassPathExtension
>
>
> Hey Rob,
>
> > guys
> >
> > i don�t know if i�m missing something but i�ve found this behavior:
> >
> > if try to add a ClassPathExtension pointing to a absolute path like
> > c:/java/jakarta-tomcat-3.2/lib/ the class will try to add
> all files at
>
> I noticed that if you prepend a / like this:
> /c:/java/jakarta-tomcat-3.2/lib/
> everything works fine.
> But maybe the fix you suggest is worth anyway.
>
> Simon
>
> >
> > D:\projects\jboss\dist\lib\ext\jboss.jar\C:\java\jakarta-tomca
> > t-3.2\lib
> >
> > a simple fix would be to replace
> >
> > dir = new
> > File(getClass().getProtectionDomain().getCodeSource().getLocat
> > ion().getFile(
> > ), url);
> >
> > with
> >
> > dir = new File(url);
> >
> > at more or less line 85
> >
> > I�m not doing it myself since i don�t know if i�m doing
> > something wrong or
> > the kind of implications this would have, anyone wants to
> > take a shot at it?
> >
> > regards
> > Roberto
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>