hi,
I also had trouble some time ago with this one, and came to the same
suggestion you did, but the problem with that is you get weird behaviour
with absolute paths if you start jboss not from /bin directory. so
prepending '/' to absolute win paths where neccessary would be the cleanest
solution IMHO
--andrius
----- Original Message -----
From: "Bordet, Simone" <[EMAIL PROTECTED]>
To: "'jBoss Developer'" <[EMAIL PROTECTED]>
Sent: Sunday, December 03, 2000 4: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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>