You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Donald <do...@apache.org> on 2001/08/09 08:30:08 UTC

Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant ProjectTest.java

On Thu,  9 Aug 2001 16:14, Stefan Bodewig wrote:
> On Thu, 9 Aug 2001, Peter Donald <do...@apache.org> wrote:
> > On Thu,  9 Aug 2001 02:27, Stefan Bodewig wrote:
> >> seems as if Ant has a less Unix centric approach than Excalibur
> >> here, but maybe this has been taken care of outside of this class,
> >> don't know.
> >>
> >> Same is true for UNC filenames on Unix (samba shares).
> >
> > not sure what you mean.
>
> Excalibur's normalize will strip the second / from //server/share/

yep - by design ;)

> which is a valid UNC name when using Samba under Linux, 

thats odd ... I never knew that - is it accessible via the shell or is only 
accessible via open() system call (I can't get either to work with vanilla 
RH7.0 kernel). Also does this also work on other unixes?

> same for resolveFile.

hmm .. that is a bug then ... thought I had a testcase to check against that 
.. maybe thats broken aswell.

> normalize only works on / (I guess some other part is making sure that
> File.separator has been replaced by / before normalize gets called).

yep by design ;)

> >> Anyway, there is so much common stuff here and there and probably
> >> at least once in Tomcat and ... that it seems to be asking for a
> >> commons package.
> >
> > hmm ... seems if most of the packages in excalibur are common
> > stuff. Funny that ... maybe we should move them all into commons
> > ... or should that be the other way round ? ;)
>
> Do we strive for world domination by Jakarta or by Avalon? 8-)

Damn - we are meant to be going for world domination? I thought it was 
quality. 

Besides I would hardly call commons representative of jakarta ... god - at 
least I hope not ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

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


Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant ProjectTest.java

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 9 Aug 2001, Peter Donald <do...@apache.org> wrote:

>> which is a valid UNC name when using Samba under Linux, 
> 
> thats odd ... I never knew that - is it accessible via the shell or
> is only accessible via open() system call (I can't get either to
> work with vanilla RH7.0 kernel).

At least on the shell for the mount command ...

I think smbclient will handle that as well, I don't think you can use
it as a filename in other situations, but I've never tried it.

> Also does this also work on other unixes?

Don't run Samba on my home FreeBSD system, sorry, I don't know.

>> same for resolveFile.
> 
> hmm .. that is a bug then ... thought I had a testcase to check
> against that .. maybe thats broken aswell.

This was just from glancing at the code, I may be wrong as I turned to
my own stuff rather quickly.

> Damn - we are meant to be going for world domination? I thought it
> was quality.

world domination via quality ...

Stefan