lmoretto / make-it-so

Automatically exported from code.google.com/p/make-it-so
0 stars 0 forks source link

Invalid URI detect within C++ project files #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

MakeitSo Version 1.2.0

1. run makeitso -file=RhmDxfDwgCheckCsv.sln    (Attachment)

2.
It may be, the problem is with placeholders for system variables that are 
defined in a CMD file:

set GILIB = M: \
set VSRHMENV = D: \ SANDBOX \ RHMTRUNK
...

rem RhmCore  
set RHMCOREH =% VSRHMENV% \ RhmCore
set RHMBASEH =% VSRHMENV% \ RhmGenBase
set RHMERRH =% VSRHMENV% \ RhmErrCodes
set RHMRXH =% VSRHMENV% \ RhmRegex

set PATH =% PATH%; ...; ...

rem use vstudio
"C: \ Program Files \ Common Files \ Microsoft Shared \ MSENV \ VSLauncher.exe" 
"RhmDxfDwgCheckCsv.sln"
rem or MSBUILD

C: \ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ msbuild [pathto] \ 
RhmDxfDwgCheckCsv.vcxproj / p: configuration = debug / t: rebuild
[...]

The aim then is the automatic code generation via makeitso and gcc also for 
linux...

3. What is the expected output? What do you see instead?

Parsing rhmdxfdwgcheckcsv.sln
- parsing project RhmDxfDwgCheckCsv
  - FAILED (Ungltiger URI: Das URI-Format konnte nicht bestimmt werden.)
- parsing project RhmDxfDwgCheckCsv_Test
  - FAILED (Ungltiger URI: Das URI-Format konnte nicht bestimmt werden.)
Parsing succeeded.
Creating makefile...
Creating makefile succeeded.

What version of the product are you using? On what operating system?

MakeitSo Version 1.2.0, WinXPProf

I have tried to meeting closer to the problem of using the debug Repsitory 
(VS2008 and VS2010), but the version from the repository behaves differently:

[SolutionParser.cs - VS2010]

 case ProjectType.CPP_PROJECT:
 {
  //...
   VCProject vcProject = Utils.call(() => (project.Object as VCProject));
  //Error:  vcProject is NULL!!!
 ...
 }

Please provide any additional information below.

I would like to participate to help solve the path-token-problem within the 
vcxproj. The realization of makeitso.config is too static and hardly applicable 
here.

Thank you for this exellent work and your efforts..

Bernd

Original issue reported on code.google.com by moms...@gmx.de on 22 Mar 2012 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Bernd,

I'm not actively enhancing make-it-so at the moment. As you say, I can imagine 
that it doesn't manage environment variables quite right.

If you want to contribute to it, can you mail me at 
richard_s_shepherd(at)yahoo.co.uk, and I can give you write permissions to the 
code repository?

Richard

Original comment by richard....@gmail.com on 18 Apr 2012 at 7:43