Scanner Info for VisualC++ [message #146378] |
Wed, 01 June 2005 20:39 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06062 seconds