Hi all,
i've updated an older PDT Development Project which runs on Eclipse 3.5, and
after updating PDT from cvs i get an compile error in my IBuildParticipant:
@Override
public void build(IBuildContext context) throws CoreException {
try {
char[] fileName =
context.getFile().getName().toCharArray();
PHPSourceParserFactory parser = new
PHPSourceParserFactory();
ModuleDeclaration module = parser.parse(fileName,
context.getContents(), new NullProblemReporter());
module.traverse(new CakeASTVisitor(context));
} catch (Exception e) {
e.printStackTrace();
}
}
The method parse(IModuleSource, IProblemReporter) in the type
PHPSourceParserFactory is not applicable for the arguments (char[], char[],
NullProblemReporter)
Does anyone know how i can get hands on the IModuleSource to pass to the parse
method of the PHPSourceParserFactory ?
thanks!
-robert
_______________________________________________
pdt-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/pdt-dev