AR 55948...
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On
Behalf Of Martin McClure
Sent: Thursday, November 06, 2008 5:40 PM
To: VWNC
Subject: [vwnc] [Bug] [vw7.6] Parcel path of './*/*' fails due to
filename mangling in #filenamesMatching
Brief description:
Parcel path of './*/*' fails due to filename mangling in
#filenamesMatching
Version: 7.6
Severity: Medium (rather annoying, but there's probably a workaround)
Description:
We have a Store bundle with a third-party library (shipped as parcels)
as a prerequisite. I attempted to fulfill the prerequisite by putting
the entire structure of the third-party library in my working directory,
and adding './*/*' to the parcel path.
This should be correct, because the .pcl files are in a directory that
is in a directory that is in my current directory. However, it fails to
find the prerequisite parcel.
The reason it fails seems to be that LogicalFilename>>filenamesMatching
is finding the files, but not constructing their names correctly, so it
answers a bunch of nonexistent filenames. For instance, one of the
things returned was:
a PortableFilename('.ilverMark/parcels/TestMentor.pcl')
Which presumably should have been:
a PortableFilename('./SilverMark/parcels/TestMentor.pcl')
It's replacing the first character of the first component with a '.',
when it should be adding a new component of '.'.
The code is clearly telling it to do this, but it's not clear to me why
it was written this way, so I don't have a suggested fix.
Thanks,
-Martin
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc