public class MograsimBuilder extends IncrementalProjectBuilder
{
+ private MachineContext machineContext;
class SampleDeltaVisitor implements IResourceDeltaVisitor
{
}
}
- public static final String BUILDER_ID = "PluginTest.mograsimBuilder";
+ public static final String BUILDER_ID = "net.mograsim.plugin.core.mograsimBuilder";
- private static final String MARKER_TYPE = "PluginTest.xmlProblem";
+ private static final String MARKER_TYPE = "net.mograsim.plugin.core.asmProblem";
private SAXParserFactory parserFactory;
}
}
+ @Override
+ protected void startupOnInitialize()
+ {
+ super.startupOnInitialize();
+ machineContext = ProjectMachineContext.getMachineContextOf(getProject());
+ }
+
@Override
protected IProject[] build(int kind, Map<String, String> args, IProgressMonitor monitor) throws CoreException
{
void checkXML(IResource resource)
{
- if (resource instanceof IFile && resource.getName().endsWith(".xml"))
+ if (resource instanceof IFile && resource.getName().endsWith(".asm"))
{
IFile file = (IFile) resource;
deleteMarkers(file);