Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 Error parsing hyyphens in group files...

open
nobody
None
5
2003-07-25
2003-07-25
Anonymous
No

I have a group file which references 4 projects, 3 of
which are in sub-folders with a hyphen (-) in the folder
name and project name. In my scenario, assume the
following file structure (simplified):

C:\Programs\BigProject\BigProject.vbg
C:\Programs\BigProject\BigProject.vbp
C:\Programs\BigProject\Part-1\Part-1.vbp
C:\Programs\BigProject\Part-2\Part-2.vbp
C:\Programs\BigProject\Part-3\Part-3.vbp

Each folder has it's own .VBP file, and the top folder has
a .VBG file containing references to all 4 projects. If I
try to run VBDox on the individual projects, it works fine.

But if I run VBDox on the .VBG file in the first folder,
which references all 4 projects, the project with no
hyphen in the folder or filename works fine, but I get 1
error for each project that does have a hyphen:

"ERROR: Unknown project
type "C:\Programs\BigProject\Part".
"ERROR: Unknown project
type "C:\Programs\BigProject\Part".
"ERROR: Unknown project
type "C:\Programs\BigProject\Part".

It looks like it's cutting off at the hyphen. I tried
removing the hyphen from the folder name, and the 3
errors were still present, but now cutting off at the
hyphen in the file name instead of the folder name.

It seems that when parsing the .VBG file, the hyphen is
throwing a wrench in the works.

Discussion