Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Scanner Info for VisualC++
Scanner Info for VisualC++ [message #146378] Wed, 01 June 2005 20:39
Eclipse UserFriend
Originally posted by: emiliano.lesende.gmail.com

Hello everyone!

I'm currently writing a plugin to use Microsoft VisualC++ toolchain and
I'm having trouble with the scanner info provider.

What I want to do is read a file (VCVars32.bat) which contains include
paths, parse it and provide them to the collector. So far I can't get it
to work.

I declared the scanner as follows:

<extension
id="MSVCManagedMakePerProjectProfile"
name="Microsoft C/C++ managed make per project SCD profile"

point=" org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfi le ">
<scannerInfoCollector

class=" org.eclipse.cdt.managedbuilder.msvc.scannerconfig.DefaultMSV CScannerInfoCollector "
scope="project"/>
<scannerInfoProvider providerId="VCVars">
<open file="${vsdir}/Common7/Tools/VCVars32.bat"

class=" org.eclipse.cdt.managedbuilder.msvc.scannerconfig.VCVarsSIFi leReader "/>
<scannerInfoConsoleParser
class=" org.eclipse.cdt.managedbuilder.msvc.scannerconfig.VCVarsFile Parser "/>
</scannerInfoProvider>
</extension>

I put breakpoints in all three classes: DefaultMSVCScannerInfoCollector,
VCVarsSIFileReader, VCVarsFileParser. But none of them gets called.

I also have a toolchain defined which has this scanner id, so it should
be used. No message on the Error Log nor the Console at the hosting Eclipse.

Any ideas?

BTW: I'm using the last integration build for CDT 3

Thanks in advance,
Emiliano
Previous Topic:Global Includes not considered
Next Topic:a problem to build project
Goto Forum:
  


Current Time: Sun Jun 01 02:23:25 EDT 2025

Powered by FUDForum. Page generated in 0.06062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top